Home
last modified time | relevance | path

Searched refs:idle_work (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/drivers/char/hw_random/
Domap3-rom-rng.c32 static struct delayed_work idle_work; variable
54 cancel_delayed_work_sync(&idle_work); in omap3_rom_rng_get_random()
71 schedule_delayed_work(&idle_work, msecs_to_jiffies(500)); in omap3_rom_rng_get_random()
104 INIT_DELAYED_WORK(&idle_work, omap3_rom_rng_idle); in omap3_rom_rng_probe()
122 cancel_delayed_work_sync(&idle_work); in omap3_rom_rng_remove()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vcn.c58 INIT_DELAYED_WORK(&adev->vcn.idle_work, amdgpu_vcn_idle_work_handler); in amdgpu_vcn_sw_init()
156 cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_suspend()
209 container_of(work, struct amdgpu_device, vcn.idle_work.work); in amdgpu_vcn_idle_work_handler()
226 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_idle_work_handler()
233 bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_ring_begin_use()
246 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_ring_end_use()
Damdgpu_vce.c194 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler); in amdgpu_vce_sw_init()
261 cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_suspend()
328 container_of(work, struct amdgpu_device, vce.idle_work.work); in amdgpu_vce_idle_work_handler()
345 schedule_delayed_work(&adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_idle_work_handler()
365 set_clocks = !cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_ring_begin_use()
391 schedule_delayed_work(&ring->adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_ring_end_use()
Damdgpu_vcn.h65 struct delayed_work idle_work; member
Damdgpu_uvd.h66 struct delayed_work idle_work; member
Damdgpu_vce.h45 struct delayed_work idle_work; member
Damdgpu_uvd.c131 INIT_DELAYED_WORK(&adev->uvd.idle_work, amdgpu_uvd_idle_work_handler); in amdgpu_uvd_sw_init()
350 cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_suspend()
1179 container_of(work, struct amdgpu_device, uvd.idle_work.work); in amdgpu_uvd_idle_work_handler()
1203 schedule_delayed_work(&adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_idle_work_handler()
1215 set_clocks = !cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_ring_begin_use()
1232 schedule_delayed_work(&ring->adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_ring_end_use()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_vce.c65 INIT_DELAYED_WORK(&rdev->vce.idle_work, radeon_vce_idle_work_handler); in radeon_vce_init()
265 container_of(work, struct radeon_device, vce.idle_work.work); in radeon_vce_idle_work_handler()
275 schedule_delayed_work(&rdev->vce.idle_work, in radeon_vce_idle_work_handler()
290 bool set_clocks = !cancel_delayed_work_sync(&rdev->vce.idle_work); in radeon_vce_note_usage()
291 set_clocks &= schedule_delayed_work(&rdev->vce.idle_work, in radeon_vce_note_usage()
Dradeon_uvd.c72 INIT_DELAYED_WORK(&rdev->uvd.idle_work, radeon_uvd_idle_work_handler); in radeon_uvd_init()
873 container_of(work, struct radeon_device, uvd.idle_work.work); in radeon_uvd_idle_work_handler()
884 schedule_delayed_work(&rdev->uvd.idle_work, in radeon_uvd_idle_work_handler()
892 bool set_clocks = !cancel_delayed_work_sync(&rdev->uvd.idle_work); in radeon_uvd_note_usage()
893 set_clocks &= schedule_delayed_work(&rdev->uvd.idle_work, in radeon_uvd_note_usage()
Dradeon.h1681 struct delayed_work idle_work; member
1723 struct delayed_work idle_work; member
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dmock_gem_device.c62 cancel_delayed_work_sync(&i915->gt.idle_work); in mock_device_release()
197 INIT_DELAYED_WORK(&i915->gt.idle_work, mock_idle_work_handler); in mock_gem_device()
Di915_gem_object.c512 cancel_delayed_work_sync(&i915->gt.idle_work); in disable_retire_worker()
614 queue_delayed_work(i915->wq, &i915->gt.idle_work, 0); in igt_mmap_offset_exhaustion()
/Linux-v4.19/drivers/misc/cardreader/
Drtsx_pcr.c186 mod_delayed_work(system_wq, &pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_start_run()
1108 struct rtsx_pcr *pcr = container_of(dwork, struct rtsx_pcr, idle_work); in rtsx_pci_idle_work()
1497 INIT_DELAYED_WORK(&pcr->idle_work, rtsx_pci_idle_work); in rtsx_pci_probe()
1526 schedule_delayed_work(&pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_probe()
1565 cancel_delayed_work_sync(&pcr->idle_work); in rtsx_pci_remove()
1605 cancel_delayed_work(&pcr->idle_work); in rtsx_pci_suspend()
1648 schedule_delayed_work(&pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_resume()
/Linux-v4.19/drivers/bus/
Dti-sysc.c91 struct delayed_work idle_work; member
1661 ddata = container_of(work, struct sysc, idle_work.work); in ti_sysc_idle()
1742 INIT_DELAYED_WORK(&ddata->idle_work, ti_sysc_idle); in sysc_probe()
1747 schedule_delayed_work(&ddata->idle_work, 3000); in sysc_probe()
1771 cancel_delayed_work_sync(&ddata->idle_work); in sysc_remove()
/Linux-v4.19/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.h187 struct delayed_work idle_work; member
Dzd_usb.c863 cancel_delayed_work_sync(&rx->idle_work); in zd_usb_disable_rx()
1145 container_of(work, struct zd_usb, rx.idle_work.work); in zd_rx_idle_timer_handler()
1168 mod_delayed_work(zd_workqueue, &rx->idle_work, ZD_RX_IDLE_INTERVAL); in zd_usb_reset_rx_idle_timer()
1194 INIT_DELAYED_WORK(&rx->idle_work, zd_rx_idle_timer_handler); in init_usb_rx()
/Linux-v4.19/net/bluetooth/
Dhci_conn.c430 idle_work.work); in hci_conn_idle()
552 INIT_DELAYED_WORK(&conn->idle_work, hci_conn_idle); in hci_conn_add()
577 cancel_delayed_work_sync(&conn->idle_work); in hci_conn_del()
1462 queue_delayed_work(hdev->workqueue, &conn->idle_work, in hci_conn_enter_active_mode()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem.c195 mod_delayed_work(i915->wq, &i915->gt.idle_work, msecs_to_jiffies(100)); in i915_gem_park()
3528 work_pending(&i915->gt.idle_work.work)); in new_requests_since_last_retire()
3551 container_of(work, typeof(*dev_priv), gt.idle_work.work); in i915_gem_idle_work_handler()
3595 &dev_priv->gt.idle_work, in i915_gem_idle_work_handler()
5090 drain_delayed_work(&i915->gt.idle_work); in i915_gem_suspend()
5738 INIT_DELAYED_WORK(&dev_priv->gt.idle_work, in i915_gem_init_early()
Di915_debugfs.c4055 drain_delayed_work(&i915->gt.idle_work); in fault_irq_set()
4176 drain_delayed_work(&dev_priv->gt.idle_work); in i915_drop_caches_set()
Di915_drv.h2099 struct delayed_work idle_work; member
/Linux-v4.19/include/net/bluetooth/
Dhci_core.h498 struct delayed_work idle_work; member
973 cancel_delayed_work(&conn->idle_work); in hci_conn_drop()
/Linux-v4.19/include/linux/
Drtsx_pci.h1215 struct delayed_work idle_work; member