Searched refs:usb_roles (Results 1 – 2 of 2) sorted by relevance
211 static const char * const usb_roles[] = { variable219 if (role < 0 || role >= ARRAY_SIZE(usb_roles)) in usb_role_string()222 return usb_roles[role]; in usb_role_string()232 return sprintf(buf, "%s\n", usb_roles[role]); in role_show()241 ret = sysfs_match_string(usb_roles, buf); in role_store()
580 static const char * const usb_roles[] = { variable610 usb_roles[role]); in tegra_xusb_usb_phy_work()620 dev_dbg(&port->dev, "%s(): role %s\n", __func__, usb_roles[role]); in tegra_xusb_role_sw_set()