Searched refs:policy_check (Results 1 – 8 of 8) sorted by relevance
272 const enum usbc_policy_check_t policy_check) in port0_policy_check() argument274 switch (policy_check) { in port0_policy_check()
280 const enum usbc_policy_check_t policy_check) in port0_policy_check() argument284 switch (policy_check) { in port0_policy_check()
122 const enum usbc_policy_check_t policy_check);
369 bool policy_check(const struct device *dev, const enum usbc_policy_check_t pc);
244 if (policy_check(dev, CHECK_VCONN_CONTROL)) { in tc_attached_src_entry()
538 if (policy_check(dev, CHECK_SRC_PS_AT_DEFAULT_LEVEL)) { in pe_src_transition_to_default_run()
576 bool policy_check(const struct device *dev, const enum usbc_policy_check_t pc) in policy_check() function753 if (policy_check(dev, (pe->data_role == TC_ROLE_UFP) ? CHECK_DATA_ROLE_SWAP_TO_DFP in pe_drs_evaluate_swap_entry()
205 const enum usbc_policy_check_t policy_check);