Home
last modified time | relevance | path

Searched refs:TYPEC_SINK (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/usb/typec/
A Dwusb3801.c105 return TYPEC_SINK; in wusb3801_get_default_role()
110 return TYPEC_SINK; in wusb3801_get_default_role()
146 case TYPEC_SINK: in wusb3801_map_try_role()
262 pwr_role = TYPEC_SINK; in wusb3801_hw_update()
A Dstusb160x.c324 return TYPEC_SINK; in stusb160x_get_vconn_role()
559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
A Danx7411.c493 ctx->typec.vconn_role = (ret & VCONN_STATUS) ? TYPEC_SOURCE : TYPEC_SINK; in anx7411_data_role_detect()
513 ctx->typec.power_role = (ret & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_power_role_detect()
972 ret = (int_status & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_work_func()
A Dclass.c1404 [TYPEC_SINK] = "sink",
2400 port->pwr_role = TYPEC_SINK; in typec_register_port()
2401 port->vconn_role = TYPEC_SINK; in typec_register_port()
2407 port->pwr_role = TYPEC_SINK; in typec_register_port()
A Dpd.c454 [TYPEC_SINK] = "sink-capabilities",
/linux/drivers/extcon/
A Dextcon-usbc-tusb320.c314 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
326 pwr_role = TYPEC_SINK; 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()
A Dextcon-rtk-type-c.c355 typec_set_pwr_role(type_c->port, TYPEC_SINK); in switch_type_c_dr_mode()
/linux/include/linux/usb/
A Dtypec.h55 TYPEC_SINK, enumerator
61 return role == TYPEC_SINK; in is_sink()
/linux/drivers/usb/typec/ucsi/
A Dpsy.c59 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
206 if ((con->status.flags & UCSI_CONSTAT_PWR_DIR) != TYPEC_SINK) { in ucsi_psy_get_charge_type()
A Ducsi.c843 pd_cap = ucsi_get_pd_caps(con, TYPEC_SINK, false); in ucsi_register_device_pdos()
868 cap = ucsi_get_pd_caps(con, TYPEC_SINK, true); in ucsi_register_partner_pdos()
/linux/drivers/platform/chrome/
A Dcros_ec_typec.c708 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0()
730 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
732 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
1008 caps_desc.role = TYPEC_SINK; in cros_typec_register_partner_pdos()
/linux/drivers/usb/typec/tcpm/
A Dtcpm.c631 if (port->try_role == TYPEC_SINK) in tcpm_default_state()
1072 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn()
1154 if (role == TYPEC_SINK) in tcpm_set_roles()
1209 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo()
3044 caps.role = TYPEC_SINK; in tcpm_register_sink_caps()
4243 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn()
5283 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
5492 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine()
6143 if (port->pwr_role == TYPEC_SINK && port->attached) in _tcpm_pd_vbus_off()
6860 if (!(port->pwr_role == TYPEC_SINK && in tcpm_port_type_set()
[all …]
A Dfusb302.c874 [TYPEC_SINK] = "Sink",
/linux/drivers/usb/typec/tipd/
A Dcore.c434 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()

Completed in 65 milliseconds