Searched refs:MaxPower (Results 1 – 15 of 15) sorted by relevance
16 echo 100 > configs/c.1/MaxPower
36 echo 100 > configs/c.1/MaxPower
119 echo 200 > configs/c.1/MaxPower
125 .MaxPower = 500,133 .MaxPower = 100,
121 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
511 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
103 unsigned char MaxPower; member
48 MaxPower maximum power consumption from the bus
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);736 cfg->c.MaxPower = CONFIG_USB_GADGET_VBUS_DRAW; in config_desc_make()
314 u16 MaxPower; member
131 $ echo 120 > configs/c.1/MaxPower195 ./configs/c.1/MaxPower
422 % echo 120 > configs/c.1/MaxPower