Home
last modified time | relevance | path

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

/drivers/usb/core/
Dgeneric.c103 if (usb_get_max_power(udev, c) > udev->bus_mA) { in usb_choose_configuration()
Dusb.h44 static inline unsigned usb_get_max_power(struct usb_device *udev, in usb_get_max_power() function
Dsysfs.c60 rc = sprintf(buf, "%dmA\n", usb_get_max_power(udev, actconfig)); in bMaxPower_show()
Dmessage.c1784 i = dev->bus_mA - usb_get_max_power(dev, cp); in usb_set_configuration()
Dhub.c4713 delta = usb_get_max_power(udev, udev->actconfig); in hub_power_remaining()