Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/gadget/legacy/
Dnokia.c125 .MaxPower = 500,
133 .MaxPower = 100,
Dgmidi.c121 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
Dwebcam.c351 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
/Linux-v5.10/drivers/usb/gadget/
Dcomposite.c478 if (c->MaxPower) in encode_bMaxPower()
479 val = c->MaxPower; in encode_bMaxPower()
902 power = c->MaxPower ? c->MaxPower : CONFIG_USB_GADGET_VBUS_DRAW; in set_config()
2353 maxpower = cdev->config->MaxPower ? in composite_resume()
2354 cdev->config->MaxPower : CONFIG_USB_GADGET_VBUS_DRAW; in composite_resume()
Dconfigfs.c495 return sprintf(page, "%u\n", to_config_usb_cfg(item)->c.MaxPower); in gadget_config_desc_MaxPower_show()
508 to_config_usb_cfg(item)->c.MaxPower = val; in gadget_config_desc_MaxPower_store()
536 CONFIGFS_ATTR(gadget_config_desc_, MaxPower);
699 cfg->c.MaxPower = CONFIG_USB_GADGET_VBUS_DRAW; in config_desc_make()
/Linux-v5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget48 MaxPower maximum power consumption from the bus
/Linux-v5.10/include/linux/usb/
Dcomposite.h321 u16 MaxPower; member
/Linux-v5.10/Documentation/usb/
Dgadget_configfs.rst121 $ echo 120 > configs/c.1/MaxPower
185 ./configs/c.1/MaxPower