Home
last modified time | relevance | path

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

/linux-5.19.10/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.c1180 [TYPEC_SINK] = "sink",
2058 port->pwr_role = TYPEC_SINK; in typec_register_port()
2059 port->vconn_role = TYPEC_SINK; in typec_register_port()
2065 port->pwr_role = TYPEC_SINK; in typec_register_port()
/linux-5.19.10/include/linux/usb/
Dtypec.h51 TYPEC_SINK, enumerator
/linux-5.19.10/drivers/usb/typec/ucsi/
Dpsy.c37 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
/linux-5.19.10/drivers/usb/typec/tcpm/
Dtcpm.c528 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \
553 if (port->try_role == TYPEC_SINK) in tcpm_default_state()
973 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn()
1055 if (role == TYPEC_SINK) in tcpm_set_roles()
1104 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo()
1166 pdo = tcpm_forge_legacy_pdo(port, port->snk_pdo[i], TYPEC_SINK); in tcpm_pd_send_sink_caps()
3538 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn()
3724 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach()
4433 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
4618 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine()
[all …]
Dfusb302.c874 [TYPEC_SINK] = "Sink",
/linux-5.19.10/drivers/platform/chrome/
Dcros_ec_typec.c610 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0()
632 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
634 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
/linux-5.19.10/drivers/usb/typec/tipd/
Dcore.c383 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()