Searched refs:mem_mask (Results 1 – 3 of 3) sorted by relevance
295 unsigned int mem_size, mem_mask; in dc21285_preinit() local299 for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) in dc21285_preinit()300 if (mem_mask >= mem_size) in dc21285_preinit()307 *CSR_SDRAMBASEMASK = (mem_mask - 1) & 0x0ffc0000; in dc21285_preinit()
42 unsigned long mem_mask) in bfin_cache_init() argument51 _enable_cplb(mem_control, mem_mask); in bfin_cache_init()
131 u32 naddr, nsize, mem_pow2, mem_mask; in fixup_pci() local211 mem_mask = ~(mem_pow2 - 1) >> 12; in fixup_pci()212 out_le32(&pci_regs[0][62], 0xa0000000 | mem_mask); in fixup_pci()