summaryrefslogtreecommitdiff
path: root/test/usb_tcpmv2_td_pd_ll_e3.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/usb_tcpmv2_td_pd_ll_e3.c')
-rw-r--r--test/usb_tcpmv2_td_pd_ll_e3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/usb_tcpmv2_td_pd_ll_e3.c b/test/usb_tcpmv2_td_pd_ll_e3.c
index 52ce100d1c..46fbee393f 100644
--- a/test/usb_tcpmv2_td_pd_ll_e3.c
+++ b/test/usb_tcpmv2_td_pd_ll_e3.c
@@ -42,12 +42,12 @@ static int td_pd_ll_e3(enum pd_data_role data_role)
* and do not send GoodCrc for nRetryCount + 1 times
* (nRetryCount equals 3 since PD 2.1).
*/
- partner_send_msg(TCPC_TX_SOP,
+ partner_send_msg(TCPCI_MSG_SOP,
PD_CTRL_GET_SINK_CAP,
0, 0, NULL);
retries = (partner_get_pd_rev() == PD_REV30) ? 2 : 3;
- TEST_EQ(verify_tcpci_tx_retry_count(TCPC_TX_SOP, 0, PD_DATA_SINK_CAP,
+ TEST_EQ(verify_tcpci_tx_retry_count(TCPCI_MSG_SOP, 0, PD_DATA_SINK_CAP,
retries),
EC_SUCCESS, "%d");
mock_set_alert(TCPC_REG_ALERT_TX_FAILED);
@@ -55,7 +55,7 @@ static int td_pd_ll_e3(enum pd_data_role data_role)
/*
* c) Check that the UUT issues a Soft Reset.
*/
- TEST_EQ(verify_tcpci_transmit(TCPC_TX_SOP, PD_CTRL_SOFT_RESET, 0),
+ TEST_EQ(verify_tcpci_transmit(TCPCI_MSG_SOP, PD_CTRL_SOFT_RESET, 0),
EC_SUCCESS, "%d");
mock_set_alert(TCPC_REG_ALERT_TX_SUCCESS);
task_wait_event(10 * MSEC);
@@ -63,7 +63,7 @@ static int td_pd_ll_e3(enum pd_data_role data_role)
/*
* d) Handle correctly the Soft Reset procedure.
*/
- partner_send_msg(TCPC_TX_SOP, PD_CTRL_ACCEPT, 0, 0, NULL);
+ partner_send_msg(TCPCI_MSG_SOP, PD_CTRL_ACCEPT, 0, 0, NULL);
/*
* e) Continue the bring-up procedure and check that the link is