Home
last modified time | relevance | path

Searched refs:usb_roles (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/roles/
H A Dclass.c253 static const char * const usb_roles[] = { variable
261 if (role < 0 || role >= ARRAY_SIZE(usb_roles)) in usb_role_string()
264 return usb_roles[role]; in usb_role_string()
274 return sprintf(buf, "%s\n", usb_roles[role]); in role_show()
283 ret = sysfs_match_string(usb_roles, buf); in role_store()
/linux/drivers/phy/tegra/
H A Dxusb.c587 static const char * const usb_roles[] = { variable
617 usb_roles[role]); in tegra_xusb_usb_phy_work()
627 dev_dbg(&port->dev, "%s(): role %s\n", __func__, usb_roles[role]); in tegra_xusb_role_sw_set()