Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/core/
H A Dgeneric.c116 if (usb_get_max_power(udev, c) > udev->bus_mA) { in usb_choose_configuration()
H A Dhub.c1606 hdev->bus_mA = hcd->power_budget; in hub_configure()
1608 hdev->bus_mA = full_load * maxchild; in hub_configure()
1609 if (hdev->bus_mA >= full_load) in hub_configure()
1612 hub->mA_per_port = hdev->bus_mA; in hub_configure()
1616 int remaining = hdev->bus_mA - in hub_configure()
5190 remaining = hdev->bus_mA - hub->descriptor->bHubContrCurrent; in hub_power_remaining()
5402 udev->bus_mA = hub->mA_per_port; in hub_port_connect()
5436 && udev->bus_mA <= unit_load) { in hub_port_connect()
H A Dmessage.c2047 i = dev->bus_mA - usb_get_max_power(dev, cp); in usb_set_configuration()
/openbmc/linux/include/linux/
H A Dusb.h683 unsigned short bus_mA; member