Home
last modified time | relevance | path

Searched refs:bit_shifts (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/drivers/ras/amd/atl/
H A Dumc.c94 } bit_shifts; variable
211 bit_shifts.pc = 5 + FIELD_GET(ADDR_SEL_2_CHAN, temp); in get_umc_info_mi300()
273 addr |= temp << bit_shifts.col[i]; in convert_dram_to_norm_addr_mi300()
279 addr |= temp << bit_shifts.bank[i]; in convert_dram_to_norm_addr_mi300()
283 for (i = 0; i < bit_shifts.num_row_lo; i++) { in convert_dram_to_norm_addr_mi300()
285 addr |= temp << (i + bit_shifts.row_lo); in convert_dram_to_norm_addr_mi300()
289 for (i = 0; i < bit_shifts.num_row_hi; i++) { in convert_dram_to_norm_addr_mi300()
290 temp = (row >> (i + bit_shifts.num_row_lo)) & 0x1; in convert_dram_to_norm_addr_mi300()
291 addr |= temp << (i + bit_shifts.row_hi); in convert_dram_to_norm_addr_mi300()
295 addr |= pc << bit_shifts.pc; in convert_dram_to_norm_addr_mi300()
[all …]