/openbmc/linux/drivers/usb/typec/tcpm/qcom/ |
H A D | qcom_pmic_typec.c | 18 #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 D | qcom_pmic_typec_pdphy.h | 11 #include <linux/usb/tcpm.h>
|
H A D | qcom_pmic_typec_pdphy.c | 16 #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 D | qcom_pmic_typec_port.h | 10 #include <linux/usb/tcpm.h>
|
H A D | qcom_pmic_typec_port.c | 16 #include <linux/usb/tcpm.h>
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | wcove.c | 11 #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 D | tcpci_maxim.h | 55 * 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 | 30 #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 | tcpci_mt6360.c | 15 #include <linux/usb/tcpm.h>
|
H A D | tcpci_mt6370.c | 19 #include <linux/usb/tcpm.h>
|
H A D | tcpm.c | 31 #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 D | maxim_contaminant.c | 13 #include <linux/usb/tcpm.h>
|
H A D | tcpci_rt1711h.c | 15 #include <linux/usb/tcpm.h>
|
H A D | tcpci_maxim_core.c | 15 #include <linux/usb/tcpm.h>
|
/openbmc/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
|
H A D | tcpci.h | 12 #include <linux/usb/tcpm.h>
|
/openbmc/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"
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | stericsson,db8500-prcmu.yaml | 35 - description: PRCMU TCPM register area 41 - const: prcmu-tcpm
|
/openbmc/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
|
/openbmc/linux/Documentation/networking/ |
H A D | dctcp.rst | 48 http://tools.ietf.org/html/draft-bensley-tcpm-dctcp-00
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | gpio-sbu-mux.yaml | 63 tcpm {
|
/openbmc/linux/include/linux/mfd/ |
H A D | dbx500-prcmu.h | 16 /* Offset for the firmware version within the TCPM */
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-cht-wc.c | 269 "tcpm-source-psy-i2c-fusb302" };
|