Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/gadget/
Dnokia.c141 .bMaxPower = 250, /* 500mA */
149 .bMaxPower = 50, /* 100 mA */
Dgmidi.c131 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2,
Dcomposite.c370 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()
Dwebcam.c323 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2,
Dinode.c1012 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()
Dprinter.c245 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2,
966 power = 2 * config_desc.bMaxPower; in printer_set_config()
Dfile_storage.c575 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2,
/linux-3.4.99/drivers/usb/core/
Dgeneric.c100 if (c->desc.bMaxPower * 2 > udev->bus_mA) { in usb_choose_configuration()
Ddevices.c329 desc->bMaxPower * 2); in usb_dump_config_descriptor()
Dsysfs.c42 usb_actconfig_attr(bMaxPower, 2, "%3dmA\n")
Dmessage.c1738 i = dev->bus_mA - cp->desc.bMaxPower * 2; in usb_set_configuration()
Dhub.c3401 delta = udev->actconfig->desc.bMaxPower * 2; in hub_power_remaining()
/linux-3.4.99/include/linux/usb/
Dcomposite.h226 u8 bMaxPower; member
Dch9.h321 __u8 bMaxPower; member
/linux-3.4.99/drivers/usb/misc/
Diowarrior.c574 info.power = cfg_descriptor->bMaxPower * 2; in iowarrior_ioctl()
/linux-3.4.99/drivers/usb/serial/
Dio_ti.c627 __func__, dev->config->desc.bMaxPower * 2); in choose_config()