Lines Matching refs:fw_shared

142 	volatile struct amdgpu_fw_shared *fw_shared;  in vcn_v2_0_sw_init()  local
229 fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_sw_init()
230 fw_shared->present_flag_0 = cpu_to_le32(AMDGPU_VCN_MULTI_QUEUE_FLAG); in vcn_v2_0_sw_init()
262 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_sw_fini() local
265 fw_shared->present_flag_0 = 0; in vcn_v2_0_sw_fini()
437 lower_32_bits(adev->vcn.inst->fw_shared.gpu_addr)); in vcn_v2_0_mc_resume()
439 upper_32_bits(adev->vcn.inst->fw_shared.gpu_addr)); in vcn_v2_0_mc_resume()
530 lower_32_bits(adev->vcn.inst->fw_shared.gpu_addr), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
533 upper_32_bits(adev->vcn.inst->fw_shared.gpu_addr), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
865 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_start_dpg_mode() local
967 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_start_dpg_mode()
991 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_0_start_dpg_mode()
1007 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_start() local
1142 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_start()
1155 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_0_start()
1157 fw_shared->multi_queue.encode_generalpurpose_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_start()
1164 fw_shared->multi_queue.encode_generalpurpose_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_0_start()
1166 fw_shared->multi_queue.encode_lowlatency_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_start()
1173 fw_shared->multi_queue.encode_lowlatency_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_0_start()
1314 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_pause_dpg_mode() local
1329 fw_shared->multi_queue.encode_generalpurpose_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_pause_dpg_mode()
1337 fw_shared->multi_queue.encode_generalpurpose_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_0_pause_dpg_mode()
1339 fw_shared->multi_queue.encode_lowlatency_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_pause_dpg_mode()
1347 fw_shared->multi_queue.encode_lowlatency_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_0_pause_dpg_mode()
1349 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_pause_dpg_mode()
1352 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_0_pause_dpg_mode()