Lines Matching +full:native +full:- +full:endian
1 /* SPDX-License-Identifier: GPL-2.0 */
12 * The non-MMU m68k and ColdFire IO and memory mapped hardware access
13 * functions have always worked in CPU native endian. We need to define
14 * that behavior here first before we include asm-generic/io.h.
50 return (addr >= IOMEMBASE) && (addr <= IOMEMBASE + IOMEMSIZE - 1); in __cf_internalio()
59 * We need to treat built-in peripherals and bus based address ranges
60 * differently. Local built-in peripherals (and the ColdFire SoC parts
61 * have quite a lot of them) are always native endian - which is big
62 * endian on m68k/ColdFire. Bus based address ranges, like the PCI bus,
63 * are accessed little endian - so we need to byte swap those.
112 * Support for PCI bus access uses the asm-generic access functions.
119 #define PCI_MEM_MASK (PCI_MEM_SIZE - 1)
124 #define PCI_IO_MASK (PCI_IO_SIZE - 1)