Home
last modified time | relevance | path

Searched refs:tc_set_state (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.4.0/subsys/usb/usb_c/
Dusbc_tc_src_states.c47 tc_set_state(dev, TC_ATTACH_WAIT_SRC_STATE); in tc_unattached_src_run()
93 tc_set_state(dev, TC_UNATTACHED_SRC_STATE); in tc_unattached_wait_src_run()
145 tc_set_state(dev, TC_UNATTACHED_SRC_STATE); in tc_attach_wait_src_run()
169 tc_set_state(dev, TC_ATTACHED_SRC_STATE); in tc_attach_wait_src_run()
268 tc_set_state(dev, TC_UNATTACHED_WAIT_SRC_STATE); in tc_attached_src_run()
279 tc_set_state(dev, TC_UNATTACHED_SRC_STATE); in tc_attached_src_run()
Dusbc_tc_common.c47 tc_set_state(dev, TC_DISABLED_STATE); in tc_run()
77 tc_set_state(dev, TC_ERROR_RECOVERY_STATE); in tc_run()
80 tc_set_state(dev, TC_DISABLED_STATE); in tc_run()
136 tc_set_state(dev, TC_ERROR_RECOVERY_STATE); in tc_init()
142 void tc_set_state(const struct device *dev, const enum tc_state_t state) in tc_set_state() function
253 tc_set_state(dev, TC_UNATTACHED_SNK_STATE); in tc_error_recovery_run()
256 tc_set_state(dev, TC_UNATTACHED_SRC_STATE); in tc_error_recovery_run()
Dusbc_tc_snk_states.c98 tc_set_state(dev, TC_ATTACH_WAIT_SNK_STATE); in tc_unattached_snk_run()
146 tc_set_state(dev, TC_UNATTACHED_SNK_STATE); in tc_attach_wait_snk_run()
157 tc_set_state(dev, TC_ATTACHED_SNK_STATE); in tc_attach_wait_snk_run()
199 tc_set_state(dev, TC_UNATTACHED_SNK_STATE); in tc_attached_snk_run()
Dusbc_tc_common_internal.h106 void tc_set_state(const struct device *dev, const enum tc_state_t state);