Home
last modified time | relevance | path

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

/drivers/usb/core/
Dhub.c1079 u16 hubstatus, hubchange; in hub_configure() local
1244 ret = usb_get_status(hdev, USB_RECIP_DEVICE, 0, &hubstatus); in hub_configure()
1249 le16_to_cpus(&hubstatus); in hub_configure()
1257 } else if ((hubstatus & (1 << USB_DEVICE_SELF_POWERED)) == 0) { in hub_configure()
1293 ret = hub_hub_status(hub, &hubstatus, &hubchange); in hub_configure()
1302 (hubstatus & HUB_STATUS_LOCAL_POWER) in hub_configure()
1307 (hubstatus & HUB_STATUS_OVERCURRENT) ? "" : "no "); in hub_configure()
3710 u16 hubstatus; in hub_events() local
3916 else if (hub_hub_status(hub, &hubstatus, &hubchange) < 0) in hub_events()
3922 if (hubstatus & HUB_STATUS_LOCAL_POWER) in hub_events()