Home
last modified time | relevance | path

Searched defs:tcpc (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.c34 struct tcpc_dev tcpc; member
44 static int qcom_pmic_typec_get_vbus(struct tcpc_dev *tcpc) in qcom_pmic_typec_get_vbus()
56 static int qcom_pmic_typec_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink) in qcom_pmic_typec_set_vbus()
79 static int qcom_pmic_typec_set_vconn(struct tcpc_dev *tcpc, bool on) in qcom_pmic_typec_set_vconn()
86 static int qcom_pmic_typec_get_cc(struct tcpc_dev *tcpc, in qcom_pmic_typec_get_cc()
95 static int qcom_pmic_typec_set_cc(struct tcpc_dev *tcpc, in qcom_pmic_typec_set_cc()
103 static int qcom_pmic_typec_set_polarity(struct tcpc_dev *tcpc, in qcom_pmic_typec_set_polarity()
110 static int qcom_pmic_typec_start_toggling(struct tcpc_dev *tcpc, in qcom_pmic_typec_start_toggling()
120 static int qcom_pmic_typec_set_roles(struct tcpc_dev *tcpc, bool attached, in qcom_pmic_typec_set_roles()
130 static int qcom_pmic_typec_set_pd_rx(struct tcpc_dev *tcpc, bool on) in qcom_pmic_typec_set_pd_rx()
[all …]
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci.c41 struct tcpc_dev tcpc; member
56 static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) in tcpc_to_tcpci()
71 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc()
144 static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc, in tcpci_apply_rc()
171 static int tcpci_start_toggling(struct tcpc_dev *tcpc, in tcpci_start_toggling()
218 static int tcpci_get_cc(struct tcpc_dev *tcpc, in tcpci_get_cc()
245 static int tcpci_set_polarity(struct tcpc_dev *tcpc, in tcpci_set_polarity()
305 static void tcpci_set_partner_usb_comm_capable(struct tcpc_dev *tcpc, bool capable) in tcpci_set_partner_usb_comm_capable()
313 static int tcpci_set_vconn(struct tcpc_dev *tcpc, bool enable) in tcpci_set_vconn()
420 static int tcpci_set_bist_data(struct tcpc_dev *tcpc, bool enable) in tcpci_set_bist_data()
[all …]
H A Dwcove.c154 struct tcpc_dev tcpc; member
200 static int wcove_init(struct tcpc_dev *tcpc) in wcove_init()
217 static int wcove_get_vbus(struct tcpc_dev *tcpc) in wcove_get_vbus()
232 static int wcove_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink) in wcove_set_vbus()
239 static int wcove_set_vconn(struct tcpc_dev *tcpc, bool on) in wcove_set_vconn()
268 static int wcove_get_cc(struct tcpc_dev *tcpc, enum typec_cc_status *cc1, in wcove_get_cc()
290 static int wcove_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in wcove_set_cc()
318 static int wcove_set_polarity(struct tcpc_dev *tcpc, enum typec_cc_polarity pol) in wcove_set_polarity()
325 static int wcove_set_current_limit(struct tcpc_dev *tcpc, u32 max_ma, u32 mv) in wcove_set_current_limit()
330 static int wcove_set_roles(struct tcpc_dev *tcpc, bool attached, in wcove_set_roles()
[all …]
H A Dtcpm.c308 struct tcpc_dev *tcpc; member
5808 struct tcpc_dev *tcpc = port->tcpc; in tcpm_try_role() local
6561 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc) in tcpm_register_port()
/openbmc/linux/arch/s390/include/asm/
H A Dstp.h19 u32 tcpc : 1; /* Time control parameter change */ member