Searched refs:bMaxPower (Results 1 – 16 of 16) sorted by relevance
141 .bMaxPower = 250, /* 500mA */149 .bMaxPower = 50, /* 100 mA */
131 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2,
370 c->bMaxPower = config->bMaxPower ? : (CONFIG_USB_GADGET_VBUS_DRAW / 2); in config_buf()688 power = c->bMaxPower ? (2 * c->bMaxPower) : CONFIG_USB_GADGET_VBUS_DRAW; in set_config()1525 maxpower = cdev->config->bMaxPower; in composite_resume()
323 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2,
1012 power = dev->hs_config->bMaxPower; in ep0_read()1014 power = dev->config->bMaxPower; in ep0_read()1471 power = dev->hs_config->bMaxPower; in gadgetfs_setup()1474 power = dev->config->bMaxPower; in gadgetfs_setup()
245 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2,966 power = 2 * config_desc.bMaxPower; in printer_set_config()
575 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2,
100 if (c->desc.bMaxPower * 2 > udev->bus_mA) { in usb_choose_configuration()
329 desc->bMaxPower * 2); in usb_dump_config_descriptor()
42 usb_actconfig_attr(bMaxPower, 2, "%3dmA\n")
1738 i = dev->bus_mA - cp->desc.bMaxPower * 2; in usb_set_configuration()
3401 delta = udev->actconfig->desc.bMaxPower * 2; in hub_power_remaining()
226 u8 bMaxPower; member
321 __u8 bMaxPower; member
574 info.power = cfg_descriptor->bMaxPower * 2; in iowarrior_ioctl()
627 __func__, dev->config->desc.bMaxPower * 2); in choose_config()