Home
last modified time | relevance | path

Searched refs:power_role (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.4.0/scripts/generate_usb_vif/
Dgenerate_vif.py224 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/
Dusbc_tcpc.h137 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/
Dusbc_pe_common_internal.h201 enum tc_power_role power_role; member
Dusbc_prl.c1177 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()
Dusbc_pe_common.c183 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()
Dusbc_pe_src_states.c109 pe->power_role = TC_ROLE_SOURCE; in pe_src_startup_entry()
Dusbc_pe_snk_states.c79 pe->power_role = TC_ROLE_SINK; in pe_snk_startup_entry()
/Zephyr-Core-3.4.0/samples/subsys/usb_c/sink/src/
Dmain.c17 #define PORT1_POWER_ROLE DT_ENUM_IDX(DT_NODELABEL(port1), power_role)
/Zephyr-Core-3.4.0/samples/subsys/usb_c/source/src/
Dmain.c19 #define PORT1_POWER_ROLE DT_ENUM_IDX(DT_NODELABEL(port1), power_role)
/Zephyr-Core-3.4.0/drivers/usb_c/tcpc/
Ducpd_stm32.c523 enum tc_power_role power_role, in ucpd_set_roles() argument
528 data->msg_header.pr = power_role; in ucpd_set_roles()