Home
last modified time | relevance | path

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

/openbmc/linux/drivers/edac/
H A 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()
H A Di5400_edac.c924 int addrBits; in handle_channel() local
934 addrBits = MTR_DRAM_BANKS_ADDR_BITS(mtr); in handle_channel()
936 addrBits += MTR_DIMM_ROWS_ADDR_BITS(mtr); in handle_channel()
938 addrBits += MTR_DIMM_COLS_ADDR_BITS(mtr); in handle_channel()
940 addrBits += MTR_DIMM_RANK(mtr); in handle_channel()
942 addrBits += 6; /* add 64 bits per DIMM */ in handle_channel()
943 addrBits -= 20; /* divide by 2^^20 */ in handle_channel()
944 addrBits -= 3; /* 8 bits per bytes */ in handle_channel()
946 dinfo->megabytes = 1 << addrBits; in handle_channel()
H A 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()
/openbmc/linux/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c363 static u32 addrBits = EEPROM_NO_ADDR_BITS; variable
430 mask = 1 << (addrBits - 1); in fm93c56a_cmd()
433 for (i = 0; i < addrBits; i++) { in fm93c56a_cmd()