Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.h11 struct tcpm_port *tcpm_port; member
17 struct tcpm_port *tcpm_port);
21 struct tcpm_port *tcpm_port);
H A Dqcom_pmic_typec.c95 tcpm->tcpm_port = tcpm_register_port(tcpm->dev, &tcpm->tcpc); in qcom_pmic_typec_probe()
96 if (IS_ERR(tcpm->tcpm_port)) { in qcom_pmic_typec_probe()
97 ret = PTR_ERR(tcpm->tcpm_port); in qcom_pmic_typec_probe()
101 ret = tcpm->port_start(tcpm, tcpm->tcpm_port); in qcom_pmic_typec_probe()
105 ret = tcpm->pdphy_start(tcpm, tcpm->tcpm_port); in qcom_pmic_typec_probe()
120 tcpm_unregister_port(tcpm->tcpm_port); in qcom_pmic_typec_probe()
133 tcpm_unregister_port(tcpm->tcpm_port); in qcom_pmic_typec_remove()
H A 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()
H A 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
H A Dqcom_pmic_typec_port.c169 struct tcpm_port *tcpm_port; member
268 tcpm_vbus_change(pmic_typec_port->tcpm_port); in pmic_typec_port_isr()
271 tcpm_cc_change(pmic_typec_port->tcpm_port); in pmic_typec_port_isr()
352 tcpm_vbus_change(tcpm->tcpm_port); in qcom_pmic_typec_port_set_vbus()
639 struct tcpm_port *tcpm_port) in qcom_pmic_typec_port_start() argument
680 pmic_typec_port->tcpm_port = tcpm_port; in qcom_pmic_typec_port_start()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c459 struct tcpm_port { struct
724 struct tcpm_port *port; argument
731 struct tcpm_port *port;
804 static enum tcpm_state tcpm_default_state(struct tcpm_port *port) in tcpm_default_state()
818 static bool tcpm_port_is_disconnected(struct tcpm_port *port) in tcpm_port_is_disconnected()
834 static bool tcpm_log_full(struct tcpm_port *port) in tcpm_log_full()
841 static void _tcpm_log(struct tcpm_port *port, const char *fmt, va_list args) in _tcpm_log()
889 static void tcpm_log(struct tcpm_port *port, const char *fmt, ...) in tcpm_log()
905 static void tcpm_log_force(struct tcpm_port *port, const char *fmt, ...) in tcpm_log_force()
914 static void tcpm_log_source_caps(struct tcpm_port *port) in tcpm_log_source_caps()
[all …]
H A Dwcove.c155 struct tcpm_port *tcpm;