Searched refs:TYPEC_SINK (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/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 | anx7411.c | 494 ctx->typec.vconn_role = (ret & VCONN_STATUS) ? TYPEC_SOURCE : TYPEC_SINK; in anx7411_data_role_detect() 514 ctx->typec.power_role = (ret & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_power_role_detect() 973 ret = (int_status & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_work_func()
|
H A D | class.c | 1342 [TYPEC_SINK] = "sink", 2235 port->pwr_role = TYPEC_SINK; in typec_register_port() 2236 port->vconn_role = TYPEC_SINK; in typec_register_port() 2242 port->pwr_role = TYPEC_SINK; in typec_register_port()
|
H A D | pd.c | 456 [TYPEC_SINK] = "sink-capabilities",
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-usbc-tusb320.c | 313 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler() 325 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler() 338 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler() 351 pwr_role = TYPEC_SINK; in tusb320_typec_irq_handler()
|
/openbmc/linux/include/linux/usb/ |
H A D | typec.h | 54 TYPEC_SINK, enumerator 60 return role == TYPEC_SINK; in is_sink()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 662 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0() 684 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1() 686 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1() 962 caps_desc.role = TYPEC_SINK; in cros_typec_register_partner_pdos()
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 545 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \ 570 if (port->try_role == TYPEC_SINK) in tcpm_default_state() 990 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 1072 if (role == TYPEC_SINK) in tcpm_set_roles() 1121 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo() 1183 pdo = tcpm_forge_legacy_pdo(port, port->snk_pdo[i], TYPEC_SINK); in tcpm_pd_send_sink_caps() 2444 caps.role = TYPEC_SINK; in tcpm_register_sink_caps() 3579 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn() 3783 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach() 4544 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine() [all …]
|
H A D | fusb302.c | 874 [TYPEC_SINK] = "Sink",
|
/openbmc/linux/drivers/usb/typec/ucsi/ |
H A D | psy.c | 58 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
|
H A D | ucsi.c | 704 ret = ucsi_get_pdos(con, TYPEC_SINK, 1, caps.pdo); in ucsi_register_partner_pdos() 709 caps.role = TYPEC_SINK; in ucsi_register_partner_pdos() 1296 ret = ucsi_get_pdos(con, TYPEC_SINK, 0, pd_caps.pdo); in ucsi_register_port() 1301 pd_caps.role = TYPEC_SINK; in ucsi_register_port()
|
/openbmc/linux/drivers/usb/typec/tipd/ |
H A D | core.c | 381 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
|