Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crtc.c197 struct idle_workqueue *idle_work; in amdgpu_dm_idle_worker() local
199 idle_work = container_of(work, struct idle_workqueue, work); in amdgpu_dm_idle_worker()
200 idle_work->dm->idle_workqueue->running = true; in amdgpu_dm_idle_worker()
202 while (idle_work->enable) { in amdgpu_dm_idle_worker()
204 mutex_lock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker()
205 if (!idle_work->dm->dc->idle_optimizations_allowed) { in amdgpu_dm_idle_worker()
206 mutex_unlock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker()
209 dc_allow_idle_optimizations(idle_work->dm->dc, false); in amdgpu_dm_idle_worker()
211 mutex_unlock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker()
213 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_vpe.c348 container_of(work, struct amdgpu_device, vpe.idle_work.work); in vpe_idle_work_handler()
362 schedule_delayed_work(&adev->vpe.idle_work, VPE_IDLE_TIMEOUT); in vpe_idle_work_handler()
381 INIT_DELAYED_WORK(&adev->vpe.idle_work, vpe_idle_work_handler); in vpe_common_init()
465 cancel_delayed_work_sync(&adev->vpe.idle_work); in vpe_hw_fini()
875 cancel_delayed_work_sync(&adev->vpe.idle_work); in vpe_ring_begin_use()
899 schedule_delayed_work(&adev->vpe.idle_work, VPE_IDLE_TIMEOUT); in vpe_ring_end_use()
H A Damdgpu_uvd.h66 struct delayed_work idle_work; member
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_1.c349 cancel_delayed_work_sync(&adev->vcn.inst[i].idle_work); in vcn_v5_0_1_hw_fini()
H A Dvcn_v4_0_5.c329 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v4_0_5_hw_fini()
H A Dvcn_v4_0_3.c385 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v4_0_3_hw_fini()
H A Dvcn_v4_0.c376 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v4_0_hw_fini()
H A Dvcn_v3_0.c451 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v3_0_hw_fini()
H A Dgfx_v12_0.c1399 INIT_DELAYED_WORK(&adev->gfx.idle_work, amdgpu_gfx_profile_idle_work_handler); in gfx_v12_0_sw_init()
3746 cancel_delayed_work_sync(&adev->gfx.idle_work); in gfx_v12_0_hw_fini()
H A Dgfx_v11_0.c1580 INIT_DELAYED_WORK(&adev->gfx.idle_work, amdgpu_gfx_profile_idle_work_handler); in gfx_v11_0_sw_init()
4887 cancel_delayed_work_sync(&adev->gfx.idle_work); in gfx_v11_0_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.c586 idle_work.work); in hci_conn_idle()
1051 INIT_DELAYED_WORK(&conn->idle_work, hci_conn_idle); in __hci_conn_add()
1174 disable_delayed_work_sync(&conn->idle_work); in hci_conn_del()
2617 queue_delayed_work(hdev->workqueue, &conn->idle_work, in hci_conn_enter_active_mode()
/linux/include/net/bluetooth/
H A Dhci_core.h764 struct delayed_work idle_work; member
1694 cancel_delayed_work(&conn->idle_work); in hci_conn_drop()