/Linux-v5.15/drivers/usb/typec/tcpm/ |
D | tcpci.c | 45 struct tcpc_dev tcpc; member 60 static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) in tcpc_to_tcpci() argument 62 return container_of(tcpc, struct tcpci, tcpc); in tcpc_to_tcpci() 75 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc() argument 77 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_set_cc() 122 static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc, in tcpci_apply_rc() argument 125 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_apply_rc() 149 static int tcpci_start_toggling(struct tcpc_dev *tcpc, in tcpci_start_toggling() argument 154 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_start_toggling() 213 static int tcpci_get_cc(struct tcpc_dev *tcpc, in tcpci_get_cc() argument [all …]
|
D | wcove.c | 154 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 …]
|
D | tcpm.c | 306 struct tcpc_dev *tcpc; member 780 port->tcpc->set_cc(port->tcpc, cc); in tcpm_set_cc() 787 if (port->tcpc->enable_auto_vbus_discharge) { in tcpm_enable_auto_vbus_discharge() 788 ret = port->tcpc->enable_auto_vbus_discharge(port->tcpc, enable); in tcpm_enable_auto_vbus_discharge() 804 if (port->tcpc->enable_auto_vbus_discharge && port->tcpc->apply_rc) { in tcpm_apply_rc() 806 port->tcpc->apply_rc(port->tcpc, port->cc_req, port->polarity); in tcpm_apply_rc() 877 ret = port->tcpc->pd_transmit(port->tcpc, type, msg, port->negotiated_rev); in tcpm_pd_transmit() 955 ret = port->tcpc->set_polarity(port->tcpc, polarity); in tcpm_set_polarity() 970 ret = port->tcpc->set_vconn(port->tcpc, enable); in tcpm_set_vconn() 994 if (port->tcpc->get_current_limit) in tcpm_get_current_limit() [all …]
|
D | tcpci.h | 177 * Optional; Enables TCPC to autonously discharge vbus on disconnect. 179 * optional; Set when TCPC can detect whether vbus is at VSAFE0V.
|
D | tcpci_mt6360.c | 194 { .compatible = "mediatek,mt6360-tcpc", }, 201 .name = "mt6360-tcpc",
|
D | tcpci_maxim.c | 5 * MAXIM TCPCI based TCPC driver
|
/Linux-v5.15/Documentation/devicetree/bindings/usb/ |
D | mediatek,mt6360-tcpc.yaml | 4 $id: "http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml#" 20 - mediatek,mt6360-tcpc 53 tcpc { 54 compatible = "mediatek,mt6360-tcpc";
|
D | typec-tcpci.txt | 6 - "nxp,ptn5110" for NXP USB PD TCPC PHY IC ptn5110.
|
/Linux-v5.15/include/linux/usb/ |
D | tcpm.h | 31 /* Time to wait for TCPC to complete transmit */ 96 * Optional; TCPCI spec based TCPC implementations can optionally 98 * as sink or source. TCPM signals TCPC to enable the mechanism upon 108 * Optional; TCPCI spec based TCPC implementations are expected to 110 * is supported by TCPC, set this callback for TCPM to query 155 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);
|
/Linux-v5.15/arch/s390/include/asm/ |
D | stp.h | 19 u32 tcpc : 1; /* Time control parameter change */ member
|
/Linux-v5.15/drivers/mfd/ |
D | mt6360-core.c | 344 MFD_CELL_OF("mt6360-tcpc", NULL, 345 NULL, 0, 0, "mediatek,mt6360-tcpc"),
|
/Linux-v5.15/sound/soc/intel/skylake/ |
D | skl-debug.c | 86 "Resources:\n\tCPC %#x\n\tIBS %#x\n\tOBS %#x\t\n", in module_read()
|
/Linux-v5.15/arch/arm64/boot/dts/freescale/ |
D | imx8mn-evk.dtsi | 117 ptn5110: tcpc@50 {
|
D | imx8mm-evk.dtsi | 248 ptn5110: tcpc@50 {
|
/Linux-v5.15/arch/mips/kernel/ |
D | vpe-mt.c | 78 * Write the address we want it to start running from in the TCPC in vpe_run()
|
/Linux-v5.15/arch/s390/kernel/ |
D | time.c | 495 if (intparm->tsc || intparm->lac || intparm->tcpc) in stp_timing_alert()
|
/Linux-v5.15/include/linux/platform_data/ |
D | cros_ec_commands.h | 4839 #define PD_STATUS_TCPC_ALERT_0 BIT(3) /* Alert active in port 0 TCPC */ 4840 #define PD_STATUS_TCPC_ALERT_1 BIT(4) /* Alert active in port 1 TCPC */ 4841 #define PD_STATUS_TCPC_ALERT_2 BIT(5) /* Alert active in port 2 TCPC */ 4842 #define PD_STATUS_TCPC_ALERT_3 BIT(6) /* Alert active in port 3 TCPC */ 5739 * The current TCPC code relies on these specific POLARITY values.
|