Home
last modified time | relevance | path

Searched refs:tcpci (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.15/drivers/usb/typec/tcpm/
H A Dtcpci.c47 struct tcpci *tcpci; argument
86 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_set_cc() local
193 ret = tcpci->data->start_drp_toggling(tcpci, tcpci->data, cc); in tcpci_start_toggling()
339 tcpci->data->set_partner_usb_comm_capable(tcpci, tcpci->data, capable); in tcpci_set_partner_usb_comm_capable()
349 ret = tcpci->data->set_vconn(tcpci, tcpci->data, enable); in tcpci_set_vconn()
438 tcpci->data->frs_sourcing_vbus(tcpci, tcpci->data); in tcpci_frs_sourcing_vbus()
446 tcpci->data->check_contaminant(tcpci, tcpci->data); in tcpci_check_contaminant()
526 ret = tcpci->data->set_vbus(tcpci, tcpci->data, source, sink); in tcpci_set_vbus()
668 ret = tcpci->data->init(tcpci, tcpci->data); in tcpci_init()
833 struct tcpci *tcpci; in tcpci_register_port() local
[all …]
H A Dtcpci_mt6370.c30 struct tcpci *tcpci; member
50 static int mt6370_tcpc_init(struct tcpci *tcpci, struct tcpci_data *data) in mt6370_tcpc_init() argument
70 static int mt6370_tcpc_set_vconn(struct tcpci *tcpci, struct tcpci_data *data, in mt6370_tcpc_set_vconn() argument
78 static int mt6370_tcpc_set_vbus(struct tcpci *tcpci, struct tcpci_data *data, in mt6370_tcpc_set_vbus() argument
102 return tcpci_irq(priv->tcpci); in mt6370_irq_handler()
122 static void mt6370_unregister_tcpci_port(void *tcpci) in mt6370_unregister_tcpci_port() argument
124 tcpci_unregister_port(tcpci); in mt6370_unregister_tcpci_port()
160 priv->tcpci = tcpci_register_port(dev, &priv->tcpci_data); in mt6370_tcpc_probe()
161 if (IS_ERR(priv->tcpci)) in mt6370_tcpc_probe()
162 return dev_err_probe(dev, PTR_ERR(priv->tcpci), in mt6370_tcpc_probe()
[all …]
H A Dtcpci_maxim_core.c204 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus() argument
249 static void max_tcpci_frs_sourcing_vbus(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_frs_sourcing_vbus() argument
256 max_tcpci_set_vbus(tcpci, tdata, true, false); in max_tcpci_frs_sourcing_vbus()
274 static void max_tcpci_set_partner_usb_comm_capable(struct tcpci *tcpci, struct tcpci_data *data, in max_tcpci_set_partner_usb_comm_capable() argument
438 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling() argument
448 static int tcpci_init(struct tcpci *tcpci, struct tcpci_data *data) in tcpci_init() argument
457 static void max_tcpci_check_contaminant(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_check_contaminant() argument
466 static bool max_tcpci_attempt_vconn_swap_discovery(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_attempt_vconn_swap_discovery() argument
480 tcpci_unregister_port(tcpci); in max_tcpci_unregister_tcpci_port()
522 if (IS_ERR(chip->tcpci)) in max_tcpci_probe()
[all …]
H A Dtcpci_mt6360.c41 struct tcpci *tcpci; member
52 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init() argument
136 return tcpci_irq(mti->tcpci); in mt6360_irq()
161 mti->tcpci = tcpci_register_port(&pdev->dev, &mti->tdata); in mt6360_tcpc_probe()
162 if (IS_ERR(mti->tcpci)) { in mt6360_tcpc_probe()
164 return PTR_ERR(mti->tcpci); in mt6360_tcpc_probe()
171 tcpci_unregister_port(mti->tcpci); in mt6360_tcpc_probe()
186 tcpci_unregister_port(mti->tcpci); in mt6360_tcpc_remove()
H A Dtcpci_rt1711h.c64 struct tcpci *tcpci; member
103 static int rt1711h_init(struct tcpci *tcpci, struct tcpci_data *tdata) in rt1711h_init() argument
154 static int rt1711h_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vbus() argument
173 static int rt1711h_set_vconn(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vconn() argument
224 static int rt1711h_start_drp_toggling(struct tcpci *tcpci, in rt1711h_start_drp_toggling() argument
270 if (!chip->tcpci) in rt1711h_irq()
289 return tcpci_irq(chip->tcpci); in rt1711h_irq()
380 chip->tcpci = tcpci_register_port(chip->dev, &chip->data); in rt1711h_probe()
381 if (IS_ERR_OR_NULL(chip->tcpci)) in rt1711h_probe()
382 return PTR_ERR(chip->tcpci); in rt1711h_probe()
[all …]
H A Dtcpci_maxim.h56 struct tcpci *tcpci; member
H A DMakefile6 obj-$(CONFIG_TYPEC_TCPCI) += tcpci.o
/linux-6.15/include/linux/usb/
H A Dtcpci.h175 struct tcpci;
219 int (*init)(struct tcpci *tcpci, struct tcpci_data *data);
220 int (*set_vconn)(struct tcpci *tcpci, struct tcpci_data *data,
222 int (*start_drp_toggling)(struct tcpci *tcpci, struct tcpci_data *data,
225 void (*frs_sourcing_vbus)(struct tcpci *tcpci, struct tcpci_data *data);
226 void (*set_partner_usb_comm_capable)(struct tcpci *tcpci, struct tcpci_data *data,
228 void (*check_contaminant)(struct tcpci *tcpci, struct tcpci_data *data);
229 bool (*attempt_vconn_swap_discovery)(struct tcpci *tcpci, struct tcpci_data *data);
233 void tcpci_unregister_port(struct tcpci *tcpci);
234 irqreturn_t tcpci_irq(struct tcpci *tcpci);
[all …]
/linux-6.15/Documentation/devicetree/bindings/usb/
H A Dnxp,ptn5110.yaml16 - const: tcpci
45 tcpci@50 {
46 compatible = "nxp,ptn5110", "tcpci";
H A Drichtek,rt1711h.txt10 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings
H A Dmaxim,max33359.yaml20 - const: maxim,max77759-tcpci
/linux-6.15/arch/arm64/boot/dts/freescale/
H A Dimx93-9x9-qsb-i3c.dtso28 compatible = "nxp,ptn5110", "tcpci";
H A Dimx8mq-hummingboard-pulse.dts45 compatible = "nxp,ptn5110", "tcpci";
H A Dimx93-11x11-evk.dts413 compatible = "nxp,ptn5110", "tcpci";
446 compatible = "nxp,ptn5110", "tcpci";
H A Dimx8mn-evk.dtsi256 compatible = "nxp,ptn5110", "tcpci";
H A Dimx93-9x9-qsb.dts230 compatible = "nxp,ptn5110", "tcpci";
H A Dimx8mp-beacon-kit.dts385 compatible = "nxp,ptn5110", "tcpci";
H A Dimx95-19x19-evk.dts323 compatible = "nxp,ptn5110", "tcpci";
H A Dimx8mm-evk.dtsi407 compatible = "nxp,ptn5110", "tcpci";
H A Dimx8qxp-mek.dts382 compatible = "nxp,ptn5110", "tcpci";
H A Dimx93-tqma9352-mba93xxca.dts358 compatible = "nxp,ptn5110", "tcpci";
H A Dimx93-tqma9352-mba93xxla.dts312 compatible = "nxp,ptn5110", "tcpci";
H A Dimx8mq-librem5-devkit.dts432 compatible = "nxp,ptn5110", "tcpci";
H A Dimx95-15x15-evk.dts362 compatible = "nxp,ptn5110", "tcpci";
/linux-6.15/arch/arm64/boot/dts/exynos/google/
H A Dgs101-pixel-common.dtsi110 compatible = "maxim,max77759-tcpci", "maxim,max33359";

12