Searched refs:TYPEC_SINK (Results 1 – 15 of 15) sorted by relevance
| /linux-6.15/drivers/usb/typec/ |
| H A 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()
|
| H A D | stusb160x.c | 324 return TYPEC_SINK; in stusb160x_get_vconn_role() 559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
|
| H A D | hd3ss3220.c | 138 case TYPEC_SINK: in hd3ss3220_set_source_pref()
|
| H A D | anx7411.c | 495 ctx->typec.vconn_role = (ret & VCONN_STATUS) ? TYPEC_SOURCE : TYPEC_SINK; in anx7411_data_role_detect() 515 ctx->typec.power_role = (ret & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_power_role_detect() 974 ret = (int_status & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_work_func()
|
| H A D | class.c | 1590 [TYPEC_SINK] = "sink", 2604 port->pwr_role = TYPEC_SINK; in typec_register_port() 2605 port->vconn_role = TYPEC_SINK; in typec_register_port() 2611 port->pwr_role = TYPEC_SINK; in typec_register_port()
|
| H A D | pd.c | 454 [TYPEC_SINK] = "sink-capabilities",
|
| /linux-6.15/drivers/extcon/ |
| H A 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()
|
| H A D | extcon-rtk-type-c.c | 355 typec_set_pwr_role(type_c->port, TYPEC_SINK); in switch_type_c_dr_mode()
|
| /linux-6.15/drivers/usb/typec/ucsi/ |
| H A D | psy.c | 59 (UCSI_CONSTAT(con, PWR_DIR) == TYPEC_SINK)) in ucsi_psy_get_online() 202 if (UCSI_CONSTAT(con, PWR_DIR) != TYPEC_SINK) { in ucsi_psy_get_charge_type()
|
| H A D | ucsi.c | 859 pd_cap = ucsi_get_pd_caps(con, TYPEC_SINK, false); in ucsi_register_device_pdos() 884 cap = ucsi_get_pd_caps(con, TYPEC_SINK, true); in ucsi_register_partner_pdos()
|
| /linux-6.15/include/linux/usb/ |
| H A D | typec.h | 55 TYPEC_SINK, enumerator 61 return role == TYPEC_SINK; in is_sink()
|
| /linux-6.15/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 753 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0() 775 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1() 777 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1() 1053 caps_desc.role = TYPEC_SINK; in cros_typec_register_partner_pdos()
|
| /linux-6.15/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 659 if (port->try_role == TYPEC_SINK) in tcpm_default_state() 1100 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 1182 if (role == TYPEC_SINK) in tcpm_set_roles() 1237 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo() 3092 caps.role = TYPEC_SINK; in tcpm_register_sink_caps() 4310 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn() 5361 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine() 5570 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine() 6220 if (port->pwr_role == TYPEC_SINK && port->attached) in _tcpm_pd_vbus_off() 6937 if (!(port->pwr_role == TYPEC_SINK && in tcpm_port_type_set() [all …]
|
| H A D | fusb302.c | 874 [TYPEC_SINK] = "Sink",
|
| /linux-6.15/drivers/usb/typec/tipd/ |
| H A D | core.c | 434 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
|