Lines Matching refs:mask

584 	 * return    0: mask, match, size, and devgrpid,
603 mcbank.mask = bank->mask;
836 mc_add_bank(int bankid, uint64_t mask, uint64_t match, uint64_t size,
851 banki->mask = mask;
858 DPRINTF(MC_CNSTRC_DEBUG, ("mc_add_bank: id %d mask 0x%lx match 0x%lx"
859 " base 0x%lx size 0x%lx\n", bankid, mask, match,
950 /* 128Mb and 256Mb devices have same bank select mask */
955 /* 512 and 1Gb devices have same bank select mask */
1010 uint64_t mask, uint64_t match, int interleave)
1027 mask |= (ds_shift == -1 ? 0 : (1ULL << ds_shift));
1028 mask |= (bs_shift == -1 ? 0 : (1ULL << bs_shift));
1031 mask |= XOR_DEVICE_SELECT_MASK;
1034 mask |= XOR_BANK_SELECT_MASK;
1037 /* find out the bits set to 1 in mask, nbits can be 2 or 4 */
1040 if ((((mask >> i) & 1) == 1) && (nbits < 4)) {
1053 /* each bit position of the mask decides the match & base for bank */
1063 banki = mc_add_bank(bankid, mask, match | xmatch, size,
1071 * Based on interleave, dimm-densities, part-type determine the mask
1077 uint64_t mask, uint64_t match, int interleave)
1092 mask |= (ds_shift == -1 ? 0 : (1ULL << ds_shift));
1093 mask |= (bs_shift == -1 ? 0 : (1ULL << bs_shift));
1101 " mask 0x%lx bs_shift %d match 0x%lx\n",
1102 interleave, mask, bs_shift, match));
1103 banki = mc_add_bank(bankid, mask, match, size, dgrpid);
1116 " mask 0x%lx shift %d match 0x%lx\n",
1117 interleave, mask, bs_shift, match));
1118 banki = mc_add_bank(bankid, mask, match, size, dgrpid);
1133 uint64_t mcid, bankid, interleave, mask, match;
1139 mask = MC_SELECT_MASK;
1148 mc_add_xor_banks(mctrl, mask, match, interleave);
1162 mask, match, interleave);
1586 if ((paddr & bank->mask) != bank->match) {
1707 if ((paddr & bankp->mask) != bankp->match) {