Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/typec/
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()
Dstusb160x.c324 return TYPEC_SINK; in stusb160x_get_vconn_role()
559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
Dclass.c1331 [TYPEC_SINK] = "sink",
2221 port->pwr_role = TYPEC_SINK; in typec_register_port()
2222 port->vconn_role = TYPEC_SINK; in typec_register_port()
2228 port->pwr_role = TYPEC_SINK; in typec_register_port()
Danx7411.c492 ctx->typec.vconn_role = (ret & VCONN_STATUS) ? TYPEC_SOURCE : TYPEC_SINK; in anx7411_data_role_detect()
512 ctx->typec.power_role = (ret & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_power_role_detect()
971 ret = (int_status & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_work_func()
Dpd.c456 [TYPEC_SINK] = "sink-capabilities",
/Linux-v6.6/drivers/extcon/
Dextcon-usbc-tusb320.c313 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
325 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
338 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
351 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
/Linux-v6.6/include/linux/usb/
Dtypec.h54 TYPEC_SINK, enumerator
60 return role == TYPEC_SINK; in is_sink()
/Linux-v6.6/drivers/platform/chrome/
Dcros_ec_typec.c661 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0()
683 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
685 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
961 caps_desc.role = TYPEC_SINK; in cros_typec_register_partner_pdos()
/Linux-v6.6/drivers/usb/typec/tcpm/
Dtcpm.c545 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \
570 if (port->try_role == TYPEC_SINK) in tcpm_default_state()
990 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn()
1072 if (role == TYPEC_SINK) in tcpm_set_roles()
1121 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo()
1183 pdo = tcpm_forge_legacy_pdo(port, port->snk_pdo[i], TYPEC_SINK); in tcpm_pd_send_sink_caps()
2430 caps.role = TYPEC_SINK; in tcpm_register_sink_caps()
3565 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn()
3763 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach()
4518 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
[all …]
Dfusb302.c874 [TYPEC_SINK] = "Sink",
/Linux-v6.6/drivers/usb/typec/ucsi/
Dpsy.c58 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
Ducsi.c688 ret = ucsi_get_pdos(con, TYPEC_SINK, 1, caps.pdo); in ucsi_register_partner_pdos()
693 caps.role = TYPEC_SINK; in ucsi_register_partner_pdos()
1251 ret = ucsi_get_pdos(con, TYPEC_SINK, 0, pd_caps.pdo); in ucsi_register_port()
1256 pd_caps.role = TYPEC_SINK; in ucsi_register_port()
/Linux-v6.6/drivers/usb/typec/tipd/
Dcore.c380 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()