Home
last modified time | relevance | path

Searched refs:try_role (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/usb/
H A Dtcpm.h158 int (*try_role)(struct tcpc_dev *dev, int role); member
H A Dtypec.h249 * @try_role: Set data role preference for DRP port
260 int (*try_role)(struct typec_port *port, int role);
314 /* Specific to try_role(). Indicates the user want's to clear the preference. */
245 int (*try_role)(struct typec_port *port, int role); global() member
/linux/drivers/usb/typec/
H A Dwusb3801.c208 .try_role = wusb3801_try_role,
H A Dclass.c1623 if (!port->ops || !port->ops->try_role) { in preferred_role_store()
1636 ret = port->ops->try_role(port, role); in preferred_role_store()
1965 !port->ops || !port->ops->try_role) in typec_attr_is_visible()