Home
last modified time | relevance | path

Searched refs:TC_ROLE_UFP (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.4.0/include/zephyr/drivers/usb_c/
Dusbc_tc.h391 TC_ROLE_UFP = 0, enumerator
/Zephyr-Core-3.4.0/subsys/usb/usb_c/
Dusbc_pe_common.c733 if (policy_check(dev, (pe->data_role == TC_ROLE_UFP) ? CHECK_DATA_ROLE_SWAP_TO_DFP in pe_drs_evaluate_swap_entry()
766 pe_set_data_role(dev, (pe->data_role == TC_ROLE_UFP) in pe_drs_evaluate_swap_run()
767 ? TC_ROLE_DFP : TC_ROLE_UFP); in pe_drs_evaluate_swap_run()
769 policy_notify(dev, (pe->data_role == TC_ROLE_UFP) ? DATA_ROLE_IS_UFP in pe_drs_evaluate_swap_run()
828 pe->data_role = (pe->data_role == TC_ROLE_UFP) ? TC_ROLE_DFP : TC_ROLE_UFP; in pe_drs_send_swap_run()
832 policy_notify(dev, (pe->data_role == TC_ROLE_UFP) ? DATA_ROLE_IS_UFP in pe_drs_send_swap_run()
Dusbc_pe_snk_states.c27 pe_set_data_role(dev, TC_ROLE_UFP); in pe_snk_init()
580 pe->data_role = TC_ROLE_UFP; in pe_snk_transition_to_default_entry()