Searched refs:usb_roles (Results 1 – 2 of 2) sorted by relevance
253 static const char * const usb_roles[] = { variable261 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()
587 static const char * const usb_roles[] = { variable617 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()