Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_jpeg.c39 INIT_DELAYED_WORK(&adev->jpeg.idle_work, amdgpu_jpeg_idle_work_handler); in amdgpu_jpeg_sw_init()
64 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_suspend()
77 container_of(work, struct amdgpu_device, jpeg.idle_work.work); in amdgpu_jpeg_idle_work_handler()
92 schedule_delayed_work(&adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT); in amdgpu_jpeg_idle_work_handler()
100 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_ring_begin_use()
111 schedule_delayed_work(&ring->adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT); in amdgpu_jpeg_ring_end_use()
A Damdgpu_vce.c200 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler); in amdgpu_vce_sw_init()
268 cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_suspend()
339 container_of(work, struct amdgpu_device, vce.idle_work.work); in amdgpu_vce_idle_work_handler()
356 schedule_delayed_work(&adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_idle_work_handler()
376 set_clocks = !cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_ring_begin_use()
402 schedule_delayed_work(&ring->adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_ring_end_use()
A Damdgpu_jpeg.h47 struct delayed_work idle_work; member
A Damdgpu_vcn.c82 INIT_DELAYED_WORK(&adev->vcn.idle_work, amdgpu_vcn_idle_work_handler); in amdgpu_vcn_sw_init()
315 cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_suspend()
384 container_of(work, struct amdgpu_device, vcn.idle_work.work); in amdgpu_vcn_idle_work_handler()
421 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_idle_work_handler()
432 if (!cancel_delayed_work_sync(&adev->vcn.idle_work)) { in amdgpu_vcn_ring_begin_use()
475 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_ring_end_use()
A Damdgpu_uvd.c191 INIT_DELAYED_WORK(&adev->uvd.idle_work, amdgpu_uvd_idle_work_handler); in amdgpu_uvd_sw_init()
432 cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_suspend()
1270 container_of(work, struct amdgpu_device, uvd.idle_work.work); in amdgpu_uvd_idle_work_handler()
1294 schedule_delayed_work(&adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_idle_work_handler()
1306 set_clocks = !cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_ring_begin_use()
1323 schedule_delayed_work(&ring->adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_ring_end_use()
A Damdgpu_vce.h45 struct delayed_work idle_work; member
A Damdgpu_uvd.h66 struct delayed_work idle_work; member
A Dvcn_v1_0.c112 adev->vcn.idle_work.work.func = vcn_v1_0_idle_work_handler; in vcn_v1_0_sw_init()
227 cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_hw_fini()
251 idle_work_unexecuted = cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_suspend()
1785 container_of(work, struct amdgpu_device, vcn.idle_work.work); in vcn_v1_0_idle_work_handler()
1818 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in vcn_v1_0_idle_work_handler()
1825 bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_ring_begin_use()
1877 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in vcn_v1_0_ring_end_use()
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()
A Duvd_v3_1.c701 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v3_1_hw_fini()
725 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v3_1_suspend()
A Duvd_v4_2.c215 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v4_2_hw_fini()
239 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v4_2_suspend()
A Duvd_v5_0.c213 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v5_0_hw_fini()
237 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v5_0_suspend()
A Damdgpu_vcn.h230 struct delayed_work idle_work; member
A Dvce_v3_0.c495 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v3_0_hw_fini()
521 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v3_0_suspend()
A Djpeg_v3_0.c166 cancel_delayed_work_sync(&adev->vcn.idle_work); in jpeg_v3_0_hw_fini()
A Dvce_v4_0.c547 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v4_0_hw_fini()
589 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v4_0_suspend()
/linux/drivers/gpu/drm/msm/
A Dmsm_gpu_devfreq.c136 msm_hrtimer_work_init(&df->idle_work, gpu->worker, msm_devfreq_idle_work, in msm_devfreq_init()
171 hrtimer_cancel(&df->idle_work.timer); in msm_devfreq_active()
207 struct msm_gpu_devfreq, idle_work.work); in msm_devfreq_idle_work()
235 msm_hrtimer_queue_work(&df->idle_work, ms_to_ktime(1), in msm_devfreq_idle()
A Dmsm_gpu.h121 struct msm_hrtimer_work idle_work; member
/linux/drivers/gpu/drm/radeon/
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()
A Dradeon_uvd.c72 INIT_DELAYED_WORK(&rdev->uvd.idle_work, radeon_uvd_idle_work_handler); in radeon_uvd_init()
875 container_of(work, struct radeon_device, uvd.idle_work.work); in radeon_uvd_idle_work_handler()
886 schedule_delayed_work(&rdev->uvd.idle_work, in radeon_uvd_idle_work_handler()
894 bool set_clocks = !cancel_delayed_work_sync(&rdev->uvd.idle_work); in radeon_uvd_note_usage()
895 set_clocks &= schedule_delayed_work(&rdev->uvd.idle_work, in radeon_uvd_note_usage()
/linux/drivers/misc/cardreader/
A Drtsx_pcr.c168 mod_delayed_work(system_wq, &pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_start_run()
1110 struct rtsx_pcr *pcr = container_of(dwork, struct rtsx_pcr, idle_work); in rtsx_pci_idle_work()
1601 INIT_DELAYED_WORK(&pcr->idle_work, rtsx_pci_idle_work); in rtsx_pci_probe()
1639 schedule_delayed_work(&pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_probe()
1683 cancel_delayed_work_sync(&pcr->idle_work); in rtsx_pci_remove()
1729 cancel_delayed_work(&pcr->idle_work); in rtsx_pci_suspend()
1763 schedule_delayed_work(&pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_resume()
1801 cancel_delayed_work(&pcr->idle_work); in rtsx_pci_runtime_suspend()
1837 schedule_delayed_work(&pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_runtime_resume()
/linux/drivers/net/wireless/zydas/zd1211rw/
A Dzd_usb.h175 struct delayed_work idle_work; member
A Dzd_usb.c847 cancel_delayed_work_sync(&rx->idle_work); in zd_usb_disable_rx()
1129 container_of(work, struct zd_usb, rx.idle_work.work); in zd_rx_idle_timer_handler()
1152 mod_delayed_work(zd_workqueue, &rx->idle_work, ZD_RX_IDLE_INTERVAL); in zd_usb_reset_rx_idle_timer()
1178 INIT_DELAYED_WORK(&rx->idle_work, zd_rx_idle_timer_handler); in init_usb_rx()
/linux/net/bluetooth/
A Dhci_conn.c599 idle_work.work); in hci_conn_idle()
740 INIT_DELAYED_WORK(&conn->idle_work, hci_conn_idle); in hci_conn_add()
772 cancel_delayed_work_sync(&conn->idle_work); in hci_conn_del()
1727 queue_delayed_work(hdev->workqueue, &conn->idle_work, in hci_conn_enter_active_mode()
/linux/drivers/bus/
A Dti-sysc.c148 struct delayed_work idle_work; member
3008 ddata = container_of(work, struct sysc, idle_work.work); in ti_sysc_idle()
3354 INIT_DELAYED_WORK(&ddata->idle_work, ti_sysc_idle); in sysc_probe()
3360 schedule_delayed_work(&ddata->idle_work, 3000); in sysc_probe()
3384 cancel_delayed_work_sync(&ddata->idle_work); in sysc_remove()

Completed in 63 milliseconds

12