Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/edac/
Di7300_edac.c590 int mtr, ans, addrBits, channel; in decode_mtr() local
606 addrBits = MTR_DRAM_BANKS_ADDR_BITS; in decode_mtr()
608 addrBits += MTR_DIMM_ROWS_ADDR_BITS(mtr); in decode_mtr()
610 addrBits += MTR_DIMM_COLS_ADDR_BITS(mtr); in decode_mtr()
612 addrBits += MTR_DIMM_RANKS(mtr); in decode_mtr()
614 addrBits += 6; /* add 64 bits per DIMM */ in decode_mtr()
615 addrBits -= 20; /* divide by 2^^20 */ in decode_mtr()
616 addrBits -= 3; /* 8 bits per bytes */ in decode_mtr()
618 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()
/Linux-v5.4/drivers/net/ethernet/qlogic/
Dqla3xxx.c365 static u32 addrBits = EEPROM_NO_ADDR_BITS; variable
432 mask = 1 << (addrBits - 1); in fm93c56a_cmd()
435 for (i = 0; i < addrBits; i++) { in fm93c56a_cmd()