Searched refs:mem_mask (Results 1 – 2 of 2) sorted by relevance
296 unsigned int mem_size, mem_mask; in dc21285_preinit() local301 for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) in dc21285_preinit()302 if (mem_mask >= mem_size) in dc21285_preinit()309 *CSR_SDRAMBASEMASK = (mem_mask - 1) & 0x0ffc0000; in dc21285_preinit()
128 u32 naddr, nsize, mem_pow2, mem_mask; in fixup_pci() local208 mem_mask = ~(mem_pow2 - 1) >> 12; in fixup_pci()209 out_le32(&pci_regs[0][62], 0xa0000000 | mem_mask); in fixup_pci()