Lines Matching refs:err_addr
112 struct ras_err_data *err_data, uint64_t err_addr, in umc_v8_7_convert_error_address() argument
122 retired_page = ADDR_OF_4KB_BLOCK(err_addr) | in umc_v8_7_convert_error_address()
124 OFFSET_IN_256B_BLOCK(err_addr); in umc_v8_7_convert_error_address()
126 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v8_7_convert_error_address()
135 uint64_t mc_umc_status, err_addr; in umc_v8_7_ecc_info_query_error_address() local
145 if (!err_data->err_addr) in umc_v8_7_ecc_info_query_error_address()
152 err_addr = ras->umc_ecc.ecc[eccinfo_table_idx].mca_umc_addr; in umc_v8_7_ecc_info_query_error_address()
153 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v8_7_ecc_info_query_error_address()
155 umc_v8_7_convert_error_address(adev, err_data, err_addr, in umc_v8_7_ecc_info_query_error_address()
333 uint64_t mc_umc_status, err_addr, mc_umc_addrt0; in umc_v8_7_query_error_address() local
344 if (!err_data->err_addr) { in umc_v8_7_query_error_address()
354 err_addr = RREG64_PCIE((mc_umc_addrt0 + umc_reg_offset) * 4); in umc_v8_7_query_error_address()
356 lsb = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, LSB); in umc_v8_7_query_error_address()
357 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v8_7_query_error_address()
358 err_addr &= ~((0x1ULL << lsb) - 1); in umc_v8_7_query_error_address()
360 umc_v8_7_convert_error_address(adev, err_data, err_addr, in umc_v8_7_query_error_address()