Home
last modified time | relevance | path

Searched refs:tcpm_port (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/include/linux/usb/
Dtcpm.h174 struct tcpm_port;
176 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);
177 void tcpm_unregister_port(struct tcpm_port *port);
179 void tcpm_vbus_change(struct tcpm_port *port);
180 void tcpm_cc_change(struct tcpm_port *port);
181 void tcpm_sink_frs(struct tcpm_port *port);
182 void tcpm_sourcing_vbus(struct tcpm_port *port);
183 void tcpm_pd_receive(struct tcpm_port *port,
186 void tcpm_pd_transmit_complete(struct tcpm_port *port,
188 void tcpm_pd_hard_reset(struct tcpm_port *port);
[all …]
Dtcpci.h236 struct tcpm_port;
237 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci);
/linux-6.12.1/drivers/usb/typec/tcpm/qcom/
Dqcom_pmic_typec.h11 struct tcpm_port *tcpm_port; member
17 struct tcpm_port *tcpm_port);
21 struct tcpm_port *tcpm_port);
Dqcom_pmic_typec.c101 tcpm->tcpm_port = tcpm_register_port(tcpm->dev, &tcpm->tcpc); in qcom_pmic_typec_probe()
102 if (IS_ERR(tcpm->tcpm_port)) { in qcom_pmic_typec_probe()
103 ret = PTR_ERR(tcpm->tcpm_port); in qcom_pmic_typec_probe()
107 ret = tcpm->port_start(tcpm, tcpm->tcpm_port); in qcom_pmic_typec_probe()
111 ret = tcpm->pdphy_start(tcpm, tcpm->tcpm_port); in qcom_pmic_typec_probe()
126 tcpm_unregister_port(tcpm->tcpm_port); in qcom_pmic_typec_probe()
139 tcpm_unregister_port(tcpm->tcpm_port); in qcom_pmic_typec_remove()
Dqcom_pmic_typec_pdphy.c93 struct tcpm_port *tcpm_port; member
152 tcpm_pd_hard_reset(pmic_typec_pdphy->tcpm_port); in qcom_pmic_typec_pdphy_sig_reset_work()
370 tcpm_pd_receive(pmic_typec_pdphy->tcpm_port, &msg, TCPC_TX_SOP); in qcom_pmic_typec_pdphy_pd_receive()
388 tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port, in qcom_pmic_typec_pdphy_isr()
395 tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port, in qcom_pmic_typec_pdphy_isr()
399 tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port, in qcom_pmic_typec_pdphy_isr()
511 struct tcpm_port *tcpm_port) in qcom_pmic_typec_pdphy_start() argument
521 pmic_typec_pdphy->tcpm_port = tcpm_port; in qcom_pmic_typec_pdphy_start()
Dqcom_pmic_typec_pdphy_stub.c30 tcpm_pd_transmit_complete(tcpm->tcpm_port, in qcom_pmic_typec_pdphy_stub_pd_transmit()
60 struct tcpm_port *tcpm_port) in qcom_pmic_typec_pdphy_stub_start() argument
Dqcom_pmic_typec_port.c168 struct tcpm_port *tcpm_port; member
267 tcpm_vbus_change(pmic_typec_port->tcpm_port); in pmic_typec_port_isr()
270 tcpm_cc_change(pmic_typec_port->tcpm_port); in pmic_typec_port_isr()
351 tcpm_vbus_change(tcpm->tcpm_port); in qcom_pmic_typec_port_set_vbus()
637 struct tcpm_port *tcpm_port) in qcom_pmic_typec_port_start() argument
678 pmic_typec_port->tcpm_port = tcpm_port; in qcom_pmic_typec_port_start()
/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpm.c313 struct tcpm_port { struct
566 struct tcpm_port *port; argument
628 static enum tcpm_state tcpm_default_state(struct tcpm_port *port) in tcpm_default_state()
642 static bool tcpm_port_is_disconnected(struct tcpm_port *port) in tcpm_port_is_disconnected()
658 static bool tcpm_log_full(struct tcpm_port *port) in tcpm_log_full()
665 static void _tcpm_log(struct tcpm_port *port, const char *fmt, va_list args) in _tcpm_log()
713 static void tcpm_log(struct tcpm_port *port, const char *fmt, ...) in tcpm_log()
729 static void tcpm_log_force(struct tcpm_port *port, const char *fmt, ...) in tcpm_log_force()
738 static void tcpm_log_source_caps(struct tcpm_port *port) in tcpm_log_source_caps()
801 struct tcpm_port *port = s->private; in tcpm_debug_show()
[all …]
Dfusb302.c76 struct tcpm_port *tcpm_port; member
1102 tcpm_cc_change(chip->tcpm_port); in fusb302_bc_lvl_handler_work()
1110 tcpm_cc_change(chip->tcpm_port); in fusb302_bc_lvl_handler_work()
1218 tcpm_cc_change(chip->tcpm_port); in fusb302_handle_togdone_snk()
1362 tcpm_cc_change(chip->tcpm_port); in fusb302_handle_togdone_src()
1468 tcpm_pd_transmit_complete(chip->tcpm_port, TCPC_TX_SUCCESS); in fusb302_pd_read_message()
1470 tcpm_pd_receive(chip->tcpm_port, msg, TCPC_TX_SOP); in fusb302_pd_read_message()
1537 tcpm_vbus_change(chip->tcpm_port); in fusb302_irq_work()
1570 tcpm_cc_change(chip->tcpm_port); in fusb302_irq_work()
1576 tcpm_pd_transmit_complete(chip->tcpm_port, TCPC_TX_FAILED); in fusb302_irq_work()
[all …]
Dtcpci_maxim.h59 struct tcpm_port *port;
Dtcpci.c34 struct tcpm_port *port;
50 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci) in tcpci_get_tcpm_port()
Dwcove.c155 struct tcpm_port *tcpm;