Searched refs:size (Results 76 - 100 of 2507) sorted by relevance

1234567891011>>

/arch/mips/pci/
H A Dops-msc.c89 int where, int size, u32 * val)
93 if ((size == 2) && (where & 1))
95 else if ((size == 4) && (where & 3))
102 if (size == 1)
104 else if (size == 2)
113 int where, int size, u32 val)
117 if ((size == 2) && (where & 1))
119 else if ((size == 4) && (where & 3))
122 if (size == 4)
129 if (size
88 msc_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
112 msc_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
/arch/mn10300/proc-mn103e010/
H A Dproc-init.c81 * determine the memory size and base from the memory controller regs
85 unsigned long base, size; local
92 size = (base & SDBASE_CBAM) << SDBASE_CBAM_SHIFT;
93 size = ~size + 1;
96 printk(KERN_INFO "SDRAM[0]: %luMb @%08lx\n", size >> 20, base);
97 *mem_size += size;
103 size = (base & SDBASE_CBAM) << SDBASE_CBAM_SHIFT;
104 size = ~size
[all...]
/arch/m68k/kernel/
H A Ddma.c21 void *dma_alloc_coherent(struct device *dev, size_t size, argument
29 pr_debug("dma_alloc_coherent: %d,%x\n", size, flag);
31 size = PAGE_ALIGN(size);
32 order = get_order(size);
47 size >>= PAGE_SHIFT;
49 for (i = 1; i < size; i++)
58 addr = vmap(map, size, VM_MAP, pgprot);
64 void dma_free_coherent(struct device *dev, size_t size, argument
75 void *dma_alloc_coherent(struct device *dev, size_t size, argument
93 dma_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle) argument
104 dma_sync_single_for_device(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument
133 dma_map_single(struct device *dev, void *addr, size_t size, enum dma_data_direction dir) argument
143 dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir) argument
[all...]
H A Dbootinfo_proc.c36 size_t size = sizeof(bi->tag); local
39 uint16_t n = be16_to_cpu(bi->size);
40 size += n;
44 if (size > sizeof(bootinfo_tmp)) {
45 pr_err("Cannot save %zu bytes of bootinfo\n", size);
49 pr_info("Saving %zu bytes of bootinfo\n", size);
50 memcpy(bootinfo_tmp, start, size);
51 bootinfo_size = size;
/arch/alpha/include/uapi/asm/
H A Dioctl.h39 #define _IOC(dir,type,nr,size) \
44 ((size) << _IOC_SIZESHIFT)))
48 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
49 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
50 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
/arch/arm/include/asm/
H A Dclkdev.h26 static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) argument
28 return kzalloc(size, GFP_KERNEL);
H A Dedac.h25 static inline void atomic_scrub(void *va, u32 size) argument
32 for (i = 0; i < size / sizeof(*virt_addr); i++, virt_addr++) {
H A Dflat.h10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size))
/arch/arm64/include/asm/xen/
H A Dpage-coherent.h8 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, argument
12 return __generic_dma_ops(hwdev)->alloc(hwdev, size, dma_handle, flags, attrs);
15 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, argument
19 __generic_dma_ops(hwdev)->free(hwdev, size, cpu_addr, dma_handle, attrs);
23 unsigned long offset, size_t size, enum dma_data_direction dir,
29 size_t size, enum dma_data_direction dir,
35 dma_addr_t handle, size_t size, enum dma_data_direction dir)
40 dma_addr_t handle, size_t size, enum dma_data_direction dir)
22 xen_dma_map_page(struct device *hwdev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
28 xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
34 xen_dma_sync_single_for_cpu(struct device *hwdev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument
39 xen_dma_sync_single_for_device(struct device *hwdev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument
/arch/m32r/mm/
H A Dioremap.c43 __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags) argument
50 /* Don't allow wraparound or zero size */
51 last_addr = phys_addr + size - 1;
52 if (!size || last_addr < phys_addr)
59 if (IS_LOW512(phys_addr) && IS_LOW512(phys_addr + size - 1))
70 t_end = t_addr + (size - 1);
85 size = PAGE_ALIGN(last_addr + 1) - phys_addr;
90 area = get_vm_area(size, VM_IOREMAP);
95 if (ioremap_page_range((unsigned long)addr, (unsigned long)addr + size,
/arch/m68k/include/asm/
H A Dflat.h10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size))
/arch/mips/ar7/
H A Dmemory.c36 u32 size = (64 << 20); local
37 u32 *addr = (u32 *)KSEG1ADDR(AR7_SDRAM_BASE + size - 4);
43 size >>= 1;
44 tmpaddr -= size >> 2;
48 tmpaddr += size >> 2;
51 size <<= 1;
52 } while (size < (64 << 20));
56 return size;
/arch/mips/include/asm/
H A Dedac.h6 static inline void atomic_scrub(void *va, u32 size) argument
12 for (i = 0; i < size / sizeof(unsigned long); i++) {
/arch/mips/include/asm/mach-generic/
H A Dioremap.h18 static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size) argument
23 static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, argument
/arch/mips/include/asm/txx9/
H A Dspi.h19 int spi_eeprom_register(int busid, int chipid, int size);
23 static inline int spi_eeprom_register(int busid, int chipid, int size) argument
/arch/mn10300/include/asm/
H A Duaccess.h51 static inline int ___range_ok(unsigned long addr, unsigned int size) argument
55 asm(" add %3,%1 \n" /* set C-flag if addr + size > 4Gb */
57 " cmp %4,%1 \n" /* jump if addr+size>limit (error) */
62 : "1"(addr), "ir"(size),
70 #define __range_ok(addr, size) ___range_ok((unsigned long)(addr), (u32)(size))
72 #define access_ok(type, addr, size) (__range_ok((addr), (size)) == 0)
73 #define __access_ok(addr, size) (__range_ok((addr), (size))
75 verify_area(int type, const void *addr, unsigned long size) argument
[all...]
/arch/parisc/mm/
H A Dioremap.c27 void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags) argument
35 unsigned long end = phys_addr + size - 1;
44 /* Don't allow wraparound or zero size */
45 last_addr = phys_addr + size - 1;
46 if (!size || last_addr < phys_addr)
57 t_end = t_addr + (size - 1);
74 size = PAGE_ALIGN(last_addr + 1) - phys_addr;
79 area = get_vm_area(size, VM_IOREMAP);
84 if (ioremap_page_range((unsigned long)addr, (unsigned long)addr + size,
/arch/powerpc/boot/dts/fsl/
H A Dpq3-espi-0.dtsi37 #size-cells = <0>;
H A Dpq3-etsec2-grp2-0.dtsi38 #size-cells = <1>;
H A Dpq3-etsec2-grp2-1.dtsi38 #size-cells = <1>;
H A Dpq3-etsec2-grp2-2.dtsi38 #size-cells = <1>;
H A Dpq3-i2c-0.dtsi37 #size-cells = <0>;
H A Dpq3-i2c-1.dtsi37 #size-cells = <0>;
H A Dpq3-usb2-dr-0.dtsi39 #size-cells = <0>;
H A Dpq3-usb2-dr-1.dtsi39 #size-cells = <0>;

Completed in 441 milliseconds

1234567891011>>