Searched refs:TYPEC_SINK (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/drivers/usb/typec/ |
D | wusb3801.c | 105 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()
|
D | stusb160x.c | 324 return TYPEC_SINK; in stusb160x_get_vconn_role() 559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
|
D | anx7411.c | 493 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()
|
D | class.c | 1404 [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()
|
D | pd.c | 454 [TYPEC_SINK] = "sink-capabilities",
|
/linux-6.12.1/drivers/extcon/ |
D | extcon-usbc-tusb320.c | 314 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()
|
D | extcon-rtk-type-c.c | 355 typec_set_pwr_role(type_c->port, TYPEC_SINK); in switch_type_c_dr_mode()
|
/linux-6.12.1/include/linux/usb/ |
D | typec.h | 55 TYPEC_SINK, enumerator 61 return role == TYPEC_SINK; in is_sink()
|
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | psy.c | 59 (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()
|
D | ucsi.c | 843 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-6.12.1/drivers/platform/chrome/ |
D | cros_ec_typec.c | 708 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-6.12.1/drivers/usb/typec/tcpm/ |
D | tcpm.c | 606 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \ 631 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() 1271 pdo = tcpm_forge_legacy_pdo(port, port->snk_pdo[i], TYPEC_SINK); in tcpm_pd_send_sink_caps() 3044 caps.role = TYPEC_SINK; in tcpm_register_sink_caps() 4243 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn() 4464 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach() 5283 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine() [all …]
|
D | fusb302.c | 874 [TYPEC_SINK] = "Sink",
|
/linux-6.12.1/drivers/usb/typec/tipd/ |
D | core.c | 434 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
|