Searched refs:TYPEC_SINK (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.15/include/linux/usb/ |
| D | typec.h | 51 TYPEC_SINK, enumerator
|
| /Linux-v5.15/drivers/usb/typec/ucsi/ |
| D | psy.c | 37 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
|
| /Linux-v5.15/drivers/usb/typec/tcpm/ |
| D | tcpm.c | 527 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \ 552 if (port->try_role == TYPEC_SINK) in tcpm_default_state() 972 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 1054 if (role == TYPEC_SINK) in tcpm_set_roles() 1103 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo() 1165 pdo = tcpm_forge_legacy_pdo(port, port->snk_pdo[i], TYPEC_SINK); in tcpm_pd_send_sink_caps() 3537 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn() 3723 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach() 4436 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine() 4621 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine() [all …]
|
| D | fusb302.c | 872 [TYPEC_SINK] = "Sink",
|
| /Linux-v5.15/drivers/usb/typec/ |
| 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 | 1180 [TYPEC_SINK] = "sink", 2014 port->pwr_role = TYPEC_SINK; in typec_register_port() 2015 port->vconn_role = TYPEC_SINK; in typec_register_port() 2021 port->pwr_role = TYPEC_SINK; in typec_register_port()
|
| /Linux-v5.15/drivers/platform/chrome/ |
| D | cros_ec_typec.c | 621 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0() 643 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1() 645 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
|
| /Linux-v5.15/drivers/usb/typec/tipd/ |
| D | core.c | 371 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
|