Searched refs:idle_work (Results 1 – 13 of 13) sorted by relevance
| /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_uvd.h | 66 struct delayed_work idle_work; member
|
| 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 | vcn_v4_0_5.c | 329 cancel_delayed_work_sync(&vinst->idle_work); in vcn_v4_0_5_hw_fini()
|
| H A D | gfx_v12_0.c | 1404 INIT_DELAYED_WORK(&adev->gfx.idle_work, amdgpu_gfx_profile_idle_work_handler); in gfx_v12_0_sw_init() 3751 cancel_delayed_work_sync(&adev->gfx.idle_work); in gfx_v12_0_hw_fini()
|
| H A D | amdgpu_device.c | 3735 cancel_delayed_work_sync(&adev->gfx.idle_work); in amdgpu_device_ip_suspend_phase2()
|
| /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() 1057 INIT_DELAYED_WORK(&conn->idle_work, hci_conn_idle); in __hci_conn_add() 1180 disable_delayed_work_sync(&conn->idle_work); in hci_conn_del() 2624 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; 1696 cancel_delayed_work(&conn->idle_work); in hci_conn_drop() 764 struct delayed_work idle_work; global() member
|