Home
last modified time | relevance | path

Searched refs:selfpowered (Results 1 – 2 of 2) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Dusbdev.h144 #define DEV_SETSELFPOWERED(dev) (dev)->ops->selfpowered(dev, true)
148 #define DEV_CLRSELFPOWERED(dev) (dev)->ops->selfpowered(dev, false)
348 int (*selfpowered)(struct usbdev_s *dev, bool selfpowered); member
/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c491 uint8_t selfpowered; in usbd_set_config_index() local
531 selfpowered = 0; in usbd_set_config_index()
544 selfpowered = 1; in usbd_set_config_index()
549 selfpowered = 1; in usbd_set_config_index()
555 selfpowered, cdp->bMaxPower * 2); in usbd_set_config_index()
573 udev->flags.self_powered = selfpowered; in usbd_set_config_index()