Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/usb_c/
Dusbc_pe_snk_states.c286 if (received_control_message(dev, header, PD_CTRL_ACCEPT)) { in pe_snk_select_capability_run()
290 } else if (received_control_message(dev, header, PD_CTRL_REJECT) || in pe_snk_select_capability_run()
291 received_control_message(dev, header, PD_CTRL_WAIT)) { in pe_snk_select_capability_run()
297 if (received_control_message(dev, header, PD_CTRL_WAIT)) { in pe_snk_select_capability_run()
361 if (received_control_message(dev, header, PD_CTRL_PS_RDY)) { in pe_snk_transition_sink_run()
664 if (received_control_message(dev, header, PD_DATA_SOURCE_CAP)) { in pe_snk_get_source_cap_run()
Dusbc_pe_common.c544 bool received_control_message(const struct device *dev, const union pd_header header, in received_control_message() function
831 if (received_control_message(dev, header, PD_CTRL_REJECT)) { in pe_drs_send_swap_run()
837 } else if (received_control_message(dev, header, PD_CTRL_WAIT)) { in pe_drs_send_swap_run()
846 } else if (received_control_message(dev, header, PD_CTRL_ACCEPT)) { in pe_drs_send_swap_run()
932 } else if (received_control_message(dev, header, PD_CTRL_REJECT) || in pe_get_sink_cap_run()
933 received_control_message(dev, in pe_get_sink_cap_run()
1077 if (received_control_message(dev, header, PD_CTRL_ACCEPT)) { in pe_send_soft_reset_run()
Dusbc_pe_common_internal.h348 bool received_control_message(const struct device *dev, const union pd_header header,