| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_crtc.c | 175 struct idle_workqueue *idle_work; in amdgpu_dm_idle_worker() local 177 idle_work = container_of(work, struct idle_workqueue, work); in amdgpu_dm_idle_worker() 178 idle_work->dm->idle_workqueue->running = true; in amdgpu_dm_idle_worker() 180 while (idle_work->enable) { in amdgpu_dm_idle_worker() 182 mutex_lock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker() 183 if (!idle_work->dm->dc->idle_optimizations_allowed) { in amdgpu_dm_idle_worker() 184 mutex_unlock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker() 187 dc_allow_idle_optimizations(idle_work->dm->dc, false); in amdgpu_dm_idle_worker() 189 mutex_unlock(&idle_work->dm->dc_lock); in amdgpu_dm_idle_worker() 191 mutex_lock(&idle_work in amdgpu_dm_idle_worker() 211 struct idle_workqueue *idle_work; idle_create_workqueue() local [all...] |
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_crtc_test.c | 560 struct idle_workqueue *idle_work; in dm_test_idle_create_workqueue() 565 idle_work = idle_create_workqueue(adev); in dm_test_idle_create_workqueue() 566 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, idle_work); in dm_test_idle_create_workqueue() 568 KUNIT_EXPECT_PTR_EQ(test, idle_work->dm, &adev->dm); in dm_test_idle_create_workqueue() 569 KUNIT_EXPECT_FALSE(test, idle_work->enable); in dm_test_idle_create_workqueue() 570 KUNIT_EXPECT_FALSE(test, idle_work->running); in dm_test_idle_create_workqueue() 572 kfree(idle_work); 584 struct idle_workqueue *idle_work; in dm_test_idle_worker_disabled_clears_running() 590 idle_work = kunit_kzalloc(test, sizeof(*idle_work), GFP_KERNE in dm_test_idle_worker_disabled_clears_running() 557 struct idle_workqueue *idle_work; dm_test_idle_create_workqueue() local 581 struct idle_workqueue *idle_work; dm_test_idle_worker_disabled_clears_running() local 610 struct idle_workqueue *idle_work; dm_test_idle_worker_enabled_breaks_when_idle_disallowed() local 644 struct idle_workqueue *idle_work; dm_test_idle_worker_enabled_breaks_when_not_headless() local 706 struct idle_workqueue *idle_work; dm_test_idle_worker_enabled_runs_body() local [all...] |
| H A D | amdgpu_dm_helpers_test.c | 2839 struct dm_test_idle_work *idle_work; in dm_test_mccs_vcp_set_null_ctx() 2841 idle_work = container_of(work, struct dm_test_idle_work, base.work); in dm_test_mccs_vcp_set_null_ctx() 2842 idle_work->ran = true; in dm_test_mccs_vcp_set_null_ctx() 2874 struct idle_workqueue *idle_work; 2881 idle_work = kunit_kzalloc(test, sizeof(*idle_work), GFP_KERNEL); in dm_test_mccs_vcp_set_null_link() 2882 KUNIT_ASSERT_NOT_NULL(test, idle_work); in dm_test_mccs_vcp_set_null_link() 2885 adev->dm.idle_workqueue = idle_work; in dm_test_mccs_vcp_set_null_link() 2886 idle_work->running = true; in dm_test_mccs_vcp_set_null_link() 2889 KUNIT_EXPECT_TRUE(test, idle_work in dm_test_mccs_vcp_set_null_link() 2533 struct dm_test_idle_work *idle_work; dm_test_idle_work_func() local 2568 struct idle_workqueue *idle_work; dm_test_enable_periodic_detection_updates_enable() local 2595 struct dm_test_idle_work *idle_work; dm_test_enable_periodic_detection_schedules_work() local [all...] |
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vce.c | 236 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler); in amdgpu_vce_sw_init() 306 cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_suspend() 360 container_of(work, struct amdgpu_device, vce.idle_work.work); in amdgpu_vce_idle_work_handler() 377 schedule_delayed_work(&adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_idle_work_handler() 397 set_clocks = !cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_ring_begin_use() 423 schedule_delayed_work(&ring->adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_ring_end_use()
|
| H A D | amdgpu_uvd.c | 193 INIT_DELAYED_WORK(&adev->uvd.idle_work, amdgpu_uvd_idle_work_handler); in amdgpu_uvd_sw_init() 434 cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_prepare_suspend() 1249 container_of(work, struct amdgpu_device, uvd.idle_work.work); in amdgpu_uvd_idle_work_handler() 1272 schedule_delayed_work(&adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_idle_work_handler() 1284 set_clocks = !cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_ring_begin_use() 1301 schedule_delayed_work(&ring->adev->uvd.idle_work, UVD_IDLE_TIMEOUT);
|
| H A D | amdgpu_uvd.h | 66 struct delayed_work idle_work; member
|
| H A D | vce_v2_0.c | 494 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v2_0_hw_fini() 500 cancel_delayed_work_sync(&ip_block->adev->vce.idle_work); 522 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v2_0_suspend()
|
| H A D | uvd_v3_1.c | 714 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v3_1_hw_init() 732 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v3_1_hw_fini() 763 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v3_1_suspend()
|
| H A D | vce_v1_0.c | 675 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v1_0_suspend() 687 cancel_delayed_work_sync(&ip_block->adev->vce.idle_work); in vce_v1_0_suspend() 707 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v1_0_suspend()
|
| H A D | vce_v3_0.c | 493 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v3_0_hw_fini() 502 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v3_0_hw_fini() 528 cancel_delayed_work_sync(&adev->vce.idle_work); in vce_v3_0_suspend()
|
| H A D | amdgpu_gfx.c | 2895 container_of(work, struct amdgpu_device, gfx.idle_work.work); 2921 schedule_delayed_work(&adev->gfx.idle_work, GFX_PROFILE_IDLE_TIMEOUT); in amdgpu_debugfs_gfx_sched_mask_set() 2940 cancel_delayed_work_sync(&adev->gfx.idle_work); in amdgpu_debugfs_gfx_sched_mask_get() 2969 schedule_delayed_work(&ring->adev->gfx.idle_work, in amdgpu_debugfs_gfx_sched_mask_init()
|
| H A D | jpeg_v4_0.c | |
| H A D | jpeg_v4_0_5.c | |
| H A D | jpeg_v5_0_1.c | |
| H A D | vcn_v5_0_0.c | |
| H A D | jpeg_v4_0_3.c | |
| H A D | vcn_v5_0_1.c | |
| H A D | vcn_v2_0.c | |
| H A D | vcn_v4_0_3.c | |
| H A D | vcn_v4_0.c | |
| /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/gpu/drm/msm/ |
| H A D | msm_gpu.h | 156 * @idle_work: 159 struct msm_hrtimer_work idle_work; member
|
| /linux/net/bluetooth/ |
| H A D | hci_conn.c | 674 idle_work.work); in hci_conn_idle() 1169 INIT_DELAYED_WORK(&conn->idle_work, hci_conn_idle); in __hci_conn_add() 1324 disable_delayed_work_sync(&conn->idle_work); in hci_conn_del() 2815 mod_delayed_work(hdev->workqueue, &conn->idle_work, in hci_get_conn_list()
|
| /linux/include/net/bluetooth/ |
| H A D | hci_core.h | 816 struct delayed_work idle_work; 1764 cancel_delayed_work(&conn->idle_work); in hci_set_drvdata() 772 struct delayed_work idle_work; global() member
|