/Linux-v4.19/arch/powerpc/include/asm/ |
D | dma.h | 235 static __inline__ void set_dma_page(unsigned int dmanr, int pagenr) in set_dma_page() argument 239 dma_outb(pagenr, DMA_LO_PAGE_0); in set_dma_page() 240 dma_outb(pagenr >> 8, DMA_HI_PAGE_0); in set_dma_page() 243 dma_outb(pagenr, DMA_LO_PAGE_1); in set_dma_page() 244 dma_outb(pagenr >> 8, DMA_HI_PAGE_1); in set_dma_page() 247 dma_outb(pagenr, DMA_LO_PAGE_2); in set_dma_page() 248 dma_outb(pagenr >> 8, DMA_HI_PAGE_2); in set_dma_page() 251 dma_outb(pagenr, DMA_LO_PAGE_3); in set_dma_page() 252 dma_outb(pagenr >> 8, DMA_HI_PAGE_3); in set_dma_page() 255 dma_outb(pagenr & 0xfe, DMA_LO_PAGE_5); in set_dma_page() [all …]
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | dma.h | 267 static __inline__ void set_dma_page(unsigned int dmanr, unsigned int pagenr) in set_dma_page() argument 271 dma_outb(pagenr, DMA_PAGE_0); in set_dma_page() 272 dma_outb((pagenr >> 8), DMA_HIPAGE_0); in set_dma_page() 275 dma_outb(pagenr, DMA_PAGE_1); in set_dma_page() 276 dma_outb((pagenr >> 8), DMA_HIPAGE_1); in set_dma_page() 279 dma_outb(pagenr, DMA_PAGE_2); in set_dma_page() 280 dma_outb((pagenr >> 8), DMA_HIPAGE_2); in set_dma_page() 283 dma_outb(pagenr, DMA_PAGE_3); in set_dma_page() 284 dma_outb((pagenr >> 8), DMA_HIPAGE_3); in set_dma_page() 287 dma_outb(pagenr & 0xfe, DMA_PAGE_5); in set_dma_page() [all …]
|
/Linux-v4.19/arch/x86/include/asm/ |
D | dma.h | 212 static inline void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument 216 dma_outb(pagenr, DMA_PAGE_0); in set_dma_page() 219 dma_outb(pagenr, DMA_PAGE_1); in set_dma_page() 222 dma_outb(pagenr, DMA_PAGE_2); in set_dma_page() 225 dma_outb(pagenr, DMA_PAGE_3); in set_dma_page() 228 dma_outb(pagenr & 0xfe, DMA_PAGE_5); in set_dma_page() 231 dma_outb(pagenr & 0xfe, DMA_PAGE_6); in set_dma_page() 234 dma_outb(pagenr & 0xfe, DMA_PAGE_7); in set_dma_page()
|
D | page_types.h | 64 extern int devmem_is_allowed(unsigned long pagenr);
|
/Linux-v4.19/arch/mips/include/asm/ |
D | dma.h | 218 static __inline__ void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument 222 dma_outb(pagenr, DMA_PAGE_0); in set_dma_page() 225 dma_outb(pagenr, DMA_PAGE_1); in set_dma_page() 228 dma_outb(pagenr, DMA_PAGE_2); in set_dma_page() 231 dma_outb(pagenr, DMA_PAGE_3); in set_dma_page() 234 dma_outb(pagenr & 0xfe, DMA_PAGE_5); in set_dma_page() 237 dma_outb(pagenr & 0xfe, DMA_PAGE_6); in set_dma_page() 240 dma_outb(pagenr & 0xfe, DMA_PAGE_7); in set_dma_page()
|
/Linux-v4.19/fs/btrfs/ |
D | raid56.c | 929 int index, int pagenr, int bio_list_only) in page_in_rbio() argument 934 chunk_page = index * (rbio->stripe_len >> PAGE_SHIFT) + pagenr; in page_in_rbio() 1184 int pagenr; in finish_rmw() local 1231 for (pagenr = 0; pagenr < rbio->stripe_npages; pagenr++) { in finish_rmw() 1235 p = page_in_rbio(rbio, stripe, pagenr, 0); in finish_rmw() 1240 p = rbio_pstripe_page(rbio, pagenr); in finish_rmw() 1250 p = rbio_qstripe_page(rbio, pagenr); in finish_rmw() 1264 kunmap(page_in_rbio(rbio, stripe, pagenr, 0)); in finish_rmw() 1273 for (pagenr = 0; pagenr < rbio->stripe_npages; pagenr++) { in finish_rmw() 1276 page = page_in_rbio(rbio, stripe, pagenr, 1); in finish_rmw() [all …]
|
/Linux-v4.19/include/linux/ |
D | mmzone.h | 720 #define pgdat_page_nr(pgdat, pagenr) ((pgdat)->node_mem_map + (pagenr)) argument 722 #define pgdat_page_nr(pgdat, pagenr) pfn_to_page((pgdat)->node_start_pfn + (pagenr)) argument 724 #define nid_page_nr(nid, pagenr) pgdat_page_nr(NODE_DATA(nid),(pagenr)) argument
|
/Linux-v4.19/drivers/staging/erofs/ |
D | unzip_vle.c | 847 unsigned pagenr; in z_erofs_vle_unzip() local 859 pagenr = 0; in z_erofs_vle_unzip() 861 pagenr = z_erofs_onlinepage_index(page); in z_erofs_vle_unzip() 863 BUG_ON(pagenr >= nr_pages); in z_erofs_vle_unzip() 866 BUG_ON(pages[pagenr] != NULL); in z_erofs_vle_unzip() 869 pages[pagenr] = page; in z_erofs_vle_unzip() 878 unsigned pagenr; in z_erofs_vle_unzip() local 897 pagenr = z_erofs_onlinepage_index(page); in z_erofs_vle_unzip() 899 BUG_ON(pagenr >= nr_pages); in z_erofs_vle_unzip() 901 BUG_ON(pages[pagenr] != NULL); in z_erofs_vle_unzip() [all …]
|
/Linux-v4.19/arch/x86/mm/ |
D | init.c | 716 int devmem_is_allowed(unsigned long pagenr) in devmem_is_allowed() argument 718 if (region_intersects(PFN_PHYS(pagenr), PAGE_SIZE, in devmem_is_allowed() 725 if (pagenr < 256) in devmem_is_allowed() 735 if (iomem_is_exclusive(pagenr << PAGE_SHIFT)) { in devmem_is_allowed() 737 if (pagenr < 256) in devmem_is_allowed()
|
/Linux-v4.19/arch/arm/include/asm/ |
D | dma.h | 61 extern void set_dma_page(unsigned int chan, char pagenr);
|
/Linux-v4.19/arch/mips/mm/ |
D | init.c | 373 int page_is_ram(unsigned long pagenr) in page_is_ram() argument 393 if (pagenr >= addr && pagenr < end) in page_is_ram()
|
/Linux-v4.19/arch/parisc/include/asm/ |
D | dma.h | 151 static __inline__ void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument
|
/Linux-v4.19/arch/arm/kernel/ |
D | dma.c | 237 void set_dma_page(unsigned int chan, char pagenr) in set_dma_page() argument
|
/Linux-v4.19/arch/mips/include/asm/mach-au1x00/ |
D | au1000_dma.h | 334 static inline void set_dma_page(unsigned int dmanr, char pagenr) in set_dma_page() argument
|