Home
last modified time | relevance | path

Searched full:tcpm (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy_stub.c17 #include <linux/usb/tcpm.h>
26 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_pdphy_stub_pd_transmit()
27 struct device *dev = tcpm->dev; in qcom_pmic_typec_pdphy_stub_pd_transmit()
31 tcpm_pd_transmit_complete(tcpm->tcpm_port, in qcom_pmic_typec_pdphy_stub_pd_transmit()
39 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_pdphy_stub_set_pd_rx()
40 struct device *dev = tcpm->dev; in qcom_pmic_typec_pdphy_stub_set_pd_rx()
51 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_pdphy_stub_set_roles()
52 struct device *dev = tcpm->dev; in qcom_pmic_typec_pdphy_stub_set_roles()
60 static int qcom_pmic_typec_pdphy_stub_start(struct pmic_typec *tcpm, in qcom_pmic_typec_pdphy_stub_start()
66 static void qcom_pmic_typec_pdphy_stub_stop(struct pmic_typec *tcpm) in qcom_pmic_typec_pdphy_stub_stop()
25 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_pdphy_stub_pd_transmit() local
38 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_pdphy_stub_set_pd_rx() local
50 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_pdphy_stub_set_roles() local
59 qcom_pmic_typec_pdphy_stub_start(struct pmic_typec * tcpm,struct tcpm_port * tcpm_port) qcom_pmic_typec_pdphy_stub_start() argument
65 qcom_pmic_typec_pdphy_stub_stop(struct pmic_typec * tcpm) qcom_pmic_typec_pdphy_stub_stop() argument
70 qcom_pmic_typec_pdphy_stub_probe(struct platform_device * pdev,struct pmic_typec * tcpm) qcom_pmic_typec_pdphy_stub_probe() argument
[all...]
H A Dqcom_pmic_typec_port.c17 #include <linux/usb/tcpm.h>
326 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_port_get_vbus()
327 struct pmic_typec_port *pmic_typec_port = tcpm->pmic_typec_port; in qcom_pmic_typec_port_get_vbus()
339 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_port_set_vbus()
340 struct pmic_typec_port *pmic_typec_port = tcpm->pmic_typec_port; in qcom_pmic_typec_port_set_vbus()
352 tcpm_vbus_change(tcpm->tcpm_port); in qcom_pmic_typec_port_set_vbus()
355 dev_dbg(tcpm->dev, "set_vbus set: %d result %d\n", on, ret); in qcom_pmic_typec_port_set_vbus()
365 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_port_get_cc()
366 struct pmic_typec_port *pmic_typec_port = tcpm->pmic_typec_port; in qcom_pmic_typec_port_get_cc()
461 struct pmic_typec *tcpm in qcom_pmic_typec_port_set_cc()
325 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_port_get_vbus() local
338 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_port_set_vbus() local
364 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_port_get_cc() local
460 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_port_set_cc() local
534 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_port_set_vconn() local
574 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_port_start_toggling() local
636 qcom_pmic_typec_port_start(struct pmic_typec * tcpm,struct tcpm_port * tcpm_port) qcom_pmic_typec_port_start() argument
687 qcom_pmic_typec_port_stop(struct pmic_typec * tcpm) qcom_pmic_typec_port_stop() argument
697 qcom_pmic_typec_port_probe(struct platform_device * pdev,struct pmic_typec * tcpm,const struct pmic_typec_port_resources * res,struct regmap * regmap,u32 base) qcom_pmic_typec_port_probe() argument
[all...]
H A Dqcom_pmic_typec_pdphy.c17 #include <linux/usb/tcpm.h>
306 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_pdphy_pd_transmit()
307 struct pmic_typec_pdphy *pmic_typec_pdphy = tcpm->pmic_typec_pdphy; in qcom_pmic_typec_pdphy_pd_transmit()
370 dev_vdbg(dev, "pd_receive: handing %d bytes to tcpm\n", size); in qcom_pmic_typec_pdphy_pd_receive()
410 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_pdphy_set_pd_rx()
411 struct pmic_typec_pdphy *pmic_typec_pdphy = tcpm->pmic_typec_pdphy; in qcom_pmic_typec_pdphy_set_pd_rx()
431 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_pdphy_set_roles()
432 struct pmic_typec_pdphy *pmic_typec_pdphy = tcpm->pmic_typec_pdphy; in qcom_pmic_typec_pdphy_set_roles()
511 static int qcom_pmic_typec_pdphy_start(struct pmic_typec *tcpm, in qcom_pmic_typec_pdphy_start()
514 struct pmic_typec_pdphy *pmic_typec_pdphy = tcpm in qcom_pmic_typec_pdphy_start()
305 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_pdphy_pd_transmit() local
409 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_pdphy_set_pd_rx() local
430 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); qcom_pmic_typec_pdphy_set_roles() local
510 qcom_pmic_typec_pdphy_start(struct pmic_typec * tcpm,struct tcpm_port * tcpm_port) qcom_pmic_typec_pdphy_start() argument
538 qcom_pmic_typec_pdphy_stop(struct pmic_typec * tcpm) qcom_pmic_typec_pdphy_stop() argument
552 qcom_pmic_typec_pdphy_probe(struct platform_device * pdev,struct pmic_typec * tcpm,const struct pmic_typec_pdphy_resources * res,struct regmap * regmap,u32 base) qcom_pmic_typec_pdphy_probe() argument
[all...]
H A Dqcom_pmic_typec.h16 int (*pdphy_start)(struct pmic_typec *tcpm,
18 void (*pdphy_stop)(struct pmic_typec *tcpm);
20 int (*port_start)(struct pmic_typec *tcpm,
22 void (*port_stop)(struct pmic_typec *tcpm);
H A Dqcom_pmic_typec_port.h10 #include <linux/usb/tcpm.h>
30 struct pmic_typec *tcpm,
H A Dqcom_pmic_typec_pdphy.h30 struct pmic_typec *tcpm,
35 struct pmic_typec *tcpm);
/linux/include/linux/usb/
H A Dtcpm.h63 * Optional; called by the tcpm core when configured as a snk
64 * and cc=Rp-def. This allows the tcpm to provide a fallback
98 * as sink or source. TCPM signals TCPC to enable the mechanism upon
101 * Mandatory when enable_auto_vbus_discharge is implemented. TCPM
110 * is supported by TCPC, set this callback for TCPM to query
126 * Optional; The callback is called by the TCPM when the result of
131 * Return true when the TCPM is allowed to request a Vconn swap
H A Dtcpci.h12 #include <linux/usb/tcpm.h>
200 * Optional; The callback is called by the TCPM when the result of
205 * Return true when the TCPM is allowed to request a Vconn swap
/linux/drivers/usb/typec/tcpm/
H A Dtcpci_maxim.h51 * Last returned result to tcpm indicating whether the TCPM port
H A DMakefile2 obj-$(CONFIG_TYPEC_TCPM) += tcpm.o
H A Dfusb302.c31 #include <linux/usb/tcpm.h>
1210 /* update tcpm with the new cc value */ in fusb302_handle_togdone_snk()
1358 /* update tcpm with the new cc value */ in fusb302_handle_togdone_src()
1459 * TCPM that the previous transmission has completed. Otherwise we pass in fusb302_pd_read_message()
1460 * the received message over to TCPM for processing. in fusb302_pd_read_message()
1465 * to check the message type to ensure correct reporting to TCPM. in fusb302_pd_read_message()
1746 "cannot register tcpm port\n"); in fusb302_probe()
H A Dmaxim_contaminant.c14 #include <linux/usb/tcpm.h>
H A Dtcpci_rt1711h.c17 #include <linux/usb/tcpm.h>
H A Dtcpci_maxim_core.c15 #include <linux/usb/tcpm.h>
H A Dtcpci.c18 #include <linux/usb/tcpm.h>
/linux/drivers/usb/typec/
H A DMakefile6 obj-$(CONFIG_TYPEC_TCPM) += tcpm/
H A DKconfig49 source "drivers/usb/typec/tcpm/Kconfig"
H A Danx7411.c223 /* copy from drivers/usb/typec/tcpm */
/linux/net/ipv4/
H A Dtcp_recovery.c38 /* RACK loss detection (IETF draft draft-ietf-tcpm-rack-01):
116 * draft-cheng-tcpm-rack-00.txt
/linux/Documentation/networking/
H A Ddctcp.rst48 http://tools.ietf.org/html/draft-bensley-tcpm-dctcp-00
/linux/Documentation/devicetree/bindings/usb/
H A Dgpio-sbu-mux.yaml68 tcpm {
/linux/drivers/usb/typec/mux/
H A Dit5205.c19 #include <linux/usb/tcpm.h>
/linux/include/linux/mfd/
H A Ddbx500-prcmu.h16 /* Offset for the firmware version within the TCPM */
/linux/drivers/extcon/
H A Dextcon-intel-cht-wc.c544 * models the detected charger (idem to how the Type-C TCPM code in cht_wc_extcon_probe()
/linux/arch/arm/boot/dts/st/
H A Dste-dbx5x0.dtsi621 reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm";

12