Home
last modified time | relevance | path

Searched refs:MaxPower (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/usb/gadget/legacy/
A Dnokia.c125 .MaxPower = 500,
133 .MaxPower = 100,
A Dgmidi.c121 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
A Dwebcam.c352 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
/linux/drivers/usb/gadget/
A Dcomposite.c485 if (c->MaxPower || (c->bmAttributes & USB_CONFIG_ATT_SELFPOWER)) in encode_bMaxPower()
486 val = c->MaxPower; in encode_bMaxPower()
939 if (c->MaxPower || (c->bmAttributes & USB_CONFIG_ATT_SELFPOWER)) in set_config()
940 power = c->MaxPower; in set_config()
2423 maxpower = cdev->config->MaxPower ? in composite_resume()
2424 cdev->config->MaxPower : CONFIG_USB_GADGET_VBUS_DRAW; in composite_resume()
A Dconfigfs.c513 return sprintf(page, "%u\n", cfg->c.MaxPower); in gadget_config_desc_MaxPower_show()
527 cfg->c.MaxPower = val; in gadget_config_desc_MaxPower_store()
557 CONFIGFS_ATTR(gadget_config_desc_, MaxPower);
720 cfg->c.MaxPower = CONFIG_USB_GADGET_VBUS_DRAW; in config_desc_make()
/linux/Documentation/ABI/testing/
A Dconfigfs-usb-gadget48 MaxPower maximum power consumption from the bus
/linux/include/linux/usb/
A Dcomposite.h321 u16 MaxPower; member
/linux/Documentation/usb/
A Dgadget_configfs.rst121 $ echo 120 > configs/c.1/MaxPower
185 ./configs/c.1/MaxPower

Completed in 16 milliseconds