Searched refs:TC_ROLE_UFP (Results 1 – 3 of 3) sorted by relevance
391 TC_ROLE_UFP = 0, enumerator
753 if (policy_check(dev, (pe->data_role == TC_ROLE_UFP) ? CHECK_DATA_ROLE_SWAP_TO_DFP in pe_drs_evaluate_swap_entry()786 pe_set_data_role(dev, (pe->data_role == TC_ROLE_UFP) in pe_drs_evaluate_swap_run()787 ? TC_ROLE_DFP : TC_ROLE_UFP); in pe_drs_evaluate_swap_run()789 policy_notify(dev, (pe->data_role == TC_ROLE_UFP) ? DATA_ROLE_IS_UFP in pe_drs_evaluate_swap_run()848 pe->data_role = (pe->data_role == TC_ROLE_UFP) ? TC_ROLE_DFP : TC_ROLE_UFP; in pe_drs_send_swap_run()852 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()589 pe->data_role = TC_ROLE_UFP; in pe_snk_transition_to_default_entry()