Searched refs:TYPEC_SOURCE (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/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()
|
| /rk3399_rockchip-uboot/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) | \
|