| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_crtc.c | 197 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 D | amdgpu_jpeg.c | 42 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 D | amdgpu_vpe.c | 348 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 D | amdgpu_uvd.h | 66 struct delayed_work idle_work; member
|
| H A D | jpeg_v5_0_1.c | 311 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v5_0_1_hw_fini()
|
| H A D | vcn_v5_0_1.c | 349 cancel_delayed_work_sync(&adev->vcn.inst[i].idle_work); in vcn_v5_0_1_hw_fini()
|
| H A D | vcn_v4_0_5.c | 329 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v4_0_5_hw_fini()
|
| H A D | vcn_v4_0_3.c | 385 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v4_0_3_hw_fini()
|
| H A D | vcn_v4_0.c | 376 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v4_0_hw_fini()
|
| H A D | vcn_v3_0.c | 451 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v3_0_hw_fini()
|
| H A D | gfx_v12_0.c | 1399 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 D | gfx_v11_0.c | 1580 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 D | zd_usb.h | 175 struct delayed_work idle_work; member
|
| H A D | zd_usb.c | 849 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 D | ti-sysc.c | 161 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 D | msm_gpu.h | 151 struct msm_hrtimer_work idle_work; member
|
| /linux/net/bluetooth/ |
| H A D | hci_conn.c | 586 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 D | hci_core.h | 764 struct delayed_work idle_work; member 1694 cancel_delayed_work(&conn->idle_work); in hci_conn_drop()
|