Searched refs:tcpm_port (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/include/linux/usb/ |
D | tcpm.h | 174 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 …]
|
D | tcpci.h | 236 struct tcpm_port; 237 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci);
|
/linux-6.12.1/drivers/usb/typec/tcpm/qcom/ |
D | qcom_pmic_typec.h | 11 struct tcpm_port *tcpm_port; member 17 struct tcpm_port *tcpm_port); 21 struct tcpm_port *tcpm_port);
|
D | qcom_pmic_typec.c | 101 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()
|
D | qcom_pmic_typec_pdphy.c | 93 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()
|
D | qcom_pmic_typec_pdphy_stub.c | 30 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
|
D | qcom_pmic_typec_port.c | 168 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/ |
D | tcpm.c | 313 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 …]
|
D | fusb302.c | 76 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 …]
|
D | tcpci_maxim.h | 59 struct tcpm_port *port;
|
D | tcpci.c | 34 struct tcpm_port *port; 50 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci) in tcpci_get_tcpm_port()
|
D | wcove.c | 155 struct tcpm_port *tcpm;
|