Home
last modified time | relevance | path

Searched refs:pwr_save (Results 1 – 4 of 4) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_hub.c2489 udev->pwr_save.last_xfer_time = CUR_TICKS; in usbd_transfer_power_ref()
2490 udev->pwr_save.type_refs[xfer_type] += val; in usbd_transfer_power_ref()
2493 udev->pwr_save.read_refs += val; in usbd_transfer_power_ref()
2499 udev->pwr_save.write_refs += val; in usbd_transfer_power_ref()
2502 udev->pwr_save.read_refs += val; in usbd_transfer_power_ref()
2504 udev->pwr_save.write_refs += val; in usbd_transfer_power_ref()
2551 (udev->pwr_save.type_refs[UE_ISOCHRONOUS] != 0) || in usb_peer_should_wakeup()
2552 (udev->pwr_save.write_refs != 0) || in usb_peer_should_wakeup()
2553 ((udev->pwr_save.read_refs != 0) && in usb_peer_should_wakeup()
2598 temp = CUR_TICKS - udev->pwr_save.last_xfer_time; in usb_bus_powerd()
[all …]
Dusb_device.h209 struct usb_power_save pwr_save;/* power save data */ member
Dusb_generic.c1810 udev->pwr_save.write_refs++; in ugen_set_power_mode()
1811 udev->pwr_save.last_xfer_time = LOS_TickCountGet(); in ugen_set_power_mode()
1822 udev->pwr_save.write_refs--; in ugen_set_power_mode()
1832 udev->pwr_save.last_xfer_time = LOS_TickCountGet() - (256 * hz); in ugen_set_power_mode()
Dusb_device.c1556 udev->pwr_save.last_xfer_time = CUR_TICKS; in usb_alloc_device()