Home
last modified time | relevance | path

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

123

/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/qcom/
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 …]
Dqcom_pmic_typec_pdphy.h11 #include <linux/usb/tcpm.h>
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()
Dqcom_pmic_typec_port.h10 #include <linux/usb/tcpm.h>
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
Dwcove.c11 #include <linux/usb/tcpm.h>
155 struct tcpm_port *tcpm; member
491 if (!wcove->tcpm) in wcove_typec_irq()
508 tcpm_vbus_change(wcove->tcpm); in wcove_typec_irq()
510 /* REVISIT: See if tcpm code can be made to consider Type-C HW FSMs */ in wcove_typec_irq()
512 tcpm_cc_change(wcove->tcpm); in wcove_typec_irq()
537 tcpm_pd_receive(wcove->tcpm, &msg); in wcove_typec_irq()
547 tcpm_pd_hard_reset(wcove->tcpm); in wcove_typec_irq()
552 tcpm_pd_transmit_complete(wcove->tcpm, TCPC_TX_SUCCESS); in wcove_typec_irq()
555 tcpm_pd_transmit_complete(wcove->tcpm, TCPC_TX_FAILED); in wcove_typec_irq()
[all …]
DMakefile2 obj-$(CONFIG_TYPEC_TCPM) += tcpm.o
Dfusb302.c30 #include <linux/usb/tcpm.h>
1203 /* update tcpm with the new cc value */ in fusb302_handle_togdone_snk()
1351 /* update tcpm with the new cc value */ in fusb302_handle_togdone_src()
1452 * TCPM that the previous transmission has completed. Otherwise we pass in fusb302_pd_read_message()
1453 * the received message over to TCPM for processing. in fusb302_pd_read_message()
1458 * to check the message type to ensure correct reporting to TCPM. in fusb302_pd_read_message()
1741 dev_err(dev, "cannot register tcpm port, ret=%d", ret); in fusb302_probe()
Dtcpci_maxim.c17 #include <linux/usb/tcpm.h>
247 * In normal case, when say an headset is attached, TCPM would in process_power_status()
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/
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 …]
Dtcpci_maxim.h55 * Last returned result to tcpm indicating whether the TCPM port
DMakefile2 obj-$(CONFIG_TYPEC_TCPM) += tcpm.o
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()
Dtcpci_mt6360.c15 #include <linux/usb/tcpm.h>
/kernel/linux/linux-6.6/include/linux/usb/
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
/kernel/linux/linux-5.10/include/linux/usb/
Dtcpm.h59 * Optional; called by the tcpm core when configured as a snk
60 * and cc=Rp-def. This allows the tcpm to provide a fallback
/kernel/linux/linux-5.10/drivers/usb/typec/
DMakefile5 obj-$(CONFIG_TYPEC_TCPM) += tcpm/
DKconfig49 source "drivers/usb/typec/tcpm/Kconfig"
/kernel/linux/linux-6.6/drivers/usb/typec/
DMakefile6 obj-$(CONFIG_TYPEC_TCPM) += tcpm/
DKconfig49 source "drivers/usb/typec/tcpm/Kconfig"
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dstericsson,db8500-prcmu.yaml35 - description: PRCMU TCPM register area
41 - const: prcmu-tcpm
/kernel/linux/linux-6.6/net/ipv4/
Dtcp_recovery.c38 /* RACK loss detection (IETF draft draft-ietf-tcpm-rack-01):
116 * draft-cheng-tcpm-rack-00.txt
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_recovery.c43 /* RACK loss detection (IETF draft draft-ietf-tcpm-rack-01):
121 * draft-cheng-tcpm-rack-00.txt
/kernel/linux/linux-6.6/Documentation/networking/
Ddctcp.rst48 http://tools.ietf.org/html/draft-bensley-tcpm-dctcp-00
/kernel/linux/linux-5.10/Documentation/networking/
Ddctcp.rst48 http://tools.ietf.org/html/draft-bensley-tcpm-dctcp-00
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
Dgpio-sbu-mux.yaml63 tcpm {

123