| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_crtc.c | 196 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 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_uvd.h | 66 struct delayed_work idle_work; member
|
| H A D | uvd_v3_1.c | 730 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 D | amdgpu_vcn.c | 145 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 D | vcn_v2_5.c | 115 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 D | jpeg_v3_0.c | 195 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v3_0_hw_fini()
|
| H A D | amdgpu_gfx.c | 2401 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 D | jpeg_v5_3_0.c | 174 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v5_3_0_hw_fini()
|
| H A D | jpeg_v5_0_0.c | 191 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v5_0_0_hw_fini()
|
| H A D | jpeg_v2_0.c | 180 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v2_0_hw_fini()
|
| H A D | jpeg_v4_0_5.c | 252 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v4_0_5_hw_fini()
|
| H A D | jpeg_v2_5.c | 242 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v2_5_hw_fini()
|
| H A D | jpeg_v4_0.c | 224 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v4_0_hw_fini()
|
| H A D | jpeg_v5_0_2.c | 272 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v5_0_2_hw_fini()
|
| 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_2.c | 249 cancel_delayed_work_sync(&adev->vcn.inst[i].idle_work); in vcn_v5_0_2_hw_fini()
|
| H A D | vcn_v5_0_0.c | 293 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v5_0_0_hw_fini()
|
| H A D | jpeg_v4_0_3.c | 440 cancel_delayed_work_sync(&adev->jpeg.idle_work); in jpeg_v4_0_3_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 | 653 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 D | hci_core.h | 766 struct delayed_work idle_work; member 1696 cancel_delayed_work(&conn->idle_work); in hci_conn_drop()
|