Lines Matching +full:data +full:- +full:role
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015-2017 Google, Inc
59 * struct tcpc_dev - Port configuration and callback functions
64 * and cc=Rp-def. This allows the tcpm to provide a fallback
65 * current-limit detection method for the cc=Rp-def case.
80 * @set_roles: Called to set power and data roles
82 * Optional; if supported by hardware, called to start dual-role
83 * toggling or single-role connection detection. Toggling stops
85 * @try_role: Optional; called to set a preferred role
87 * @set_bist_data: Turn on/off bist data mode for compliance testing
89 * Optional; Called to enable/disable PD 3.0 fast role swap.
91 * accessories support fast role swap.
115 * partner is capable of communication over the USB data lines
116 * (e.g. D+/- or SS Tx/Rx). Called to notify the status of the bit.
154 enum typec_role role, enum typec_data_role data);
158 int (*try_role)(struct tcpc_dev *dev, int role);