Lines Matching refs:addr_hash
83 } addr_hash; variable
156 addr_hash.bank[i].xor_enable = FIELD_GET(ADDR_HASH_XOR_EN, temp); in get_umc_info_mi300()
157 addr_hash.bank[i].col_xor = FIELD_GET(ADDR_HASH_COL_XOR, temp); in get_umc_info_mi300()
158 addr_hash.bank[i].row_xor = FIELD_GET(ADDR_HASH_ROW_XOR, temp); in get_umc_info_mi300()
165 addr_hash.pc.xor_enable = FIELD_GET(ADDR_HASH_XOR_EN, temp); in get_umc_info_mi300()
166 addr_hash.pc.col_xor = FIELD_GET(ADDR_HASH_COL_XOR, temp); in get_umc_info_mi300()
167 addr_hash.pc.row_xor = FIELD_GET(ADDR_HASH_ROW_XOR, temp); in get_umc_info_mi300()
173 addr_hash.bank_xor = FIELD_GET(ADDR_HASH_BANK_XOR, temp); in get_umc_info_mi300()
251 if (!addr_hash.bank[i].xor_enable) in convert_dram_to_norm_addr_mi300()
254 temp = bitwise_xor_bits(col & addr_hash.bank[i].col_xor); in convert_dram_to_norm_addr_mi300()
255 temp ^= bitwise_xor_bits(row & addr_hash.bank[i].row_xor); in convert_dram_to_norm_addr_mi300()
260 if (addr_hash.pc.xor_enable) { in convert_dram_to_norm_addr_mi300()
261 temp = bitwise_xor_bits(col & addr_hash.pc.col_xor); in convert_dram_to_norm_addr_mi300()
262 temp ^= bitwise_xor_bits(row & addr_hash.pc.row_xor); in convert_dram_to_norm_addr_mi300()
264 temp ^= bitwise_xor_bits((bank | sid << NUM_BANK_BITS) & addr_hash.bank_xor); in convert_dram_to_norm_addr_mi300()