Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/legacy/
Dnokia.c125 .MaxPower = 500,
133 .MaxPower = 100,
Dgmidi.c121 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
Dwebcam.c355 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
/linux-6.1.9/drivers/usb/gadget/
Dcomposite.c498 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()
Dconfigfs.c510 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()
/linux-6.1.9/Documentation/ABI/testing/
Dconfigfs-usb-gadget48 MaxPower maximum power consumption from the bus
/linux-6.1.9/include/linux/usb/
Dcomposite.h307 u16 MaxPower; member
/linux-6.1.9/Documentation/usb/
Dgadget_configfs.rst121 $ echo 120 > configs/c.1/MaxPower
185 ./configs/c.1/MaxPower