Searched refs:TYPEC_SINK (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/drivers/power/power_delivery/ |
| H A D | tcpm.c | 496 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \ 514 if (port->try_role == TYPEC_SINK) in tcpm_default_state() 653 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 1995 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn() 2127 ret = tcpm_set_roles(port, true, TYPEC_SINK, TYPEC_DEVICE); in tcpm_snk_attach() 2544 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine() 2691 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine() 3128 if (port->pwr_role == TYPEC_SINK && port->attached) in _tcpm_pd_vbus_off() 3356 port->typec_caps.prefer_role = TYPEC_SINK; in tcpm_fw_get_caps()
|
| H A D | fusb302.c | 705 [TYPEC_SINK] = "Sink",
|
| /OK3568_Linux_fs/u-boot/include/power/power_delivery/ |
| H A D | typec.h | 51 TYPEC_SINK, enumerator
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | typec.h | 52 TYPEC_SINK, enumerator
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/ |
| H A D | psy.c | 37 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 532 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \ 557 if (port->try_role == TYPEC_SINK) in tcpm_default_state() 977 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 1074 if (role == TYPEC_SINK) in tcpm_set_roles() 1123 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo() 1185 pdo = tcpm_forge_legacy_pdo(port, port->snk_pdo[i], TYPEC_SINK); in tcpm_pd_send_sink_caps() 3601 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn() 3785 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach() 4552 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine() 4744 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine() [all …]
|
| H A D | fusb302.c | 882 [TYPEC_SINK] = "Sink",
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/ |
| 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 | class.c | 1238 [TYPEC_SINK] = "sink", 2075 port->pwr_role = TYPEC_SINK; in typec_register_port() 2076 port->vconn_role = TYPEC_SINK; in typec_register_port() 2082 port->pwr_role = TYPEC_SINK; in typec_register_port()
|
| H A D | tps6598x.c | 359 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
|