/linux/drivers/usb/typec/tcpm/qcom/ |
H A D | qcom_pmic_typec_pdphy_stub.c | 17 #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 D | qcom_pmic_typec_port.c | 17 #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 D | qcom_pmic_typec_pdphy.c | 17 #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 D | qcom_pmic_typec.h | 16 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 D | qcom_pmic_typec_port.h | 10 #include <linux/usb/tcpm.h> 30 struct pmic_typec *tcpm,
|
H A D | qcom_pmic_typec_pdphy.h | 30 struct pmic_typec *tcpm, 35 struct pmic_typec *tcpm);
|
/linux/include/linux/usb/ |
H A D | tcpm.h | 63 * 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 D | tcpci.h | 12 #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 D | tcpci_maxim.h | 51 * Last returned result to tcpm indicating whether the TCPM port
|
H A D | Makefile | 2 obj-$(CONFIG_TYPEC_TCPM) += tcpm.o
|
H A D | fusb302.c | 31 #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 D | maxim_contaminant.c | 14 #include <linux/usb/tcpm.h>
|
H A D | tcpci_rt1711h.c | 17 #include <linux/usb/tcpm.h>
|
H A D | tcpci_maxim_core.c | 15 #include <linux/usb/tcpm.h>
|
H A D | tcpci.c | 18 #include <linux/usb/tcpm.h>
|
/linux/drivers/usb/typec/ |
H A D | Makefile | 6 obj-$(CONFIG_TYPEC_TCPM) += tcpm/
|
H A D | Kconfig | 49 source "drivers/usb/typec/tcpm/Kconfig"
|
H A D | anx7411.c | 223 /* copy from drivers/usb/typec/tcpm */
|
/linux/net/ipv4/ |
H A D | tcp_recovery.c | 38 /* RACK loss detection (IETF draft draft-ietf-tcpm-rack-01): 116 * draft-cheng-tcpm-rack-00.txt
|
/linux/Documentation/networking/ |
H A D | dctcp.rst | 48 http://tools.ietf.org/html/draft-bensley-tcpm-dctcp-00
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | gpio-sbu-mux.yaml | 68 tcpm {
|
/linux/drivers/usb/typec/mux/ |
H A D | it5205.c | 19 #include <linux/usb/tcpm.h>
|
/linux/include/linux/mfd/ |
H A D | dbx500-prcmu.h | 16 /* Offset for the firmware version within the TCPM */
|
/linux/drivers/extcon/ |
H A D | extcon-intel-cht-wc.c | 544 * 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 D | ste-dbx5x0.dtsi | 621 reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm";
|