Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.c18 #include <linux/usb/tcpm.h>
46 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_get_vbus() local
49 mutex_lock(&tcpm->lock); in qcom_pmic_typec_get_vbus()
50 ret = tcpm->vbus_enabled || qcom_pmic_typec_port_get_vbus(tcpm->pmic_typec_port); in qcom_pmic_typec_get_vbus()
51 mutex_unlock(&tcpm->lock); in qcom_pmic_typec_get_vbus()
58 struct pmic_typec *tcpm = tcpc_to_tcpm(tcpc); in qcom_pmic_typec_set_vbus() local
61 mutex_lock(&tcpm->lock); in qcom_pmic_typec_set_vbus()
62 if (tcpm->vbus_enabled == on) in qcom_pmic_typec_set_vbus()
65 ret = qcom_pmic_typec_port_set_vbus(tcpm->pmic_typec_port, on); in qcom_pmic_typec_set_vbus()
69 tcpm->vbus_enabled = on; in qcom_pmic_typec_set_vbus()
[all …]
H A Dqcom_pmic_typec_pdphy.h11 #include <linux/usb/tcpm.h>
H A Dqcom_pmic_typec_pdphy.c16 #include <linux/usb/tcpm.h>
301 dev_vdbg(dev, "pd_receive: handing %d bytes to tcpm\n", size); in qcom_pmic_typec_pdphy_pd_receive()
H A Dqcom_pmic_typec_port.h10 #include <linux/usb/tcpm.h>
H A Dqcom_pmic_typec_port.c16 #include <linux/usb/tcpm.h>
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dwcove.c11 #include <linux/usb/tcpm.h>
155 struct tcpm_port *tcpm; member
492 if (!wcove->tcpm) in wcove_typec_irq()
509 tcpm_vbus_change(wcove->tcpm); in wcove_typec_irq()
511 /* REVISIT: See if tcpm code can be made to consider Type-C HW FSMs */ in wcove_typec_irq()
513 tcpm_cc_change(wcove->tcpm); in wcove_typec_irq()
538 tcpm_pd_receive(wcove->tcpm, &msg); in wcove_typec_irq()
548 tcpm_pd_hard_reset(wcove->tcpm); in wcove_typec_irq()
553 tcpm_pd_transmit_complete(wcove->tcpm, TCPC_TX_SUCCESS); in wcove_typec_irq()
556 tcpm_pd_transmit_complete(wcove->tcpm, TCPC_TX_FAILED); in wcove_typec_irq()
[all …]
H A Dtcpci_maxim.h55 * Last returned result to tcpm indicating whether the TCPM port
H A DMakefile2 obj-$(CONFIG_TYPEC_TCPM) += tcpm.o
H A Dfusb302.c30 #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 Dtcpci_mt6360.c15 #include <linux/usb/tcpm.h>
H A Dtcpci_mt6370.c19 #include <linux/usb/tcpm.h>
H A Dtcpm.c31 #include <linux/usb/tcpm.h>
302 struct mutex lock; /* tcpm state machine lock */
491 * of contaminant in the connector pins based on the tcpm state machine
762 snprintf(name, NAME_MAX, "tcpm-%s", dev_name(port->dev)); in tcpm_debugfs_init()
1850 * 1. tcpm_pd_rx_handler take the tcpm port lock in tcpm_handle_vdm_request()
1856 * tcpm port lock in tcpm_handle_vdm_request()
4250 * TCPM stays in this state indefinitely until VBUS in run_state_machine()
4515 * If tcpc fails to notify vbus off, TCPM will wait for PD_T_SAFE_0V + in run_state_machine()
5287 /* Do nothing, as TCPM is still waiting for vbus to reaach VSAFE5V to connect */ in _tcpm_pd_vbus_off()
5304 * TCPM can wait for PD_T_NEWSRC in PR_SWAP_SNK_SRC_SOURCE_ON in _tcpm_pd_vbus_off()
[all …]
H A Dmaxim_contaminant.c13 #include <linux/usb/tcpm.h>
H A Dtcpci_rt1711h.c15 #include <linux/usb/tcpm.h>
H A Dtcpci_maxim_core.c15 #include <linux/usb/tcpm.h>
/openbmc/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
H A Dtcpci.h12 #include <linux/usb/tcpm.h>
/openbmc/linux/drivers/usb/typec/
H A DMakefile6 obj-$(CONFIG_TYPEC_TCPM) += tcpm/
H A DKconfig49 source "drivers/usb/typec/tcpm/Kconfig"
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dstericsson,db8500-prcmu.yaml35 - description: PRCMU TCPM register area
41 - const: prcmu-tcpm
/openbmc/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
/openbmc/linux/Documentation/networking/
H A Ddctcp.rst48 http://tools.ietf.org/html/draft-bensley-tcpm-dctcp-00
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dgpio-sbu-mux.yaml63 tcpm {
/openbmc/linux/include/linux/mfd/
H A Ddbx500-prcmu.h16 /* Offset for the firmware version within the TCPM */
/openbmc/linux/drivers/i2c/busses/
H A Di2c-cht-wc.c269 "tcpm-source-psy-i2c-fusb302" };

12