Searched refs:TYPEC_SOURCE (Results 1 – 14 of 14) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 536 ((port)->try_src_count == 0 && (port)->try_role == TYPEC_SOURCE && \ 559 else if (port->try_role == TYPEC_SOURCE) in tcpm_default_state() 856 if (port->pd_capable && port->pwr_role == TYPEC_SOURCE) { in tcpm_ams_finish() 861 } else if (port->pwr_role == TYPEC_SOURCE) { in tcpm_ams_finish() 977 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 1065 if (role == TYPEC_SOURCE) in tcpm_set_roles() 1148 pdo = tcpm_forge_legacy_pdo(port, port->src_pdo[i], TYPEC_SOURCE); in tcpm_pd_send_source_caps() 1367 if (port->pwr_role == TYPEC_SOURCE) { in tcpm_ams_start() 2034 port->pwr_role == TYPEC_SOURCE && in vdm_run_state_machine() 2293 if (port->pwr_role == TYPEC_SOURCE) in ready_state() [all …]
|
| H A D | fusb302.c | 883 [TYPEC_SOURCE] = "Source", 902 if (pwr == TYPEC_SOURCE) in tcpm_set_roles()
|
| H A D | tcpci.c | 458 if (role == TYPEC_SOURCE) in tcpci_set_roles()
|
| /OK3568_Linux_fs/u-boot/drivers/power/power_delivery/ |
| H A D | tcpm.c | 500 ((port)->try_src_count == 0 && (port)->try_role == TYPEC_SOURCE && \ 516 else if (port->try_role == TYPEC_SOURCE) in tcpm_default_state() 653 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn() 1030 if (port->pwr_role == TYPEC_SOURCE) in ready_state() 1058 tcpm_set_state(port, port->pwr_role == TYPEC_SOURCE ? 1258 if (port->pwr_role == TYPEC_SOURCE) in tcpm_pd_ctrl_request() 1792 port->vconn_role == TYPEC_SOURCE ? "source" : "sink", in tcpm_pd_build_request() 1898 port->vconn_role == TYPEC_SOURCE ? "source" : "sink", in tcpm_pd_build_pps_request() 2020 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, TYPEC_HOST); in tcpm_src_attach() 2155 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, TYPEC_HOST); in tcpm_acc_attach() [all …]
|
| H A D | fusb302.c | 706 [TYPEC_SOURCE] = "Source", 724 if (pwr == TYPEC_SOURCE) in tcpm_set_roles()
|
| H A D | tcpci.c | 337 if (role == TYPEC_SOURCE) in tcpci_set_roles()
|
| /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/kernel/drivers/usb/typec/ |
| H A D | class.c | 1239 [TYPEC_SOURCE] = "source", 1405 return sprintf(buf, "%s\n", port->pwr_role == TYPEC_SOURCE ? in power_role_show() 1516 port->vconn_role == TYPEC_SOURCE ? "yes" : "no"); in vconn_source_show() 2071 port->pwr_role = TYPEC_SOURCE; in typec_register_port() 2072 port->vconn_role = TYPEC_SOURCE; in typec_register_port() 2094 if (cap->prefer_role == TYPEC_SOURCE) in typec_register_port()
|
| H A D | stusb160x.c | 322 return TYPEC_SOURCE; in stusb160x_get_vconn_role() 349 if ((STUSB160X_CC_POWER_ROLE(status) == TYPEC_SOURCE) && in stusb160x_attach()
|
| /OK3568_Linux_fs/u-boot/include/power/power_delivery/ |
| H A D | typec.h | 52 TYPEC_SOURCE, enumerator
|
| H A D | pd.h | 92 ((pwr) == TYPEC_SOURCE ? PD_HEADER_PWR_ROLE : 0) | \
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | typec.h | 53 TYPEC_SOURCE, enumerator
|
| H A D | pd.h | 92 ((pwr) == TYPEC_SOURCE ? PD_HEADER_PWR_ROLE : 0) | \
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/ |
| H A D | ucsi.h | 122 #define UCSI_SET_PDR_ROLE(_r_) (((_r_) == TYPEC_SOURCE ? 1 : 2) << 23)
|