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.
127 * a Discover Identity request indicates that the port partner is
128 * a receptacle capable of modal operation. Chip level TCPCI drivers
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);
189 void tcpm_tcpc_reset(struct tcpm_port *port);
190 void tcpm_port_clean(struct tcpm_port *port);
191 bool tcpm_port_is_toggling(struct tcpm_port *port);
192 void tcpm_port_error_recovery(struct tcpm_port *port);