Searched refs:MaxPower (Results 1 – 9 of 9) sorted by relevance
125 .MaxPower = 500,133 .MaxPower = 100,
122 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
511 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
534 if (c->MaxPower || (c->bmAttributes & USB_CONFIG_ATT_SELFPOWER)) in encode_bMaxPower()535 val = c->MaxPower; in encode_bMaxPower()1038 if (c->MaxPower || (c->bmAttributes & USB_CONFIG_ATT_SELFPOWER)) in set_config()1039 power = c->MaxPower; in set_config()2633 maxpower = cdev->config->MaxPower ? in composite_resume()2634 cdev->config->MaxPower : CONFIG_USB_GADGET_VBUS_DRAW; in composite_resume()
529 return sprintf(page, "%u\n", cfg->c.MaxPower); in gadget_config_desc_MaxPower_show()543 cfg->c.MaxPower = val; in gadget_config_desc_MaxPower_store()573 CONFIGFS_ATTR(gadget_config_desc_, MaxPower);739 cfg->c.MaxPower = CONFIG_USB_GADGET_VBUS_DRAW; in config_desc_make()
48 MaxPower maximum power consumption from the bus
322 u16 MaxPower; member
131 $ echo 120 > configs/c.1/MaxPower195 ./configs/c.1/MaxPower
422 % echo 120 > configs/c.1/MaxPower