Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
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()
Damdgpu_jpeg.h47 struct delayed_work idle_work; member
Damdgpu_vce.c201 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler); in amdgpu_vce_sw_init()
269 cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_suspend()
340 container_of(work, struct amdgpu_device, vce.idle_work.work); in amdgpu_vce_idle_work_handler()
357 schedule_delayed_work(&adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_idle_work_handler()
377 set_clocks = !cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_ring_begin_use()
403 schedule_delayed_work(&ring->adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_ring_end_use()
Damdgpu_vce.h45 struct delayed_work idle_work; member
Damdgpu_uvd.h66 struct delayed_work idle_work; member
Damdgpu_vcn.c82 INIT_DELAYED_WORK(&adev->vcn.idle_work, amdgpu_vcn_idle_work_handler); in amdgpu_vcn_sw_init()
318 cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_suspend()
387 container_of(work, struct amdgpu_device, vcn.idle_work.work); in amdgpu_vcn_idle_work_handler()
424 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_idle_work_handler()
435 if (!cancel_delayed_work_sync(&adev->vcn.idle_work)) { in amdgpu_vcn_ring_begin_use()
478 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_ring_end_use()
Damdgpu_uvd.c146 INIT_DELAYED_WORK(&adev->uvd.idle_work, amdgpu_uvd_idle_work_handler); in amdgpu_uvd_sw_init()
381 cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_suspend()
1232 container_of(work, struct amdgpu_device, uvd.idle_work.work); in amdgpu_uvd_idle_work_handler()
1256 schedule_delayed_work(&adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_idle_work_handler()
1268 set_clocks = !cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_ring_begin_use()
1285 schedule_delayed_work(&ring->adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_ring_end_use()
Dvcn_v1_0.c113 adev->vcn.idle_work.work.func = vcn_v1_0_idle_work_handler; in vcn_v1_0_sw_init()
234 cancel_delayed_work_sync(&adev->vcn.idle_work); in vcn_v1_0_hw_fini()
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()
Damdgpu_vcn.h230 struct delayed_work idle_work; member
Djpeg_v3_0.c166 cancel_delayed_work_sync(&adev->vcn.idle_work); in jpeg_v3_0_hw_fini()
Dvce_v2_0.c493 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v2_0_hw_fini()
Djpeg_v2_5.c192 cancel_delayed_work_sync(&adev->vcn.idle_work); in jpeg_v2_5_hw_fini()
Djpeg_v1_0.c599 bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work); in jpeg_v1_0_ring_begin_use()
Duvd_v3_1.c712 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v3_1_hw_fini()
Duvd_v4_2.c226 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v4_2_hw_fini()
Djpeg_v2_0.c175 cancel_delayed_work_sync(&adev->vcn.idle_work); in jpeg_v2_0_hw_fini()
Duvd_v5_0.c224 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v5_0_hw_fini()
Dvce_v3_0.c504 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v3_0_hw_fini()
/Linux-v5.15/drivers/gpu/drm/radeon/
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()
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-v5.15/drivers/misc/cardreader/
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()
1841 schedule_delayed_work(&pcr->idle_work, msecs_to_jiffies(200)); in rtsx_pci_runtime_resume()
/Linux-v5.15/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.h175 struct delayed_work idle_work; member
Dzd_usb.c848 cancel_delayed_work_sync(&rx->idle_work); in zd_usb_disable_rx()
1130 container_of(work, struct zd_usb, rx.idle_work.work); in zd_rx_idle_timer_handler()
1153 mod_delayed_work(zd_workqueue, &rx->idle_work, ZD_RX_IDLE_INTERVAL); in zd_usb_reset_rx_idle_timer()
1179 INIT_DELAYED_WORK(&rx->idle_work, zd_rx_idle_timer_handler); in init_usb_rx()
/Linux-v5.15/net/bluetooth/
Dhci_conn.c471 idle_work.work); in hci_conn_idle()
612 INIT_DELAYED_WORK(&conn->idle_work, hci_conn_idle); in hci_conn_add()
644 cancel_delayed_work_sync(&conn->idle_work); in hci_conn_del()
1593 queue_delayed_work(hdev->workqueue, &conn->idle_work, in hci_conn_enter_active_mode()
/Linux-v5.15/drivers/bus/
Dti-sysc.c138 struct delayed_work idle_work; member
2817 ddata = container_of(work, struct sysc, idle_work.work); in ti_sysc_idle()
3151 INIT_DELAYED_WORK(&ddata->idle_work, ti_sysc_idle); in sysc_probe()
3157 schedule_delayed_work(&ddata->idle_work, 3000); in sysc_probe()
3178 cancel_delayed_work_sync(&ddata->idle_work); in sysc_remove()

12