Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crtc.c196 struct idle_workqueue *idle_work; in amdgpu_dm_idle_worker() local
198 idle_work = container_of(work, struct idle_workqueue, work); in amdgpu_dm_idle_worker()
199 idle_work->dm->idle_workqueue->running = true; in amdgpu_dm_idle_worker()
201 while (idle_work->enable) { in amdgpu_dm_idle_worker()
203 mutex_lock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker()
204 if (!idle_work->dm->dc->idle_optimizations_allowed) { in amdgpu_dm_idle_worker()
205 mutex_unlock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker()
208 dc_allow_idle_optimizations(idle_work->dm->dc, false); in amdgpu_dm_idle_worker()
210 mutex_unlock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker()
212 mutex_lock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_jpeg.c42 INIT_DELAYED_WORK(&adev->jpeg.idle_work, amdgpu_jpeg_idle_work_handler); in amdgpu_jpeg_sw_init()
99 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_suspend()
112 container_of(work, struct amdgpu_device, jpeg.idle_work.work); in amdgpu_jpeg_idle_work_handler()
130 schedule_delayed_work(&adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT); in amdgpu_jpeg_idle_work_handler()
138 cancel_delayed_work_sync(&adev->jpeg.idle_work); in amdgpu_jpeg_ring_begin_use()
149 schedule_delayed_work(&ring->adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT); in amdgpu_jpeg_ring_end_use()
H A Damdgpu_uvd.h66 struct delayed_work idle_work; member
H A Duvd_v3_1.c730 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v3_1_hw_fini()
761 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v3_1_suspend()
H A Damdgpu_vcn.c145 INIT_DELAYED_WORK(&adev->vcn.inst[i].idle_work, amdgpu_vcn_idle_work_handler); in amdgpu_vcn_sw_init()
465 container_of(work, struct amdgpu_vcn_inst, idle_work.work); in amdgpu_vcn_idle_work_handler()
500 schedule_delayed_work(&vcn_inst->idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_idle_work_handler()
511 cancel_delayed_work_sync(&vcn_inst->idle_work); in amdgpu_vcn_ring_begin_use()
555 schedule_delayed_work(&ring->adev->vcn.inst[ring->me].idle_work, in amdgpu_vcn_ring_end_use()
H A Dvcn_v2_5.c115 container_of(work, struct amdgpu_vcn_inst, idle_work.work); in vcn_v2_5_idle_work_handler()
153 schedule_delayed_work(&adev->vcn.inst[0].idle_work, VCN_IDLE_TIMEOUT); in vcn_v2_5_idle_work_handler()
164 cancel_delayed_work_sync(&adev->vcn.inst[0].idle_work); in vcn_v2_5_ring_begin_use()
212 schedule_delayed_work(&adev->vcn.inst[0].idle_work, in vcn_v2_5_ring_end_use()
309 adev->vcn.inst[j].idle_work.work.func = vcn_v2_5_idle_work_handler; in vcn_v2_5_sw_init()
517 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v2_5_hw_fini()
H A Djpeg_v3_0.c195 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v3_0_hw_fini()
H A Damdgpu_gfx.c2401 container_of(work, struct amdgpu_device, gfx.idle_work.work); in amdgpu_gfx_profile_idle_work_handler()
2427 schedule_delayed_work(&adev->gfx.idle_work, GFX_PROFILE_IDLE_TIMEOUT); in amdgpu_gfx_profile_idle_work_handler()
2447 cancel_delayed_work_sync(&adev->gfx.idle_work); in amdgpu_gfx_profile_ring_begin_use()
2477 schedule_delayed_work(&ring->adev->gfx.idle_work, GFX_PROFILE_IDLE_TIMEOUT); in amdgpu_gfx_profile_ring_end_use()
H A Djpeg_v5_3_0.c174 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v5_3_0_hw_fini()
H A Djpeg_v5_0_0.c191 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v5_0_0_hw_fini()
H A Djpeg_v2_0.c180 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v2_0_hw_fini()
H A Djpeg_v4_0_5.c252 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v4_0_5_hw_fini()
H A Djpeg_v2_5.c242 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v2_5_hw_fini()
H A Djpeg_v4_0.c224 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v4_0_hw_fini()
H A Djpeg_v5_0_2.c272 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v5_0_2_hw_fini()
H A Djpeg_v5_0_1.c311 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v5_0_1_hw_fini()
H A Dvcn_v5_0_2.c249 cancel_delayed_work_sync(&adev->vcn.inst[i].idle_work); in vcn_v5_0_2_hw_fini()
H A Dvcn_v5_0_0.c293 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v5_0_0_hw_fini()
H A Djpeg_v4_0_3.c440 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v4_0_3_hw_fini()
/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_usb.h175 struct delayed_work idle_work; member
H A Dzd_usb.c849 cancel_delayed_work_sync(&rx->idle_work); in zd_usb_disable_rx()
1131 container_of(work, struct zd_usb, rx.idle_work.work); in zd_rx_idle_timer_handler()
1154 mod_delayed_work(zd_workqueue, &rx->idle_work, ZD_RX_IDLE_INTERVAL); in zd_usb_reset_rx_idle_timer()
1180 INIT_DELAYED_WORK(&rx->idle_work, zd_rx_idle_timer_handler); in init_usb_rx()
/linux/drivers/bus/
H A Dti-sysc.c161 struct delayed_work idle_work; member
2882 ddata = container_of(work, struct sysc, idle_work.work); in ti_sysc_idle()
3247 INIT_DELAYED_WORK(&ddata->idle_work, ti_sysc_idle); in sysc_probe()
3253 schedule_delayed_work(&ddata->idle_work, 3000); in sysc_probe()
3278 if (cancel_delayed_work_sync(&ddata->idle_work)) in sysc_remove()
3279 ti_sysc_idle(&ddata->idle_work.work); in sysc_remove()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gpu.h151 struct msm_hrtimer_work idle_work; member
/linux/net/bluetooth/
H A Dhci_conn.c653 idle_work.work); in hci_conn_idle()
1124 INIT_DELAYED_WORK(&conn->idle_work, hci_conn_idle); in __hci_conn_add()
1247 disable_delayed_work_sync(&conn->idle_work); in hci_conn_del()
2714 mod_delayed_work(hdev->workqueue, &conn->idle_work, in hci_conn_enter_active_mode()
/linux/include/net/bluetooth/
H A Dhci_core.h766 struct delayed_work idle_work; member
1696 cancel_delayed_work(&conn->idle_work); in hci_conn_drop()

12