Lines Matching +full:port +full:- +full:level
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015-2017 Google, Inc
59 * struct tcpc_dev - Port configuration and callback functions
60 * @fwnode: Pointer to port fwnode
64 * and cc=Rp-def. This allows the tcpm to provide a fallback
65 * current-limit detection method for the cc=Rp-def case.
82 * Optional; if supported by hardware, called to start dual-role
83 * toggling or single-role connection detection. Toggling stops
94 * Low level drivers can perform chip specific operations, if any.
109 * detect VSAFE0V voltage level at vbus. When detection of VSAFE0V
114 * Optional; The USB Communications Capable bit indicates if port
116 * (e.g. D+/- or SS Tx/Rx). Called to notify the status of the bit.
119 * at the end of the deboumce period or when the port is still
120 * toggling. Chip level drivers are expected to check for contaminant
121 * and call tcpm_clean_port when the port is clean.
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);
173 void tcpm_tcpc_reset(struct tcpm_port *port);
174 void tcpm_port_clean(struct tcpm_port *port);
175 bool tcpm_port_is_toggling(struct tcpm_port *port);
176 void tcpm_port_error_recovery(struct tcpm_port *port);