Searched refs:MaxPower (Results 1 – 8 of 8) sorted by relevance
125 .MaxPower = 500,133 .MaxPower = 100,
121 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
355 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
498 if (c->MaxPower || (c->bmAttributes & USB_CONFIG_ATT_SELFPOWER)) in encode_bMaxPower()499 val = c->MaxPower; in encode_bMaxPower()953 if (c->MaxPower || (c->bmAttributes & USB_CONFIG_ATT_SELFPOWER)) in set_config()954 power = c->MaxPower; in set_config()2441 maxpower = cdev->config->MaxPower ? in composite_resume()2442 cdev->config->MaxPower : CONFIG_USB_GADGET_VBUS_DRAW; in composite_resume()
510 return sprintf(page, "%u\n", cfg->c.MaxPower); in gadget_config_desc_MaxPower_show()524 cfg->c.MaxPower = val; in gadget_config_desc_MaxPower_store()554 CONFIGFS_ATTR(gadget_config_desc_, MaxPower);717 cfg->c.MaxPower = CONFIG_USB_GADGET_VBUS_DRAW; in config_desc_make()
48 MaxPower maximum power consumption from the bus
307 u16 MaxPower; member
121 $ echo 120 > configs/c.1/MaxPower185 ./configs/c.1/MaxPower