/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8568si-post.dtsi | 37 #size-cells = <1>; 50 #size-cells = <2>; 59 #size-cells = <2>; 69 #size-cells = <2>; 88 #size-cells = <2>; 95 #size-cells = <2>; 102 #size-cells = <1>; 127 #size-cells = <1>; 139 #size-cells = <1>; 151 cache-line-size [all...] |
/arch/powerpc/boot/dts/ |
H A D | storcenter.dts | 20 #size-cells = <1>; 30 #size-cells = <0>; 38 i-cache-line-size = <32>; 39 d-cache-line-size = <32>; 40 i-cache-size = <16384>; 41 d-cache-size = <16384>; 52 #size-cells = <1>; 62 #size-cells = <0>; 109 #size-cells = <2>;
|
H A D | glacier.dts | 15 #size-cells = <1>; 31 #size-cells = <0>; 39 i-cache-line-size = <32>; 40 d-cache-line-size = <32>; 41 i-cache-size = <32768>; 42 d-cache-size = <32768>; 60 #size-cells = <0>; 70 #size-cells = <0>; 82 #size-cells = <0>; 94 #size [all...] |
/arch/powerpc/boot/ |
H A D | of.h | 11 unsigned int of_claim(unsigned long virt, unsigned long size, 13 void *of_vmlinux_alloc(unsigned long size);
|
/arch/powerpc/include/asm/ |
H A D | fs_pd.h | 25 #define cpm2_map_size(member, size) (&cpm2_immr->member) 35 #define immr_map_size(member, size) (&mpc8xx_immr->member)
|
/arch/powerpc/kernel/ |
H A D | dma-iommu.c | 19 static void *dma_iommu_alloc_coherent(struct device *dev, size_t size, argument 23 return iommu_alloc_coherent(dev, get_iommu_table_base(dev), size, 28 static void dma_iommu_free_coherent(struct device *dev, size_t size, argument 32 iommu_free_coherent(get_iommu_table_base(dev), size, vaddr, dma_handle); local 41 unsigned long offset, size_t size, 46 size, device_to_mask(dev), direction, attrs); 51 size_t size, enum dma_data_direction direction, 54 iommu_unmap_page(get_iommu_table_base(dev), dma_handle, size, direction, local 40 dma_iommu_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument 50 dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
|
/arch/powerpc/lib/ |
H A D | devres.c | 19 * @size: Size of map 26 size_t size, unsigned long flags) 34 addr = ioremap_prot(offset, size, flags); 25 devm_ioremap_prot(struct device *dev, resource_size_t offset, size_t size, unsigned long flags) argument
|
/arch/s390/pci/ |
H A D | pci_dma.c | 143 dma_addr_t dma_addr, size_t size, int flags) 145 unsigned int nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; 214 unsigned long start, int size) 221 start, size, 0, boundary_size, 0); 224 static unsigned long dma_alloc_iommu(struct zpci_dev *zdev, int size) argument 230 offset = __dma_alloc_iommu(zdev, zdev->next_bit, size); 233 offset = __dma_alloc_iommu(zdev, 0, size); 238 zdev->next_bit = offset + size; 247 static void dma_free_iommu(struct zpci_dev *zdev, unsigned long offset, int size) argument 254 bitmap_clear(zdev->iommu_bitmap, offset, size); 142 dma_update_trans(struct zpci_dev *zdev, unsigned long pa, dma_addr_t dma_addr, size_t size, int flags) argument 213 __dma_alloc_iommu(struct zpci_dev *zdev, unsigned long start, int size) argument 275 s390_dma_map_pages(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument 315 s390_dma_unmap_pages(struct device *dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument 336 s390_dma_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument 366 s390_dma_free(struct device *dev, size_t size, void *pa, dma_addr_t dma_handle, struct dma_attrs *attrs) argument [all...] |
/arch/sh/kernel/ |
H A D | ioport.c | 17 void __iomem *__ioport_map(unsigned long addr, unsigned int size) argument 20 return sh_mv.mv_ioport_map(addr, size);
|
/arch/sh/mm/ |
H A D | uncached.c | 39 void __init uncached_resize(unsigned long size) argument 41 uncached_size = size;
|
/arch/sparc/lib/ |
H A D | NG4clear_page.S | 28 .size NG4clear_page,.-NG4clear_page 29 .size NG4clear_user_page,.-NG4clear_user_pag
|
/arch/um/drivers/ |
H A D | cow.h | 19 unsigned long long *size); 21 extern void cow_sizes(int version, __u64 size, int sectorsize, int align,
|
H A D | mconsole_kern.h | 27 #define CONFIG_CHUNK(str, size, current, chunk, end) \ 30 if(current >= size) \
|
/arch/um/include/shared/ |
H A D | mem_user.h | 39 int size; member in struct:iomem_region 57 extern void add_iomem(char *name, int fd, unsigned long size);
|
/arch/unicore32/include/asm/ |
H A D | cmpxchg.h | 15 * of unsupported size. 20 int size) 24 switch (size) { 19 __xchg(unsigned long x, volatile void *ptr, int size) argument
|
/arch/x86/realmode/ |
H A D | init.c | 15 size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob); local 18 mem = memblock_find_in_range(0, 1<<20, size, PAGE_SIZE); 23 memblock_reserve(mem, size); 25 printk(KERN_DEBUG "Base memory trampoline at [%p] %llx size %zu\n", 26 base, (unsigned long long)mem, size); 37 size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob); local 45 memcpy(base, real_mode_blob, size); 103 size_t size = PAGE_ALIGN(real_mode_blob_end - real_mode_blob); local 116 set_memory_nx((unsigned long) base, size >> PAGE_SHIFT);
|
/arch/powerpc/platforms/cell/ |
H A D | celleb_scc_pciex.c | 96 unsigned long port, int size) 103 BUG_ON(((port & 0x3ul) + size) > 4); 107 byte_enable = ((1 << size) - 1) << shift; 112 ret = (data >> (shift * 8)) & (0xFFFFFFFF >> ((4 - size) * 8)); 114 pr_debug("PCIEX:PIO READ:port=0x%lx, addr=0x%lx, size=%d, be=%x," 115 " cmd=%x, data=%x, ret=%x\n", port, addr, size, byte_enable, 122 unsigned long port, int size, u32 val) 129 BUG_ON(((port & 0x3ul) + size) > 4); 133 byte_enable = ((1 << size) - 1) << shift; 135 data = (val & (0xFFFFFFFF >> (4 - size) * 95 scc_pciex_read_port(struct pci_controller *phb, unsigned long port, int size) argument 121 scc_pciex_write_port(struct pci_controller *phb, unsigned long port, int size, u32 val) argument 309 config_read_pciex_dev(unsigned int __iomem *base, uint64_t bus_no, uint64_t dev_no, uint64_t func_no, uint64_t off, uint64_t size) argument 325 config_write_pciex_dev(unsigned int __iomem *base, uint64_t bus_no, uint64_t dev_no, uint64_t func_no, uint64_t off, uint64_t size, uint32_t data) argument 343 config_read_pciex_rc(unsigned int __iomem *base, uint32_t where, uint32_t size) argument 351 config_write_pciex_rc(unsigned int __iomem *base, uint32_t where, uint32_t size, uint32_t val) argument 367 scc_pciex_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, unsigned int *val) argument 386 scc_pciex_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, unsigned int val) argument [all...] |
/arch/tile/kernel/ |
H A D | pci-dma.c | 35 static void *tile_dma_alloc_coherent(struct device *dev, size_t size, argument 42 int order = get_order(size); 52 * zone isn't empty. If the mask size is smaller than 32 bits, we 66 if (addr + size > dma_mask) { 79 static void tile_dma_free_coherent(struct device *dev, size_t size, argument 83 homecache_free_pages((unsigned long)vaddr, get_order(size)); 102 size_t size, enum dma_data_direction direction) 142 if (offset & (L2_CACHE_BYTES - 1) || (size & (L2_CACHE_BYTES - 1))) 144 PFN_PHYS(page_to_pfn(page)) + offset, size); 150 size_t size, enu 101 __dma_prep_page(struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction) argument 149 __dma_complete_page(struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction) argument 171 __dma_prep_pa_range(dma_addr_t dma_addr, size_t size, enum dma_data_direction direction) argument 187 __dma_complete_pa_range(dma_addr_t dma_addr, size_t size, enum dma_data_direction direction) argument 240 tile_dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument 253 tile_dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument 263 tile_dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument 273 tile_dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument 344 tile_pci_dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) argument 369 tile_pci_dma_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument 416 tile_pci_dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument 429 tile_pci_dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument 442 tile_pci_dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument 454 tile_pci_dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument 532 tile_swiotlb_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) argument 540 tile_swiotlb_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_addr, struct dma_attrs *attrs) argument [all...] |
/arch/blackfin/kernel/ |
H A D | bfin_dma.c | 272 void __init early_dma_memcpy(void *pdst, const void *psrc, size_t size) argument 285 BUG_ON(size % 4); 314 DMA_MMR_WRITE(&dst_ch->x_count, size >> 2); 320 DMA_MMR_WRITE(&src_ch->x_count, size >> 2); 429 * the limit here so it is a multiple of the incoming size. 430 * There is no limitation here in terms of total size other 482 static void *_dma_memcpy(void *pdst, const void *psrc, size_t size) argument 489 if (size == 0) 492 if (dst % 4 == 0 && src % 4 == 0 && size % 4 == 0) { 495 } else if (dst % 2 == 0 && src % 2 == 0 && size 532 dma_memcpy(void *pdst, const void *psrc, size_t size) argument 555 dma_memcpy_nocache(void *pdst, const void *psrc, size_t size) argument 577 safe_dma_memcpy(void *dst, const void *src, size_t size) argument 587 _dma_out(unsigned long addr, unsigned long buf, unsigned DMA_MMR_SIZE_TYPE len, u16 size, u16 dma_size) argument 594 _dma_in(unsigned long addr, unsigned long buf, unsigned DMA_MMR_SIZE_TYPE len, u16 size, u16 dma_size) argument [all...] |
/arch/cris/arch-v10/drivers/ |
H A D | eeprom.c | 66 unsigned long size; member in struct:eeprom_type 141 eeprom.size = 0; 171 eeprom.size = EEPROM_2KB; 184 eeprom.size = EEPROM_16KB; 201 eeprom.size = EEPROM_16KB; 239 eeprom.size = EEPROM_2KB; 251 eeprom.size = EEPROM_2KB; 278 eeprom.size = EEPROM_2KB; 297 eeprom.size = EEPROM_16KB; 307 eeprom.size [all...] |
/arch/x86/kernel/cpu/mtrr/ |
H A D | main.c | 74 unsigned long size, mtrr_type type); 192 * @size: mtrr size 223 set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) argument 227 .smp_size = size, 235 unsigned long size, mtrr_type type) 239 .smp_size = size, 250 * @size: Physical size of region in pages (4 kB) 258 * caller should expect to need to provide a power of two size o 234 set_mtrr_from_inactive_cpu(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) argument 282 mtrr_add_page(unsigned long base, unsigned long size, unsigned int type, bool increment) argument 389 mtrr_check(unsigned long base, unsigned long size) argument 435 mtrr_add(unsigned long base, unsigned long size, unsigned int type, bool increment) argument 459 mtrr_del_page(int reg, unsigned long base, unsigned long size) argument 524 mtrr_del(int reg, unsigned long base, unsigned long size) argument 544 arch_phys_wc_add(unsigned long base, unsigned long size) argument [all...] |
/arch/x86/lib/ |
H A D | usercopy_32.c | 40 #define __do_clear_user(addr,size) \ 56 : "=&c"(size), "=&D" (__d0) \ 57 : "r"(size & 3), "0"(size / 4), "1"(addr), "a"(0)); \ 101 __copy_user_intel(void __user *to, const void *from, unsigned long size) argument 198 : "=&c"(size), "=&D" (d0), "=&S" (d1) 199 : "1"(to), "2"(from), "0"(size) 201 return size; 205 __copy_user_zeroing_intel(void *to, const void __user *from, unsigned long size) argument 290 : "=&c"(size), " 301 __copy_user_zeroing_intel_nocache(void *to, const void __user *from, unsigned long size) argument 395 __copy_user_intel_nocache(void *to, const void __user *from, unsigned long size) argument [all...] |
/arch/frv/mm/ |
H A D | dma-alloc.c | 81 void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle) argument 91 /* only allocate page size areas */ 92 size = PAGE_ALIGN(size); 93 order = get_order(size); 102 area = get_vm_area(size, VM_ALLOC); 122 for (i = 0; i < size && err == 0; i += PAGE_SIZE) 133 frv_cache_invalidate(va, va + size); 151 void consistent_sync(void *vaddr, size_t size, int direction) argument 154 unsigned long end = start + size; 176 consistent_sync_page(struct page *page, unsigned long offset, size_t size, int direction) argument [all...] |
/arch/m68k/include/asm/ |
H A D | floppy.h | 102 #define fd_dma_mem_alloc(size) vdma_mem_alloc(size) 103 #define fd_dma_setup(addr, size, mode, io) vdma_dma_setup(addr, size, mode, io) 144 static unsigned long vdma_mem_alloc(unsigned long size) argument 146 return (unsigned long) vmalloc(size); 150 static void _fd_dma_mem_free(unsigned long addr, unsigned long size) argument 154 #define fd_dma_mem_free(addr,size) _fd_dma_mem_free(addr, size) 159 static int vdma_dma_setup(char *addr, unsigned long size, in argument [all...] |
/arch/mips/kernel/ |
H A D | spram.c | 125 unsigned int size, tag0, tag1; local 140 size = tag1 & SPRAM_TAG1_SIZE_MASK; 142 if (size == 0) 147 if ((pa == firstpa && size == firstsize) || 148 (pa == lastpa && size == lastsize)) 152 /* Align base with size */ 153 base = (base + size - 1) & ~(size-1); 159 base += size; 168 firstsize = size; [all...] |