Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm/mach-footbridge/
Ddc21285.c296 unsigned int mem_size, mem_mask; in dc21285_preinit() local
301 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()
/linux-6.1.9/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()