| /kernel/linux/linux-4.19/drivers/usb/typec/ |
| D | tcpci.c | 32 struct tcpc_dev tcpc; member 41 static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) in tcpc_to_tcpci() argument 43 return container_of(tcpc, struct tcpci, tcpc); in tcpc_to_tcpci() 56 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc() argument 58 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_set_cc() 103 static int tcpci_start_toggling(struct tcpc_dev *tcpc, in tcpci_start_toggling() argument 108 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_start_toggling() 167 static int tcpci_get_cc(struct tcpc_dev *tcpc, in tcpci_get_cc() argument 170 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_get_cc() 188 static int tcpci_set_polarity(struct tcpc_dev *tcpc, in tcpci_set_polarity() argument [all …]
|
| D | typec_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 | 202 struct tcpc_dev *tcpc; member 382 else if (port->tcpc->config && in tcpm_default_state() 383 port->tcpc->config->default_role == TYPEC_SINK) in tcpm_default_state() 631 ret = port->tcpc->pd_transmit(port->tcpc, type, msg); in tcpm_pd_transmit() 692 ret = port->tcpc->set_polarity(port->tcpc, polarity); in tcpm_set_polarity() 707 ret = port->tcpc->set_vconn(port->tcpc, enable); in tcpm_set_vconn() 731 if (port->tcpc->get_current_limit) in tcpm_get_current_limit() 732 limit = port->tcpc->get_current_limit(port->tcpc); in tcpm_get_current_limit() 750 if (port->tcpc->set_current_limit) in tcpm_set_current_limit() 751 ret = port->tcpc->set_current_limit(port->tcpc, max_ma, mv); in tcpm_set_current_limit() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/typec/tcpm/ |
| 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 | tcpci.c | 41 struct tcpc_dev tcpc; member 56 static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) in tcpc_to_tcpci() argument 58 return container_of(tcpc, struct tcpci, tcpc); in tcpc_to_tcpci() 71 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc() argument 73 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_set_cc() 118 static int tcpci_start_toggling(struct tcpc_dev *tcpc, in tcpci_start_toggling() argument 123 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_start_toggling() 182 static int tcpci_get_cc(struct tcpc_dev *tcpc, in tcpci_get_cc() argument 185 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_get_cc() 209 static int tcpci_set_polarity(struct tcpc_dev *tcpc, in tcpci_set_polarity() argument [all …]
|
| D | tcpm.c | 255 struct tcpc_dev *tcpc; member 688 ret = port->tcpc->pd_transmit(port->tcpc, type, msg); in tcpm_pd_transmit() 749 ret = port->tcpc->set_polarity(port->tcpc, polarity); in tcpm_set_polarity() 764 ret = port->tcpc->set_vconn(port->tcpc, enable); in tcpm_set_vconn() 788 if (port->tcpc->get_current_limit) in tcpm_get_current_limit() 789 limit = port->tcpc->get_current_limit(port->tcpc); in tcpm_get_current_limit() 808 if (port->tcpc->set_current_limit) in tcpm_set_current_limit() 809 ret = port->tcpc->set_current_limit(port->tcpc, max_ma, mv); in tcpm_set_current_limit() 849 return port->tcpc->set_roles(port->tcpc, attached, port->pwr_role, in tcpm_set_attached_state() 894 ret = port->tcpc->set_roles(port->tcpc, attached, role, data); in tcpm_set_roles() [all …]
|
| D | tcpci_mt6360.c | 194 { .compatible = "mediatek,mt6360-tcpc", }, 201 .name = "mt6360-tcpc",
|
| D | tcpci_maxim.c | 5 * MAXIM TCPCI based TCPC driver 248 * have instructed to TCPC to enable boost, so the call is a in process_power_status() 484 { .compatible = "maxim,tcpc", },
|
| /kernel/linux/linux-5.10/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.
|
| /kernel/linux/linux-5.10/include/linux/usb/ |
| D | tcpm.h | 27 /* Time to wait for TCPC to complete transmit */ 116 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);
|
| /kernel/linux/linux-4.19/include/linux/usb/ |
| D | tcpm.h | 36 /* Time to wait for TCPC to complete transmit */ 160 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);
|
| /kernel/linux/linux-4.19/arch/s390/include/asm/ |
| D | stp.h | 17 unsigned int tcpc : 1; /* Time control parameter change */ member
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/ |
| D | typec-tcpci.txt | 6 - "nxp,ptn5110" for NXP USB PD TCPC PHY IC ptn5110.
|
| /kernel/linux/linux-5.10/arch/s390/include/asm/ |
| D | stp.h | 19 u32 tcpc : 1; /* Time control parameter change */ member
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | imx8mn-evk.dtsi | 75 ptn5110: tcpc@50 {
|
| D | imx8mm-evk.dtsi | 240 ptn5110: tcpc@50 {
|
| /kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
| D | skl-debug.c | 86 "Resources:\n\tCPC %#x\n\tIBS %#x\n\tOBS %#x\t\n", in module_read()
|
| /kernel/linux/linux-4.19/arch/mips/kernel/ |
| D | vpe-mt.c | 78 * Write the address we want it to start running from in the TCPC in vpe_run()
|
| /kernel/linux/linux-5.10/arch/mips/kernel/ |
| D | vpe-mt.c | 78 * Write the address we want it to start running from in the TCPC in vpe_run()
|
| /kernel/linux/linux-5.10/arch/s390/kernel/ |
| D | time.c | 506 if (intparm->tsc || intparm->lac || intparm->tcpc) in stp_timing_alert()
|
| /kernel/linux/linux-4.19/arch/s390/kernel/ |
| D | time.c | 563 if (intparm->tsc || intparm->lac || intparm->tcpc) in stp_timing_alert()
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | cros_ec_commands.h | 4823 #define PD_STATUS_TCPC_ALERT_0 BIT(3) /* Alert active in port 0 TCPC */ 4824 #define PD_STATUS_TCPC_ALERT_1 BIT(4) /* Alert active in port 1 TCPC */ 4825 #define PD_STATUS_TCPC_ALERT_2 BIT(5) /* Alert active in port 2 TCPC */ 4826 #define PD_STATUS_TCPC_ALERT_3 BIT(6) /* Alert active in port 3 TCPC */
|