diff options
Diffstat (limited to 'include/mock')
-rw-r--r-- | include/mock/usb_prl_mock.h | 14 | ||||
-rw-r--r-- | include/mock/usb_tc_sm_mock.h | 2 |
2 files changed, 14 insertions, 2 deletions
diff --git a/include/mock/usb_prl_mock.h b/include/mock/usb_prl_mock.h index c20498929c..5479fbd164 100644 --- a/include/mock/usb_prl_mock.h +++ b/include/mock/usb_prl_mock.h @@ -12,4 +12,18 @@ void mock_prl_reset(void); +enum pd_ctrl_msg_type fake_prl_get_last_sent_ctrl_msg(int port); + +void fake_prl_clear_last_sent_ctrl_msg(int port); + +enum pd_data_msg_type fake_prl_get_last_sent_data_msg_type(int port); + +void fake_prl_clear_last_sent_data_msg(int port); + +void fake_prl_message_sent(int port); + +void fake_prl_message_received(int port); + +void fake_prl_report_error(int port, enum pe_error e); + #endif /* __MOCK_DP_ALT_MODE_MOCK_H */ diff --git a/include/mock/usb_tc_sm_mock.h b/include/mock/usb_tc_sm_mock.h index 78875139ba..beefa40c74 100644 --- a/include/mock/usb_tc_sm_mock.h +++ b/include/mock/usb_tc_sm_mock.h @@ -13,8 +13,6 @@ struct mock_tc_port_t { int rev; int pd_enable; - enum pd_power_role power_role; - enum pd_data_role data_role; int msg_tx_id; int msg_rx_id; enum tcpm_transmit_type sop; |