Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/edac/
Di7300_edac.c592 int mtr, ans, addrBits, channel; in decode_mtr() local
608 addrBits = MTR_DRAM_BANKS_ADDR_BITS; in decode_mtr()
610 addrBits += MTR_DIMM_ROWS_ADDR_BITS(mtr); in decode_mtr()
612 addrBits += MTR_DIMM_COLS_ADDR_BITS(mtr); in decode_mtr()
614 addrBits += MTR_DIMM_RANKS(mtr); in decode_mtr()
616 addrBits += 6; /* add 64 bits per DIMM */ in decode_mtr()
617 addrBits -= 20; /* divide by 2^^20 */ in decode_mtr()
618 addrBits -= 3; /* 8 bits per bytes */ in decode_mtr()
620 dinfo->megabytes = 1 << addrBits; in decode_mtr()
Di5400_edac.c923 int addrBits; in handle_channel() local
933 addrBits = MTR_DRAM_BANKS_ADDR_BITS(mtr); in handle_channel()
935 addrBits += MTR_DIMM_ROWS_ADDR_BITS(mtr); in handle_channel()
937 addrBits += MTR_DIMM_COLS_ADDR_BITS(mtr); in handle_channel()
939 addrBits += MTR_DIMM_RANK(mtr); in handle_channel()
941 addrBits += 6; /* add 64 bits per DIMM */ in handle_channel()
942 addrBits -= 20; /* divide by 2^^20 */ in handle_channel()
943 addrBits -= 3; /* 8 bits per bytes */ in handle_channel()
945 dinfo->megabytes = 1 << addrBits; in handle_channel()
Di5000_edac.c997 int addrBits; in handle_channel() local
1009 addrBits = MTR_DRAM_BANKS_ADDR_BITS(mtr); in handle_channel()
1011 addrBits += MTR_DIMM_ROWS_ADDR_BITS(mtr); in handle_channel()
1013 addrBits += MTR_DIMM_COLS_ADDR_BITS(mtr); in handle_channel()
1017 addrBits++; in handle_channel()
1019 addrBits += 6; /* add 64 bits per DIMM */ in handle_channel()
1020 addrBits -= 20; /* divide by 2^^20 */ in handle_channel()
1021 addrBits -= 3; /* 8 bits per bytes */ in handle_channel()
1023 dinfo->megabytes = 1 << addrBits; in handle_channel()