Home
last modified time | relevance | path

Searched refs:idle_work (Results 1 - 25 of 64) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_jpeg.c39 INIT_DELAYED_WORK(&adev->jpeg.idle_work, amdgpu_jpeg_idle_work_handler); in amdgpu_jpeg_sw_init()
50 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_sw_fini()
66 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_suspend()
79 container_of(work, struct amdgpu_device, jpeg.idle_work.work); in amdgpu_jpeg_idle_work_handler()
94 schedule_delayed_work(&adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT); in amdgpu_jpeg_idle_work_handler()
102 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_ring_begin_use()
113 schedule_delayed_work(&ring->adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT); in amdgpu_jpeg_ring_end_use()
H A Damdgpu_vce.c199 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler); in amdgpu_vce_sw_init()
219 cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_sw_fini()
268 cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_suspend()
335 container_of(work, struct amdgpu_device, vce.idle_work.work); in amdgpu_vce_idle_work_handler()
352 schedule_delayed_work(&adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_idle_work_handler()
372 set_clocks = !cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_ring_begin_use()
398 schedule_delayed_work(&ring->adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_ring_end_use()
H A Damdgpu_vcn.c71 INIT_DELAYED_WORK(&adev->vcn.idle_work, amdgpu_vcn_idle_work_handler); in amdgpu_vcn_sw_init()
223 cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_sw_fini()
259 cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_suspend()
319 container_of(work, struct amdgpu_device, vcn.idle_work.work); in amdgpu_vcn_idle_work_handler()
351 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_idle_work_handler()
360 cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_ring_begin_use()
398 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_ring_end_use()
H A Damdgpu_jpeg.h47 struct delayed_work idle_work; member
H A Damdgpu_vce.h45 struct delayed_work idle_work; member
H A Damdgpu_uvd.c145 INIT_DELAYED_WORK(&adev->uvd.idle_work, amdgpu_uvd_idle_work_handler); in amdgpu_uvd_sw_init()
328 cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_sw_fini()
381 cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_suspend()
1222 container_of(work, struct amdgpu_device, uvd.idle_work.work); in amdgpu_uvd_idle_work_handler()
1246 schedule_delayed_work(&adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_idle_work_handler()
1258 set_clocks = !cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_ring_begin_use()
1275 schedule_delayed_work(&ring->adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_ring_end_use()
H A Damdgpu_uvd.h66 struct delayed_work idle_work; member
H A Dvcn_v1_0.c114 adev->vcn.idle_work.work.func = vcn_v1_0_idle_work_handler; in vcn_v1_0_sw_init()
235 cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_hw_fini()
259 idle_work_unexecuted = cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_suspend()
1782 container_of(work, struct amdgpu_device, vcn.idle_work.work); in vcn_v1_0_idle_work_handler()
1815 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in vcn_v1_0_idle_work_handler()
1822 bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_ring_begin_use()
1874 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in vcn_v1_0_ring_end_use()
H A Damdgpu_vcn.h213 struct delayed_work idle_work; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_jpeg.c39 INIT_DELAYED_WORK(&adev->jpeg.idle_work, amdgpu_jpeg_idle_work_handler); in amdgpu_jpeg_sw_init()
65 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_suspend()
78 container_of(work, struct amdgpu_device, jpeg.idle_work.work); in amdgpu_jpeg_idle_work_handler()
94 schedule_delayed_work(&adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT); in amdgpu_jpeg_idle_work_handler()
102 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_ring_begin_use()
113 schedule_delayed_work(&ring->adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT); in amdgpu_jpeg_ring_end_use()
H A Damdgpu_vce.c195 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler); in amdgpu_vce_sw_init()
263 cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_suspend()
334 container_of(work, struct amdgpu_device, vce.idle_work.work); in amdgpu_vce_idle_work_handler()
351 schedule_delayed_work(&adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_idle_work_handler()
371 set_clocks = !cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_ring_begin_use()
397 schedule_delayed_work(&ring->adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_ring_end_use()
H A Damdgpu_jpeg.h57 struct delayed_work idle_work; member
H A Damdgpu_uvd.h66 struct delayed_work idle_work; member
H A Damdgpu_vce.h45 struct delayed_work idle_work; member
H A Damdgpu_uvd.c192 INIT_DELAYED_WORK(&adev->uvd.idle_work, amdgpu_uvd_idle_work_handler); in amdgpu_uvd_sw_init()
428 cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_suspend()
1258 container_of(work, struct amdgpu_device, uvd.idle_work.work); in amdgpu_uvd_idle_work_handler()
1281 schedule_delayed_work(&adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_idle_work_handler()
1293 set_clocks = !cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_ring_begin_use()
1310 schedule_delayed_work(&ring->adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_ring_end_use()
H A Damdgpu_vcn.c109 INIT_DELAYED_WORK(&adev->vcn.idle_work, amdgpu_vcn_idle_work_handler); in amdgpu_vcn_sw_init()
297 cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_suspend()
371 container_of(work, struct amdgpu_device, vcn.idle_work.work); in amdgpu_vcn_idle_work_handler()
407 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_idle_work_handler()
418 if (!cancel_delayed_work_sync(&adev->vcn.idle_work)) { in amdgpu_vcn_ring_begin_use()
461 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_ring_end_use()
H A Dvcn_v1_0.c114 adev->vcn.idle_work.work.func = vcn_v1_0_idle_work_handler; in vcn_v1_0_sw_init()
238 cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_hw_fini()
262 idle_work_unexecuted = cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_suspend()
1791 container_of(work, struct amdgpu_device, vcn.idle_work.work); in vcn_v1_0_idle_work_handler()
1824 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in vcn_v1_0_idle_work_handler()
1831 bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_ring_begin_use()
1883 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in vcn_v1_0_ring_end_use()
H A Dvce_v2_0.c484 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v2_0_hw_fini()
506 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v2_0_suspend()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/
H A Dmsm_gpu_devfreq.c195 msm_hrtimer_work_init(&df->idle_work, gpu->worker, msm_devfreq_idle_work, in msm_devfreq_init()
201 hrtimer_cancel(&df->idle_work.timer); in cancel_idle_work()
202 kthread_cancel_work_sync(&df->idle_work.work); in cancel_idle_work()
338 struct msm_gpu_devfreq, idle_work.work); in msm_devfreq_idle_work()
367 msm_hrtimer_queue_work(&df->idle_work, ms_to_ktime(1), in msm_devfreq_idle()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_vce.c65 INIT_DELAYED_WORK(&rdev->vce.idle_work, radeon_vce_idle_work_handler); in radeon_vce_init()
264 container_of(work, struct radeon_device, vce.idle_work.work); in radeon_vce_idle_work_handler()
274 schedule_delayed_work(&rdev->vce.idle_work, in radeon_vce_idle_work_handler()
289 bool set_clocks = !cancel_delayed_work_sync(&rdev->vce.idle_work); in radeon_vce_note_usage()
290 set_clocks &= schedule_delayed_work(&rdev->vce.idle_work, in radeon_vce_note_usage()
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_vce.c65 INIT_DELAYED_WORK(&rdev->vce.idle_work, radeon_vce_idle_work_handler); in radeon_vce_init()
264 container_of(work, struct radeon_device, vce.idle_work.work); in radeon_vce_idle_work_handler()
274 schedule_delayed_work(&rdev->vce.idle_work, in radeon_vce_idle_work_handler()
289 bool set_clocks = !cancel_delayed_work_sync(&rdev->vce.idle_work); in radeon_vce_note_usage()
290 set_clocks &= schedule_delayed_work(&rdev->vce.idle_work, in radeon_vce_note_usage()
H A Dradeon_uvd.c72 INIT_DELAYED_WORK(&rdev->uvd.idle_work, radeon_uvd_idle_work_handler); in radeon_uvd_init()
863 container_of(work, struct radeon_device, uvd.idle_work.work); in radeon_uvd_idle_work_handler()
874 schedule_delayed_work(&rdev->uvd.idle_work, in radeon_uvd_idle_work_handler()
882 bool set_clocks = !cancel_delayed_work_sync(&rdev->uvd.idle_work); in radeon_uvd_note_usage()
883 set_clocks &= schedule_delayed_work(&rdev->uvd.idle_work, in radeon_uvd_note_usage()
/kernel/linux/linux-5.10/drivers/misc/cardreader/
H A Drtsx_pcr.c154 mod_delayed_work(system_wq, &pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_start_run()
1081 struct rtsx_pcr *pcr = container_of(dwork, struct rtsx_pcr, idle_work); in rtsx_pci_idle_work()
1550 INIT_DELAYED_WORK(&pcr->idle_work, rtsx_pci_idle_work); in rtsx_pci_probe()
1579 schedule_delayed_work(&pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_probe()
1624 cancel_delayed_work_sync(&pcr->idle_work); in rtsx_pci_remove()
1663 cancel_delayed_work(&pcr->idle_work); in rtsx_pci_suspend()
1697 schedule_delayed_work(&pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_resume()
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_usb.h175 struct delayed_work idle_work; member

Completed in 25 milliseconds

123