diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mock/tcpci_i2c_mock.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/mock/tcpci_i2c_mock.h b/include/mock/tcpci_i2c_mock.h index 4734a2e1e2..4864c7fc96 100644 --- a/include/mock/tcpci_i2c_mock.h +++ b/include/mock/tcpci_i2c_mock.h @@ -18,7 +18,13 @@ 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); +int verify_tcpci_tx_retry_count(enum tcpm_transmit_type tx_type, + int retry_count); + +int verify_tcpci_tx_timeout(enum tcpm_transmit_type tx_type, + enum pd_ctrl_msg_type ctrl_msg, + enum pd_data_msg_type data_msg, + int timeout); void mock_tcpci_receive(enum pd_msg_type sop, uint16_t header, uint32_t *payload); |