Searched refs:selfpowered (Results 1 – 2 of 2) sorted by relevance
144 #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
489 uint8_t selfpowered; in usbd_set_config_index() local529 selfpowered = 0; in usbd_set_config_index()542 selfpowered = 1; in usbd_set_config_index()547 selfpowered = 1; in usbd_set_config_index()553 selfpowered, cdp->bMaxPower * 2); in usbd_set_config_index()571 udev->flags.self_powered = selfpowered; in usbd_set_config_index()