Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/usb/
Dtcpm.h153 struct tcpm_port;
155 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);
156 void tcpm_unregister_port(struct tcpm_port *port);
158 void tcpm_vbus_change(struct tcpm_port *port);
159 void tcpm_cc_change(struct tcpm_port *port);
160 void tcpm_sink_frs(struct tcpm_port *port);
161 void tcpm_sourcing_vbus(struct tcpm_port *port);
162 void tcpm_pd_receive(struct tcpm_port *port,
164 void tcpm_pd_transmit_complete(struct tcpm_port *port,
166 void tcpm_pd_hard_reset(struct tcpm_port *port);
[all …]
Dtcpci.h213 struct tcpm_port;
214 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci);
/linux-6.1.9/drivers/usb/typec/tcpm/
Dtcpm.c297 struct tcpm_port { struct
497 struct tcpm_port *port; argument
558 static enum tcpm_state tcpm_default_state(struct tcpm_port *port) in tcpm_default_state()
572 static bool tcpm_port_is_disconnected(struct tcpm_port *port) in tcpm_port_is_disconnected()
588 static bool tcpm_log_full(struct tcpm_port *port) in tcpm_log_full()
595 static void _tcpm_log(struct tcpm_port *port, const char *fmt, va_list args) in _tcpm_log()
643 static void tcpm_log(struct tcpm_port *port, const char *fmt, ...) in tcpm_log()
659 static void tcpm_log_force(struct tcpm_port *port, const char *fmt, ...) in tcpm_log_force()
668 static void tcpm_log_source_caps(struct tcpm_port *port) in tcpm_log_source_caps()
731 struct tcpm_port *port = (struct tcpm_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); 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.c33 struct tcpm_port *port;
48 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci) in tcpci_get_tcpm_port()
Dtcpci_maxim.c47 struct tcpm_port *port;
Dwcove.c155 struct tcpm_port *tcpm;