Lines Matching +full:data +full:- +full:role
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015-2017 Google, Inc
55 * struct tcpc_dev - Port configuration and callback functions
60 * and cc=Rp-def. This allows the tcpm to provide a fallback
61 * current-limit detection method for the cc=Rp-def case.
74 * @set_roles: Called to set power and data roles
76 * Optional; if supported by hardware, called to start dual-role
77 * toggling or single-role connection detection. Toggling stops
79 * @try_role: Optional; called to set a preferred role
81 * @set_bist_data: Turn on/off bist data mode for compliance testing
83 * Optional; Called to enable/disable PD 3.0 fast role swap.
85 * accessories support fast role swap.
103 enum typec_role role, enum typec_data_role data);
107 int (*try_role)(struct tcpc_dev *dev, int role);