Searched refs:TYPEC_SINK (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.10/include/linux/usb/ |
| D | typec.h | 50 TYPEC_SINK, enumerator
|
| /Linux-v5.10/drivers/platform/chrome/ |
| D | cros_ec_typec.c | 345 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0() 367 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1() 369 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
|
| /Linux-v5.10/drivers/usb/typec/ucsi/ |
| D | psy.c | 37 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
|
| /Linux-v5.10/drivers/usb/typec/ |
| D | class.c | 927 [TYPEC_SINK] = "sink", 1657 port->pwr_role = TYPEC_SINK; in typec_register_port() 1658 port->vconn_role = TYPEC_SINK; in typec_register_port() 1664 port->pwr_role = TYPEC_SINK; in typec_register_port()
|
| 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 | tps6598x.c | 360 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
|
| /Linux-v5.10/drivers/usb/typec/tcpm/ |
| D | tcpm.c | 416 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \ 434 if (port->try_role == TYPEC_SINK) in tcpm_default_state() 748 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 862 if (role == TYPEC_SINK) in tcpm_set_roles() 1722 if (port->pwr_role != TYPEC_SINK) in tcpm_pd_data_request() 2756 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn() 2924 ret = tcpm_set_roles(port, true, TYPEC_SINK, in tcpm_snk_attach() 3513 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine() 3672 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine() 4184 if (port->pwr_role == TYPEC_SINK && in _tcpm_pd_vbus_off() [all …]
|
| D | fusb302.c | 872 [TYPEC_SINK] = "Sink",
|