Lines Matching refs:fw_shared
280 struct amdgpu_fw_shared *fw_shared; in vcn_v2_5_sw_init() local
375 fw_shared = adev->vcn.inst[j].fw_shared.cpu_addr; in vcn_v2_5_sw_init()
376 fw_shared->present_flag_0 = cpu_to_le32(AMDGPU_VCN_MULTI_QUEUE_FLAG); in vcn_v2_5_sw_init()
423 struct amdgpu_fw_shared *fw_shared; in vcn_v2_5_sw_fini() local
429 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v2_5_sw_fini()
430 fw_shared->present_flag_0 = 0; in vcn_v2_5_sw_fini()
636 lower_32_bits(adev->vcn.inst[i].fw_shared.gpu_addr)); in vcn_v2_5_mc_resume()
638 upper_32_bits(adev->vcn.inst[i].fw_shared.gpu_addr)); in vcn_v2_5_mc_resume()
728 lower_32_bits(adev->vcn.inst[inst_idx].fw_shared.gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
731 upper_32_bits(adev->vcn.inst[inst_idx].fw_shared.gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
1003 struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared.cpu_addr; in vcn_v2_5_start_dpg_mode() local
1119 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start_dpg_mode()
1143 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start_dpg_mode()
1160 struct amdgpu_fw_shared *fw_shared = in vcn_v2_5_start() local
1161 adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v2_5_start()
1305 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1318 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1320 fw_shared->multi_queue.encode_generalpurpose_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1327 fw_shared->multi_queue.encode_generalpurpose_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1329 fw_shared->multi_queue.encode_lowlatency_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1336 fw_shared->multi_queue.encode_lowlatency_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start()
1672 struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared.cpu_addr; in vcn_v2_5_pause_dpg_mode() local
1689 fw_shared->multi_queue.encode_generalpurpose_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_pause_dpg_mode()
1697 fw_shared->multi_queue.encode_generalpurpose_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_pause_dpg_mode()
1699 fw_shared->multi_queue.encode_lowlatency_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_pause_dpg_mode()
1707 fw_shared->multi_queue.encode_lowlatency_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_pause_dpg_mode()