Searched refs:power_role (Results 1 – 10 of 10) sorted by relevance
/Zephyr-Core-3.4.0/scripts/generate_usb_vif/ |
D | generate_vif.py | 224 power_role = node.props[dt_constants.POWER_ROLE].val 226 other_constants.PD_PORT_TYPE_VALUES[power_role][1], 229 power_role][0])) 232 power_role][1], 235 power_role][0]))
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/usb_c/ |
D | usbc_tcpc.h | 137 int (*set_roles)(const struct device *dev, enum tc_power_role power_role, 444 enum tc_power_role power_role, in tcpc_set_roles() argument 454 return api->set_roles(dev, power_role, data_role); in tcpc_set_roles()
|
/Zephyr-Core-3.4.0/subsys/usb/usb_c/ |
D | usbc_pe_common_internal.h | 201 enum tc_power_role power_role; member
|
D | usbc_prl.c | 1177 uint8_t power_role; in prl_rx_wait_for_phy_message() local 1190 power_role = rx_emsg->header.port_power_role; in prl_rx_wait_for_phy_message() 1203 if (pkt_type != PD_PACKET_SOP && power_role == PD_PLUG_FROM_DFP_UFP) { in prl_rx_wait_for_phy_message()
|
D | usbc_pe_common.c | 183 tcpc_set_roles(data->tcpc, pe->power_role, pe->data_role); in pe_set_data_role() 203 return data->pe->power_role; in pe_get_power_role() 830 tcpc_set_roles(data->tcpc, pe->power_role, pe->data_role); in pe_drs_send_swap_run()
|
D | usbc_pe_src_states.c | 109 pe->power_role = TC_ROLE_SOURCE; in pe_src_startup_entry()
|
D | usbc_pe_snk_states.c | 79 pe->power_role = TC_ROLE_SINK; in pe_snk_startup_entry()
|
/Zephyr-Core-3.4.0/samples/subsys/usb_c/sink/src/ |
D | main.c | 17 #define PORT1_POWER_ROLE DT_ENUM_IDX(DT_NODELABEL(port1), power_role)
|
/Zephyr-Core-3.4.0/samples/subsys/usb_c/source/src/ |
D | main.c | 19 #define PORT1_POWER_ROLE DT_ENUM_IDX(DT_NODELABEL(port1), power_role)
|
/Zephyr-Core-3.4.0/drivers/usb_c/tcpc/ |
D | ucpd_stm32.c | 523 enum tc_power_role power_role, in ucpd_set_roles() argument 528 data->msg_header.pr = power_role; in ucpd_set_roles()
|