Lines Matching refs:uvd
96 adev->uvd.num_uvd_inst = 1; in uvd_v4_2_early_init()
111 r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 124, &adev->uvd.inst->irq); in uvd_v4_2_sw_init()
119 ring = &adev->uvd.inst->ring; in uvd_v4_2_sw_init()
121 r = amdgpu_ring_init(adev, ring, 512, &adev->uvd.inst->irq, 0, in uvd_v4_2_sw_init()
159 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v4_2_hw_init()
215 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v4_2_hw_fini()
239 cancel_delayed_work_sync(&adev->uvd.idle_work); in uvd_v4_2_suspend()
280 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v4_2_start()
575 addr = (adev->uvd.inst->gpu_addr + AMDGPU_UVD_FIRMWARE_OFFSET) >> 3; in uvd_v4_2_mc_resume()
587 (AMDGPU_UVD_SESSION_SIZE * adev->uvd.max_handles)) >> 3; in uvd_v4_2_mc_resume()
592 addr = (adev->uvd.inst->gpu_addr >> 28) & 0xF; in uvd_v4_2_mc_resume()
596 addr = (adev->uvd.inst->gpu_addr >> 32) & 0xFF; in uvd_v4_2_mc_resume()
703 amdgpu_fence_process(&adev->uvd.inst->ring); in uvd_v4_2_process_interrupt()
792 adev->uvd.inst->ring.funcs = &uvd_v4_2_ring_funcs; in uvd_v4_2_set_ring_funcs()
802 adev->uvd.inst->irq.num_types = 1; in uvd_v4_2_set_irq_funcs()
803 adev->uvd.inst->irq.funcs = &uvd_v4_2_irq_funcs; in uvd_v4_2_set_irq_funcs()