Home
last modified time | relevance | path

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

/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c285 enum typec_role pwr_role; in tusb320_typec_irq_handler() local
308 pwr_role = TYPEC_SOURCE; in tusb320_typec_irq_handler()
314 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
326 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
332 pwr_role = TYPEC_SOURCE; in tusb320_typec_irq_handler()
339 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
352 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
357 typec_set_vconn_role(port, pwr_role); in tusb320_typec_irq_handler()
358 typec_set_pwr_role(port, pwr_role); in tusb320_typec_irq_handler()
/linux/drivers/usb/typec/
H A Dwusb3801.c253 enum typec_role pwr_role = wusb3801_get_default_role(wusb3801); in wusb3801_hw_update() local
259 pwr_role = TYPEC_SOURCE; in wusb3801_hw_update()
262 pwr_role = TYPEC_SINK; in wusb3801_hw_update()
284 data_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE; in wusb3801_hw_update()
286 typec_set_pwr_role(port, pwr_role); in wusb3801_hw_update()
287 typec_set_vconn_role(port, pwr_role); in wusb3801_hw_update()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c472 enum typec_role pwr_role; member
1119 if (port->pd_capable && port->pwr_role == TYPEC_SOURCE) { in tcpm_ams_finish()
1124 } else if (port->pwr_role == TYPEC_SOURCE) { in tcpm_ams_finish()
1311 return port->tcpc->set_roles(port->tcpc, attached, port->pwr_role, in tcpm_set_attached_state()
1366 port->pwr_role = role; in tcpm_set_roles()
1383 port->pwr_role = role; in tcpm_set_pwr_role()
1421 port->pwr_role, in tcpm_pd_send_revision()
1450 port->pwr_role, in tcpm_pd_send_source_caps()
1456 port->pwr_role, in tcpm_pd_send_source_caps()
1487 port->pwr_role, in tcpm_pd_send_sink_caps()
[all …]