Home
last modified time | relevance | path

Searched refs:pagenr (Results 1 – 15 of 15) sorted by relevance

/arch/powerpc/include/asm/
Ddma.h239 static __inline__ void set_dma_page(unsigned int dmanr, int pagenr) in set_dma_page() argument
243 dma_outb(pagenr, DMA_LO_PAGE_0); in set_dma_page()
244 dma_outb(pagenr >> 8, DMA_HI_PAGE_0); in set_dma_page()
247 dma_outb(pagenr, DMA_LO_PAGE_1); in set_dma_page()
248 dma_outb(pagenr >> 8, DMA_HI_PAGE_1); in set_dma_page()
251 dma_outb(pagenr, DMA_LO_PAGE_2); in set_dma_page()
252 dma_outb(pagenr >> 8, DMA_HI_PAGE_2); in set_dma_page()
255 dma_outb(pagenr, DMA_LO_PAGE_3); in set_dma_page()
256 dma_outb(pagenr >> 8, DMA_HI_PAGE_3); in set_dma_page()
259 dma_outb(pagenr & 0xfe, DMA_LO_PAGE_5); in set_dma_page()
[all …]
/arch/alpha/include/asm/
Ddma.h266 static __inline__ void set_dma_page(unsigned int dmanr, unsigned int pagenr) in set_dma_page() argument
270 dma_outb(pagenr, DMA_PAGE_0); in set_dma_page()
271 dma_outb((pagenr >> 8), DMA_HIPAGE_0); in set_dma_page()
274 dma_outb(pagenr, DMA_PAGE_1); in set_dma_page()
275 dma_outb((pagenr >> 8), DMA_HIPAGE_1); in set_dma_page()
278 dma_outb(pagenr, DMA_PAGE_2); in set_dma_page()
279 dma_outb((pagenr >> 8), DMA_HIPAGE_2); in set_dma_page()
282 dma_outb(pagenr, DMA_PAGE_3); in set_dma_page()
283 dma_outb((pagenr >> 8), DMA_HIPAGE_3); in set_dma_page()
286 dma_outb(pagenr & 0xfe, DMA_PAGE_5); in set_dma_page()
[all …]
/arch/x86/include/asm/
Ddma.h211 static inline void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument
215 dma_outb(pagenr, DMA_PAGE_0); in set_dma_page()
218 dma_outb(pagenr, DMA_PAGE_1); in set_dma_page()
221 dma_outb(pagenr, DMA_PAGE_2); in set_dma_page()
224 dma_outb(pagenr, DMA_PAGE_3); in set_dma_page()
227 dma_outb(pagenr & 0xfe, DMA_PAGE_5); in set_dma_page()
230 dma_outb(pagenr & 0xfe, DMA_PAGE_6); in set_dma_page()
233 dma_outb(pagenr & 0xfe, DMA_PAGE_7); in set_dma_page()
Dpage_types.h44 extern int devmem_is_allowed(unsigned long pagenr);
/arch/mips/include/asm/
Ddma.h217 static __inline__ void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument
221 dma_outb(pagenr, DMA_PAGE_0); in set_dma_page()
224 dma_outb(pagenr, DMA_PAGE_1); in set_dma_page()
227 dma_outb(pagenr, DMA_PAGE_2); in set_dma_page()
230 dma_outb(pagenr, DMA_PAGE_3); in set_dma_page()
233 dma_outb(pagenr & 0xfe, DMA_PAGE_5); in set_dma_page()
236 dma_outb(pagenr & 0xfe, DMA_PAGE_6); in set_dma_page()
239 dma_outb(pagenr & 0xfe, DMA_PAGE_7); in set_dma_page()
/arch/score/mm/
Dinit.c61 int page_is_ram(unsigned long pagenr) in page_is_ram() argument
63 if (pagenr >= min_low_pfn && pagenr < max_low_pfn) in page_is_ram()
/arch/mn10300/include/asm/
Ddma.h65 static inline void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument
/arch/x86/mm/
Dinit.c328 int devmem_is_allowed(unsigned long pagenr) in devmem_is_allowed() argument
330 if (pagenr <= 256) in devmem_is_allowed()
332 if (iomem_is_exclusive(pagenr << PAGE_SHIFT)) in devmem_is_allowed()
334 if (!page_is_ram(pagenr)) in devmem_is_allowed()
/arch/arm/include/asm/
Ddma.h60 extern void set_dma_page(unsigned int chan, char pagenr);
/arch/parisc/include/asm/
Ddma.h150 static __inline__ void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument
/arch/tile/mm/
Dinit.c672 int devmem_is_allowed(unsigned long pagenr) in devmem_is_allowed() argument
674 return pagenr < kaddr_to_pfn(_end) && in devmem_is_allowed()
675 !(pagenr >= kaddr_to_pfn(&init_thread_union) || in devmem_is_allowed()
676 pagenr < kaddr_to_pfn(_einitdata)) && in devmem_is_allowed()
677 !(pagenr >= kaddr_to_pfn(_sinittext) || in devmem_is_allowed()
678 pagenr <= kaddr_to_pfn(_einittext-1)); in devmem_is_allowed()
/arch/mips/mm/
Dinit.c300 int page_is_ram(unsigned long pagenr) in page_is_ram() argument
320 if (pagenr >= addr && pagenr < end) in page_is_ram()
/arch/tile/include/asm/
Dpage.h312 extern int devmem_is_allowed(unsigned long pagenr);
/arch/arm/kernel/
Ddma.c241 void set_dma_page(unsigned int chan, char pagenr) in set_dma_page() argument
/arch/mips/include/asm/mach-au1x00/
Dau1000_dma.h334 static inline void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument