Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/usb/
H A Dtcpm.h159 struct tcpm_port;
161 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);
162 void tcpm_unregister_port(struct tcpm_port *port);
164 void tcpm_vbus_change(struct tcpm_port *port);
165 void tcpm_cc_change(struct tcpm_port *port);
166 void tcpm_sink_frs(struct tcpm_port *port);
167 void tcpm_sourcing_vbus(struct tcpm_port *port);
168 void tcpm_pd_receive(struct tcpm_port *port,
170 void tcpm_pd_transmit_complete(struct tcpm_port *port,
172 void tcpm_pd_hard_reset(struct tcpm_port *port);
[all …]
H A Dtcpci.h221 struct tcpm_port;
222 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci);
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c299 struct tcpm_port { struct
506 struct tcpm_port *port; argument
567 static enum tcpm_state tcpm_default_state(struct tcpm_port *port) in tcpm_default_state()
581 static bool tcpm_port_is_disconnected(struct tcpm_port *port) in tcpm_port_is_disconnected()
597 static bool tcpm_log_full(struct tcpm_port *port) in tcpm_log_full()
604 static void _tcpm_log(struct tcpm_port *port, const char *fmt, va_list args) in _tcpm_log()
652 static void tcpm_log(struct tcpm_port *port, const char *fmt, ...) in tcpm_log()
668 static void tcpm_log_force(struct tcpm_port *port, const char *fmt, ...) in tcpm_log_force()
677 static void tcpm_log_source_caps(struct tcpm_port *port) in tcpm_log_source_caps()
740 struct tcpm_port *port = s->private; in tcpm_debug_show()
[all …]
H A 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); 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 …]
H A Dtcpci_maxim.h63 struct tcpm_port *port;
H A Dtcpci.c33 struct tcpm_port *port;
49 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci) in tcpci_get_tcpm_port()
H A Dwcove.c155 struct tcpm_port *tcpm;
/openbmc/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.c33 struct tcpm_port *tcpm_port; member
70 tcpm_vbus_change(tcpm->tcpm_port); in qcom_pmic_typec_set_vbus()
252 tcpm->tcpm_port = tcpm_register_port(tcpm->dev, &tcpm->tcpc); in qcom_pmic_typec_probe()
253 if (IS_ERR(tcpm->tcpm_port)) { in qcom_pmic_typec_probe()
254 ret = PTR_ERR(tcpm->tcpm_port); in qcom_pmic_typec_probe()
259 tcpm->tcpm_port); in qcom_pmic_typec_probe()
264 tcpm->tcpm_port); in qcom_pmic_typec_probe()
282 tcpm_unregister_port(tcpm->tcpm_port); in qcom_pmic_typec_remove()
H A Dqcom_pmic_typec_pdphy.c27 struct tcpm_port *tcpm_port; member
86 tcpm_pd_hard_reset(pmic_typec_pdphy->tcpm_port); in qcom_pmic_typec_pdphy_sig_reset_work()
302 tcpm_pd_receive(pmic_typec_pdphy->tcpm_port, &msg); in qcom_pmic_typec_pdphy_pd_receive()
320 tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port, in qcom_pmic_typec_pdphy_isr()
327 tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port, in qcom_pmic_typec_pdphy_isr()
331 tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port, in qcom_pmic_typec_pdphy_isr()
439 struct tcpm_port *tcpm_port) in qcom_pmic_typec_pdphy_start() argument
448 pmic_typec_pdphy->tcpm_port = tcpm_port; in qcom_pmic_typec_pdphy_start()
H A Dqcom_pmic_typec_port.c29 struct tcpm_port *tcpm_port; member
126 tcpm_vbus_change(pmic_typec_port->tcpm_port); in pmic_typec_port_isr()
129 tcpm_cc_change(pmic_typec_port->tcpm_port); in pmic_typec_port_isr()
444 struct tcpm_port *tcpm_port) in qcom_pmic_typec_port_start() argument
484 pmic_typec_port->tcpm_port = tcpm_port; in qcom_pmic_typec_port_start()
H A Dqcom_pmic_typec_pdphy.h105 struct tcpm_port *tcpm_port);
H A Dqcom_pmic_typec_port.h174 struct tcpm_port *tcpm_port);