Home
last modified time | relevance | path

Searched refs:tcpc (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/drivers/usb/typec/tcpm/
Dtcpci.c39 struct tcpc_dev tcpc; member
54 static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) in tcpc_to_tcpci() argument
56 return container_of(tcpc, struct tcpci, tcpc); in tcpc_to_tcpci()
69 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc() argument
71 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_set_cc()
142 static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc, in tcpci_apply_rc() argument
145 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_apply_rc()
169 static int tcpci_start_toggling(struct tcpc_dev *tcpc, in tcpci_start_toggling() argument
174 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_start_toggling()
216 static int tcpci_get_cc(struct tcpc_dev *tcpc, in tcpci_get_cc() argument
[all …]
Dwcove.c154 struct tcpc_dev tcpc; member
158 #define tcpc_to_wcove(_tcpc_) container_of(_tcpc_, struct wcove_typec, tcpc)
200 static int wcove_init(struct tcpc_dev *tcpc) in wcove_init() argument
202 struct wcove_typec *wcove = tcpc_to_wcove(tcpc); in wcove_init()
217 static int wcove_get_vbus(struct tcpc_dev *tcpc) in wcove_get_vbus() argument
219 struct wcove_typec *wcove = tcpc_to_wcove(tcpc); in wcove_get_vbus()
232 static int wcove_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink) in wcove_set_vbus() argument
234 struct wcove_typec *wcove = tcpc_to_wcove(tcpc); in wcove_set_vbus()
239 static int wcove_set_vconn(struct tcpc_dev *tcpc, bool on) in wcove_set_vconn() argument
241 struct wcove_typec *wcove = tcpc_to_wcove(tcpc); in wcove_set_vconn()
[all …]
Dtcpm.c306 struct tcpc_dev *tcpc; member
789 port->tcpc->set_cc(port->tcpc, cc); in tcpm_set_cc()
796 if (port->tcpc->enable_auto_vbus_discharge) { in tcpm_enable_auto_vbus_discharge()
797 ret = port->tcpc->enable_auto_vbus_discharge(port->tcpc, enable); in tcpm_enable_auto_vbus_discharge()
813 if (port->tcpc->enable_auto_vbus_discharge && port->tcpc->apply_rc) { in tcpm_apply_rc()
815 port->tcpc->apply_rc(port->tcpc, port->cc_req, port->polarity); in tcpm_apply_rc()
886 ret = port->tcpc->pd_transmit(port->tcpc, type, msg, port->negotiated_rev); in tcpm_pd_transmit()
964 ret = port->tcpc->set_polarity(port->tcpc, polarity); in tcpm_set_polarity()
979 ret = port->tcpc->set_vconn(port->tcpc, enable); in tcpm_set_vconn()
1003 if (port->tcpc->get_current_limit) in tcpm_get_current_limit()
[all …]
/Linux-v6.1/arch/s390/include/asm/
Dstp.h19 u32 tcpc : 1; /* Time control parameter change */ member
/Linux-v6.1/include/linux/usb/
Dtcpm.h155 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3566-pinenote.dtsi470 wusb3801: tcpc@60 {
608 tcpc {
609 tcpc_int_l: tcpc-int-l {
/Linux-v6.1/arch/arm64/boot/dts/freescale/
Dimx8mn-evk.dtsi166 ptn5110: tcpc@50 {
Dimx8mm-evk.dtsi305 ptn5110: tcpc@50 {
/Linux-v6.1/arch/s390/kernel/
Dtime.c495 if (intparm->tsc || intparm->lac || intparm->tcpc) in stp_timing_alert()