Searched refs:TC_ROLE_UFP (Results 1 – 3 of 3) sorted by relevance
391 TC_ROLE_UFP = 0, enumerator
733 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()
27 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()