Searched refs:bMaxPower (Results 1 – 11 of 11) sorted by relevance
101 if (udev->actconfig->desc.bMaxPower == 0) { in uas_use_uas_driver()
66 return c->desc.bMaxPower * mul; in usb_get_max_power()
275 desc->bMaxPower * mul); in usb_dump_config_descriptor()
69 static DEVICE_ATTR_RO(bMaxPower);
957 power = dev->hs_config->bMaxPower; in ep0_read()959 power = dev->config->bMaxPower; in ep0_read()1428 power = dev->hs_config->bMaxPower; in gadgetfs_setup()1431 power = dev->config->bMaxPower; in gadgetfs_setup()
355 __u8 bMaxPower; member
569 info.power = cfg_descriptor->bMaxPower * 2; in iowarrior_ioctl()
107 .bMaxPower = 0,
398 What: /sys/bus/usb/devices/usbX/bMaxPower
588 __func__, dev->config->desc.bMaxPower * 2); in choose_config()
582 c->bMaxPower = encode_bMaxPower(speed, config); in config_buf()