Searched refs:addrBits (Results 1 – 4 of 4) sorted by relevance
592 int mtr, ans, addrBits, channel; in decode_mtr() local608 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()
923 int addrBits; in handle_channel() local933 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()
997 int addrBits; in handle_channel() local1009 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()
368 static u32 addrBits = EEPROM_NO_ADDR_BITS; variable437 mask = 1 << (addrBits - 1); in fm93c56a_cmd()440 for (i = 0; i < addrBits; i++) { in fm93c56a_cmd()