Lines Matching refs:fw_shared
161 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v2_5_sw_init() local
211 fw_shared = adev->vcn.inst[j].fw_shared.cpu_addr; in vcn_v2_5_sw_init()
212 fw_shared->present_flag_0 = cpu_to_le32(AMDGPU_VCN_MULTI_QUEUE_FLAG); in vcn_v2_5_sw_init()
241 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v2_5_sw_fini() local
247 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v2_5_sw_fini()
248 fw_shared->present_flag_0 = 0; in vcn_v2_5_sw_fini()
441 lower_32_bits(adev->vcn.inst[i].fw_shared.gpu_addr)); in vcn_v2_5_mc_resume()
443 upper_32_bits(adev->vcn.inst[i].fw_shared.gpu_addr)); in vcn_v2_5_mc_resume()
531 lower_32_bits(adev->vcn.inst[inst_idx].fw_shared.gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
534 upper_32_bits(adev->vcn.inst[inst_idx].fw_shared.gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
775 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared.cpu_addr; in vcn_v2_5_start_dpg_mode() local
885 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start_dpg_mode()
909 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start_dpg_mode()
999 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v2_5_start() local
1073 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1086 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1088 fw_shared->multi_queue.encode_generalpurpose_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1095 fw_shared->multi_queue.encode_generalpurpose_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1097 fw_shared->multi_queue.encode_lowlatency_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1104 fw_shared->multi_queue.encode_lowlatency_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1421 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared.cpu_addr; in vcn_v2_5_pause_dpg_mode() local
1438 fw_shared->multi_queue.encode_generalpurpose_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_pause_dpg_mode()
1446 fw_shared->multi_queue.encode_generalpurpose_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_pause_dpg_mode()
1448 fw_shared->multi_queue.encode_lowlatency_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_pause_dpg_mode()
1456 fw_shared->multi_queue.encode_lowlatency_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_pause_dpg_mode()