Searched refs:IOR_LSBITS (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/powertv/
H A Dioremap.c40 #define IOR_PHYS_GRAIN ((phys_addr_t) 1 << IOR_LSBITS)
43 #define IOR_DMA_GRAIN ((dma_addr_t) 1 << IOR_LSBITS)
62 * @dma_idx: Top IOR_LSBITS bits of the DMA address, i.e. an index
80 first_idx = first >> IOR_LSBITS; /* Convert to indices */
81 last_idx = last >> IOR_LSBITS;
89 * @phys_idx: Top IOR_LSBITS bits of the DMA address, i.e. an index
107 first_idx = first >> IOR_LSBITS; /* Convert to indices */
108 last_idx = last >> IOR_LSBITS;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-powertv/
H A Dioremap.h32 #define IOR_LSBITS 22 /* Bits in a grain */ macro
39 #define IOR_PHYS_MSBITS (IOR_PHYS_BITS - IOR_LSBITS)
42 #define IOR_DMA_MSBITS (IOR_DMA_BITS - IOR_LSBITS)
82 return (dma_addr_t)_ior_phys_to_dma[phys >> IOR_LSBITS].offset;
87 return (dma_addr_t)_ior_dma_to_phys[dma >> IOR_LSBITS].offset;

Completed in 49 milliseconds