Searched refs:power_mode (Results 1 – 6 of 6) sorted by relevance
2539 return (uint8_t)(((udev->power_mode == USB_POWER_MODE_ON) && in usb_peer_should_wakeup()2988 usbd_set_power_mode(struct usb_device *udev, uint8_t power_mode) in usbd_set_power_mode() argument2991 if ((power_mode != USB_POWER_MODE_ON) && in usbd_set_power_mode()2992 (power_mode != USB_POWER_MODE_OFF)) in usbd_set_power_mode()2993 power_mode = USB_POWER_MODE_SAVE; in usbd_set_power_mode()2995 power_mode = usbd_filter_power_mode(udev, power_mode); in usbd_set_power_mode()2997 udev->power_mode = power_mode; /* update copy of power mode */ in usbd_set_power_mode()3012 usbd_filter_power_mode(struct usb_device *udev, uint8_t power_mode) in usbd_filter_power_mode() argument3024 return (power_mode); in usbd_filter_power_mode()
559 void usbd_set_power_mode(struct usb_device *udev, uint8_t power_mode);560 uint8_t usbd_filter_power_mode(struct usb_device *udev, uint8_t power_mode);
249 uint8_t power_mode; /* see USB_POWER_XXX */ member
799 di->udi_power_mode = udev->power_mode; in ugen_fill_deviceinfo()1726 old_mode = udev->power_mode; in ugen_set_power_mode()1807 return (udev->power_mode); in ugen_get_power_mode()
1544 udev->power_mode = usbd_filter_power_mode(udev, USB_POWER_MODE_ON); in usb_alloc_device()
4410 …<var-decl name='power_mode' type-id='type-id-222' visibility='default' filepath='/ws/android/kerne…