Searched refs:idle_work (Results 1 - 25 of 31) sorted by relevance

12

/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_jpeg.c39 INIT_DELAYED_WORK(&adev->jpeg.idle_work, amdgpu_jpeg_idle_work_handler);
65 cancel_delayed_work_sync(&adev->jpeg.idle_work);
78 container_of(work, struct amdgpu_device, jpeg.idle_work.work);
94 schedule_delayed_work(&adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT);
102 cancel_delayed_work_sync(&adev->jpeg.idle_work);
113 schedule_delayed_work(&ring->adev->jpeg.idle_work, JPEG_IDLE_TIMEOUT);
H A Damdgpu_uvd.h66 struct delayed_work idle_work; member in struct:amdgpu_uvd
H A Damdgpu_vce.h45 struct delayed_work idle_work; member in struct:amdgpu_vce
H A Damdgpu_jpeg.h57 struct delayed_work idle_work; member in struct:amdgpu_jpeg
H A Damdgpu_uvd.c192 INIT_DELAYED_WORK(&adev->uvd.idle_work, amdgpu_uvd_idle_work_handler);
428 cancel_delayed_work_sync(&adev->uvd.idle_work);
1258 container_of(work, struct amdgpu_device, uvd.idle_work.work);
1281 schedule_delayed_work(&adev->uvd.idle_work, UVD_IDLE_TIMEOUT);
1293 set_clocks = !cancel_delayed_work_sync(&adev->uvd.idle_work);
1310 schedule_delayed_work(&ring->adev->uvd.idle_work, UVD_IDLE_TIMEOUT);
H A Damdgpu_vce.c195 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler);
263 cancel_delayed_work_sync(&adev->vce.idle_work);
334 container_of(work, struct amdgpu_device, vce.idle_work.work);
351 schedule_delayed_work(&adev->vce.idle_work, VCE_IDLE_TIMEOUT);
371 set_clocks = !cancel_delayed_work_sync(&adev->vce.idle_work);
397 schedule_delayed_work(&ring->adev->vce.idle_work, VCE_IDLE_TIMEOUT);
H A Dvcn_v1_0.c115 adev->vcn.idle_work.work.func = vcn_v1_0_idle_work_handler;
117 task_set(&adev->vcn.idle_work.work.task,
119 &adev->vcn.idle_work.work);
244 cancel_delayed_work_sync(&adev->vcn.idle_work);
268 idle_work_unexecuted = cancel_delayed_work_sync(&adev->vcn.idle_work);
1797 container_of(work, struct amdgpu_device, vcn.idle_work.work);
1830 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT);
1837 bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work);
1889 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT);
H A Damdgpu_vcn.c109 INIT_DELAYED_WORK(&adev->vcn.idle_work, amdgpu_vcn_idle_work_handler);
297 cancel_delayed_work_sync(&adev->vcn.idle_work);
371 container_of(work, struct amdgpu_device, vcn.idle_work.work);
407 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT);
418 if (!cancel_delayed_work_sync(&adev->vcn.idle_work)) {
461 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT);
H A Damdgpu_vce_v2_0.c484 cancel_delayed_work_sync(&adev->vce.idle_work);
506 cancel_delayed_work_sync(&adev->vce.idle_work);
H A Damdgpu_uvd_v4_2.c215 cancel_delayed_work_sync(&adev->uvd.idle_work);
239 cancel_delayed_work_sync(&adev->uvd.idle_work);
H A Duvd_v5_0.c213 cancel_delayed_work_sync(&adev->uvd.idle_work);
237 cancel_delayed_work_sync(&adev->uvd.idle_work);
H A Damdgpu_uvd_v3_1.c701 cancel_delayed_work_sync(&adev->uvd.idle_work);
725 cancel_delayed_work_sync(&adev->uvd.idle_work);
H A Damdgpu_vcn.h263 struct delayed_work idle_work; member in struct:amdgpu_vcn
H A Djpeg_v3_0.c174 cancel_delayed_work_sync(&adev->vcn.idle_work);
H A Dvce_v4_0.c548 cancel_delayed_work_sync(&adev->vce.idle_work);
590 cancel_delayed_work_sync(&adev->vce.idle_work);
H A Dvce_v3_0.c495 cancel_delayed_work_sync(&adev->vce.idle_work);
521 cancel_delayed_work_sync(&adev->vce.idle_work);
H A Djpeg_v2_5.c216 cancel_delayed_work_sync(&adev->vcn.idle_work);
H A Djpeg_v4_0.c200 cancel_delayed_work_sync(&adev->vcn.idle_work);
H A Djpeg_v2_0.c157 cancel_delayed_work_sync(&adev->vcn.idle_work);
H A Djpeg_v1_0.c600 bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work);
H A Duvd_v6_0.c537 cancel_delayed_work_sync(&adev->uvd.idle_work);
561 cancel_delayed_work_sync(&adev->uvd.idle_work);
H A Duvd_v7_0.c603 cancel_delayed_work_sync(&adev->uvd.idle_work);
631 cancel_delayed_work_sync(&adev->uvd.idle_work);
H A Djpeg_v4_0_3.c361 cancel_delayed_work_sync(&adev->jpeg.idle_work);
/openbsd-current/sys/dev/pci/drm/radeon/
H A Dradeon_vce.c65 INIT_DELAYED_WORK(&rdev->vce.idle_work, radeon_vce_idle_work_handler);
294 container_of(work, struct radeon_device, vce.idle_work.work);
304 schedule_delayed_work(&rdev->vce.idle_work,
319 bool set_clocks = !cancel_delayed_work_sync(&rdev->vce.idle_work);
320 set_clocks &= schedule_delayed_work(&rdev->vce.idle_work,
H A Dradeon_uvd.c72 INIT_DELAYED_WORK(&rdev->uvd.idle_work, radeon_uvd_idle_work_handler);
863 container_of(work, struct radeon_device, uvd.idle_work.work);
874 schedule_delayed_work(&rdev->uvd.idle_work,
882 bool set_clocks = !cancel_delayed_work_sync(&rdev->uvd.idle_work);
883 set_clocks &= schedule_delayed_work(&rdev->uvd.idle_work,

Completed in 295 milliseconds

12