Searched refs:TYPEC_SINK (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/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 | class.c | 1313 [TYPEC_SINK] = "sink", 2193 port->pwr_role = TYPEC_SINK; in typec_register_port() 2194 port->vconn_role = TYPEC_SINK; in typec_register_port() 2200 port->pwr_role = TYPEC_SINK; in typec_register_port()
|
D | anx7411.c | 492 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()
|
D | pd.c | 450 [TYPEC_SINK] = "sink-capabilities",
|
/linux-6.1.9/include/linux/usb/ |
D | typec.h | 53 TYPEC_SINK, enumerator 59 return role == TYPEC_SINK; in is_sink()
|
/linux-6.1.9/drivers/usb/typec/ucsi/ |
D | psy.c | 37 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
|
/linux-6.1.9/drivers/platform/chrome/ |
D | cros_ec_typec.c | 691 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0() 713 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1() 715 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1() 991 caps_desc.role = TYPEC_SINK; in cros_typec_register_partner_pdos()
|
/linux-6.1.9/drivers/usb/typec/tcpm/ |
D | tcpm.c | 536 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \ 561 if (port->try_role == TYPEC_SINK) in tcpm_default_state() 981 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 1063 if (role == TYPEC_SINK) in tcpm_set_roles() 1112 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo() 1174 pdo = tcpm_forge_legacy_pdo(port, port->snk_pdo[i], TYPEC_SINK); in tcpm_pd_send_sink_caps() 2398 caps.role = TYPEC_SINK; in tcpm_register_sink_caps() 3596 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn() 3791 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach() 4500 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine() [all …]
|
D | fusb302.c | 874 [TYPEC_SINK] = "Sink",
|
/linux-6.1.9/drivers/extcon/ |
D | extcon-usbc-tusb320.c | 292 role = TYPEC_SINK; in tusb320_typec_irq_handler()
|
/linux-6.1.9/drivers/usb/typec/tipd/ |
D | core.c | 383 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
|