Home
last modified time | relevance | path

Searched refs:mem_mask (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/mach-footbridge/
Ddc21285.c280 unsigned int mem_size, mem_mask; in dc21285_preinit() local
286 for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) in dc21285_preinit()
287 if (mem_mask >= mem_size) in dc21285_preinit()
294 *CSR_SDRAMBASEMASK = (mem_mask - 1) & 0x0ffc0000; in dc21285_preinit()
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dcuboot-pq2.c128 u32 naddr, nsize, mem_pow2, mem_mask; in fixup_pci() local
208 mem_mask = ~(mem_pow2 - 1) >> 12; in fixup_pci()
209 out_le32(&pci_regs[0][62], 0xa0000000 | mem_mask); in fixup_pci()