diff options
Diffstat (limited to 'include/mock/tcpci_i2c_mock.h')
-rw-r--r-- | include/mock/tcpci_i2c_mock.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/mock/tcpci_i2c_mock.h b/include/mock/tcpci_i2c_mock.h index 06cb0ca5f4..4734a2e1e2 100644 --- a/include/mock/tcpci_i2c_mock.h +++ b/include/mock/tcpci_i2c_mock.h @@ -14,9 +14,11 @@ void mock_tcpci_set_reg(int reg, uint16_t value); uint16_t mock_tcpci_get_reg(int reg_offset); -int mock_tcpci_wait_for_transmit(enum tcpm_transmit_type tx_type, - enum pd_ctrl_msg_type ctrl_msg, - enum pd_data_msg_type data_msg); +int verify_tcpci_transmit(enum tcpm_transmit_type tx_type, + enum pd_ctrl_msg_type ctrl_msg, + enum pd_data_msg_type data_msg); + +int verify_tcpci_tx_retry_count(uint8_t retry_count); void mock_tcpci_receive(enum pd_msg_type sop, uint16_t header, uint32_t *payload); |