Home
last modified time | relevance | path

Searched refs:tcpc_dev (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/usb/typec/tcpm/
H A Dtcpci.c43 struct tcpc_dev tcpc;
58 static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) in tcpc_to_tcpci()
85 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc()
158 static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc, in tcpci_apply_rc()
181 static int tcpci_start_toggling(struct tcpc_dev *tcpc, in tcpci_start_toggling()
228 static int tcpci_get_cc(struct tcpc_dev *tcpc, in tcpci_get_cc()
253 static int tcpci_set_polarity(struct tcpc_dev *tcpc, in tcpci_set_polarity()
313 static int tcpci_set_orientation(struct tcpc_dev *tcpc, in tcpci_set_orientation()
335 static void tcpci_set_partner_usb_comm_capable(struct tcpc_dev *tcpc, bool capable) in tcpci_set_partner_usb_comm_capable()
343 static int tcpci_set_vconn(struct tcpc_dev *tcpc, bool enable) in tcpci_set_vconn()
[all …]
H A Dfusb302.c78 struct tcpc_dev tcpc_dev; member
394 static int tcpm_init(struct tcpc_dev *dev) in tcpm_init()
397 tcpc_dev); in tcpm_init()
425 static int tcpm_get_vbus(struct tcpc_dev *dev) in tcpm_get_vbus()
428 tcpc_dev); in tcpm_get_vbus()
438 static int tcpm_get_current_limit(struct tcpc_dev *dev) in tcpm_get_current_limit()
441 tcpc_dev); in tcpm_get_current_limit()
599 static int tcpm_set_cc(struct tcpc_dev *dev, enum typec_cc_status cc) in tcpm_set_cc()
602 tcpc_dev); in tcpm_set_cc()
705 static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1, in tcpm_get_cc()
[all …]
H A Dtcpm.c349 struct tcpc_dev *tcpc;
6797 struct tcpc_dev *tcpc = port->tcpc; in tcpm_try_role()
7801 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc) in tcpm_register_port()
/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.h12 struct tcpc_dev tcpc;