/arch/powerpc/include/asm/ |
D | io-defs.h | 4 DEF_PCI_AC_RET(readb, u8, (const PCI_IO_ADDR addr), (addr), mem, addr) 5 DEF_PCI_AC_RET(readw, u16, (const PCI_IO_ADDR addr), (addr), mem, addr) 6 DEF_PCI_AC_RET(readl, u32, (const PCI_IO_ADDR addr), (addr), mem, addr) 7 DEF_PCI_AC_RET(readw_be, u16, (const PCI_IO_ADDR addr), (addr), mem, addr) 8 DEF_PCI_AC_RET(readl_be, u32, (const PCI_IO_ADDR addr), (addr), mem, addr) 9 DEF_PCI_AC_NORET(writeb, (u8 val, PCI_IO_ADDR addr), (val, addr), mem, addr) 10 DEF_PCI_AC_NORET(writew, (u16 val, PCI_IO_ADDR addr), (val, addr), mem, addr) 11 DEF_PCI_AC_NORET(writel, (u32 val, PCI_IO_ADDR addr), (val, addr), mem, addr) 12 DEF_PCI_AC_NORET(writew_be, (u16 val, PCI_IO_ADDR addr), (val, addr), mem, addr) 13 DEF_PCI_AC_NORET(writel_be, (u32 val, PCI_IO_ADDR addr), (val, addr), mem, addr) [all …]
|
/arch/alpha/include/asm/ |
D | compiler.h | 93 #define __kernel_ldbu(mem) (mem) argument 94 #define __kernel_ldwu(mem) (mem) argument 95 #define __kernel_stb(val,mem) ((mem) = (val)) argument 96 #define __kernel_stw(val,mem) ((mem) = (val)) argument 98 #define __kernel_ldbu(mem) \ argument 101 ldbu %0,%1" : "=r"(__kir) : "m"(mem)); \ 103 #define __kernel_ldwu(mem) \ argument 106 ldwu %0,%1" : "=r"(__kir) : "m"(mem)); \ 108 #define __kernel_stb(val,mem) \ argument 110 stb %1,%0" : "=m"(mem) : "r"(val)) [all …]
|
/arch/ia64/kvm/ |
D | kvm_minstate.h | 132 .mem.offset 0,0; st8.spill [r16] = r8,16; \ 133 .mem.offset 8,0; st8.spill [r17] = r9,16; \ 135 .mem.offset 0,0; st8.spill [r16] = r10,24; \ 136 .mem.offset 8,0; st8.spill [r17] = r11,24; \ 158 .mem.offset 0,0; st8.spill [r16] = r20,16;/* save original r1 */ \ 159 .mem.offset 8,0; st8.spill [r17] = r12,16; \ 162 .mem.offset 0,0; st8.spill [r16] = r13,16; \ 163 .mem.offset 8,0; st8.spill [r17] = r10,16; /* save ar.fpsr */\ 166 .mem.offset 0,0; st8.spill [r16] = r15,16; \ 167 .mem.offset 8,0; st8.spill [r17] = r14,16; \ [all …]
|
/arch/x86/kernel/ |
D | trampoline.c | 12 phys_addr_t mem; in setup_trampolines() local 16 mem = memblock_find_in_range(0, 1<<20, size, PAGE_SIZE); in setup_trampolines() 17 if (!mem) in setup_trampolines() 20 x86_trampoline_base = __va(mem); in setup_trampolines() 21 memblock_reserve(mem, size); in setup_trampolines() 24 x86_trampoline_base, (unsigned long long)mem, size); in setup_trampolines()
|
/arch/ia64/kernel/ |
D | minstate.h | 99 .mem.offset 0,0; st8.spill [r16]=r8,16; \ 100 .mem.offset 8,0; st8.spill [r17]=r9,16; \ 102 .mem.offset 0,0; st8.spill [r16]=r10,24; \ 103 .mem.offset 8,0; st8.spill [r17]=r11,24; \ 129 .mem.offset 0,0; st8.spill [r16]=r20,16; /* save original r1 */ \ 130 .mem.offset 8,0; st8.spill [r17]=r12,16; \ 133 .mem.offset 0,0; st8.spill [r16]=r13,16; \ 134 .mem.offset 8,0; st8.spill [r17]=r21,16; /* save ar.fpsr */ \ 137 .mem.offset 0,0; st8.spill [r16]=r15,16; \ 138 .mem.offset 8,0; st8.spill [r17]=r14,16; \ [all …]
|
/arch/s390/kvm/ |
D | priv.c | 201 static void handle_stsi_3_2_2(struct kvm_vcpu *vcpu, struct sysinfo_3_2_2 *mem) in handle_stsi_3_2_2() argument 214 if (stsi(mem, 3, 2, 2) == -ENOSYS) in handle_stsi_3_2_2() 215 mem->count = 0; in handle_stsi_3_2_2() 216 if (mem->count < 8) in handle_stsi_3_2_2() 217 mem->count++; in handle_stsi_3_2_2() 218 for (n = mem->count - 1; n > 0 ; n--) in handle_stsi_3_2_2() 219 memcpy(&mem->vm[n], &mem->vm[n - 1], sizeof(mem->vm[0])); in handle_stsi_3_2_2() 221 mem->vm[0].cpus_total = cpus; in handle_stsi_3_2_2() 222 mem->vm[0].cpus_configured = cpus; in handle_stsi_3_2_2() 223 mem->vm[0].cpus_standby = 0; in handle_stsi_3_2_2() [all …]
|
/arch/tile/include/asm/ |
D | uaccess.h | 479 extern unsigned long clear_user_asm(void __user *mem, unsigned long len); 481 void __user *mem, unsigned long len) in __clear_user() argument 484 return clear_user_asm(mem, len); in __clear_user() 487 void __user *mem, unsigned long len) in clear_user() argument 489 if (access_ok(VERIFY_WRITE, mem, len)) in clear_user() 490 return __clear_user(mem, len); in clear_user() 502 extern unsigned long flush_user_asm(void __user *mem, unsigned long len); 504 void __user *mem, unsigned long len) in __flush_user() argument 509 retval = flush_user_asm(mem, len); in __flush_user() 515 void __user *mem, unsigned long len) in flush_user() argument [all …]
|
/arch/mips/bcm47xx/ |
D | prom.c | 128 unsigned long mem; in prom_init_mem() local 147 for (mem = (1 << 20); mem < (128 << 20); mem += (1 << 20)) { in prom_init_mem() 148 if (((unsigned long)(prom_init) + mem) > max) { in prom_init_mem() 149 mem = (128 << 20); in prom_init_mem() 153 if (*(unsigned long *)((unsigned long)(prom_init) + mem) == in prom_init_mem() 158 add_memory_region(0, mem, BOOT_MEM_RAM); in prom_init_mem()
|
/arch/avr32/kernel/ |
D | setup.c | 80 struct resource *mem, *res; in resource_init() local 85 for (mem = system_ram; mem; mem = mem->sibling) { in resource_init() 87 memcpy(new, mem, sizeof(struct resource)); in resource_init() 92 mem->start, mem->end); in resource_init() 175 find_free_region(const struct resource *mem, resource_size_t size, in find_free_region() argument 181 target = ALIGN(mem->start, align); in find_free_region() 189 if ((target + size) > (mem->end + 1)) in find_free_region() 190 return mem->end + 1; in find_free_region() 199 struct resource *mem; in alloc_reserved_region() local 203 for (mem = system_ram; mem; mem = mem->sibling) { in alloc_reserved_region() [all …]
|
/arch/powerpc/boot/ |
D | cuboot-pq2.c | 125 struct pci_range *mem = NULL, *mmio = NULL, in fixup_pci() local 165 mem = &pci_ranges_buf[i]; in fixup_pci() 172 if (!mem || !mmio || !io) in fixup_pci() 174 if (mem->size[1] != mmio->size[1]) in fixup_pci() 176 if (mem->size[1] & (mem->size[1] - 1)) in fixup_pci() 181 if (mem->phys_addr + mem->size[1] == mmio->phys_addr) in fixup_pci() 182 mem_base = mem; in fixup_pci() 183 else if (mmio->phys_addr + mmio->size[1] == mem->phys_addr) in fixup_pci() 189 out_be32(&pci_regs[2][0], ~(mem->size[1] + mmio->size[1] - 1)); in fixup_pci() 194 out_le32(&pci_regs[0][0], mem->pci_addr[1] >> 12); in fixup_pci() [all …]
|
D | wii.c | 106 void *mem; in platform_fixups() local 112 mem = finddevice("/memory"); in platform_fixups() 113 if (!mem) in platform_fixups() 117 len = getprop(mem, "reg", reg, sizeof(reg)); in platform_fixups() 133 setprop(mem, "reg", reg, sizeof(reg)); in platform_fixups()
|
/arch/ia64/include/asm/xen/ |
D | minstate.h | 87 .mem.offset 0,0; st8.spill [r16]=r8,16; \ 88 .mem.offset 8,0; st8.spill [r17]=r9,16; \ 90 .mem.offset 0,0; st8.spill [r16]=r10,24; \ 92 .mem.offset 8,0; st8.spill [r17]=r11,24; \ 122 .mem.offset 0,0; st8.spill [r16]=r20,16; /* save original r1 */ \ 123 .mem.offset 8,0; st8.spill [r17]=r12,16; \ 126 .mem.offset 0,0; st8.spill [r16]=r13,16; \ 127 .mem.offset 8,0; st8.spill [r17]=r21,16; /* save ar.fpsr */ \ 130 .mem.offset 0,0; st8.spill [r16]=r15,16; \ 131 .mem.offset 8,0; st8.spill [r17]=r14,16; \ [all …]
|
D | inst.h | 403 .mem.offset 0, 0; st8.spill [clob0] = r16, 16; \ 404 .mem.offset 8, 0; st8.spill [clob1] = r17, 16; \ 406 .mem.offset 0, 0; st8.spill [clob0] = r18, 16; \ 407 .mem.offset 8, 0; st8.spill [clob1] = r19, 16; \ 409 .mem.offset 0, 0; st8.spill [clob0] = r20, 16; \ 410 .mem.offset 8, 0; st8.spill [clob1] = r21, 16; \ 412 .mem.offset 0, 0; st8.spill [clob0] = r22, 16; \ 413 .mem.offset 8, 0; st8.spill [clob1] = r23, 16; \ 415 .mem.offset 0, 0; st8.spill [clob0] = r24, 16; \ 416 .mem.offset 8, 0; st8.spill [clob1] = r25, 16; \ [all …]
|
/arch/mips/include/asm/mach-jazz/ |
D | floppy.h | 108 unsigned long mem; in fd_dma_mem_alloc() local 110 mem = __get_dma_pages(GFP_KERNEL, get_order(size)); in fd_dma_mem_alloc() 111 if(!mem) in fd_dma_mem_alloc() 113 vdma_alloc(CPHYSADDR(mem), size); /* XXX error checking */ in fd_dma_mem_alloc() 115 return mem; in fd_dma_mem_alloc()
|
/arch/powerpc/boot/dts/ |
D | virtex440-ml507.dts | 187 xlnx,max-mem-width = <0x10>; 207 xlnx,num-banks-mem = <0x1>; 210 xlnx,synch-mem-0 = <0x0>; 211 xlnx,synch-mem-1 = <0x0>; 212 xlnx,synch-mem-2 = <0x0>; 213 xlnx,synch-mem-3 = <0x0>; 218 xlnx,tavdv-ps-mem-0 = <0x1adb0>; 219 xlnx,tavdv-ps-mem-1 = <0x3a98>; 220 xlnx,tavdv-ps-mem-2 = <0x3a98>; 221 xlnx,tavdv-ps-mem-3 = <0x3a98>; [all …]
|
D | virtex440-ml510.dts | 158 xlnx,max-mem-width = <0x10>; 178 xlnx,num-banks-mem = <0x1>; 181 xlnx,synch-mem-0 = <0x0>; 182 xlnx,synch-mem-1 = <0x0>; 183 xlnx,synch-mem-2 = <0x0>; 184 xlnx,synch-mem-3 = <0x0>; 189 xlnx,tavdv-ps-mem-0 = <0x1adb0>; 190 xlnx,tavdv-ps-mem-1 = <0x3a98>; 191 xlnx,tavdv-ps-mem-2 = <0x3a98>; 192 xlnx,tavdv-ps-mem-3 = <0x3a98>; [all …]
|
/arch/microblaze/boot/dts/ |
D | system.dts | 150 xlnx,max-mem-width = <0x10>; 170 xlnx,num-banks-mem = <0x1>; 173 xlnx,synch-mem-0 = <0x0>; 174 xlnx,synch-mem-1 = <0x0>; 175 xlnx,synch-mem-2 = <0x0>; 176 xlnx,synch-mem-3 = <0x0>; 181 xlnx,tavdv-ps-mem-0 = <0x1adb0>; 182 xlnx,tavdv-ps-mem-1 = <0x3a98>; 183 xlnx,tavdv-ps-mem-2 = <0x3a98>; 184 xlnx,tavdv-ps-mem-3 = <0x3a98>; [all …]
|
/arch/microblaze/platform/generic/ |
D | system.dts | 150 xlnx,max-mem-width = <0x10>; 170 xlnx,num-banks-mem = <0x1>; 173 xlnx,synch-mem-0 = <0x0>; 174 xlnx,synch-mem-1 = <0x0>; 175 xlnx,synch-mem-2 = <0x0>; 176 xlnx,synch-mem-3 = <0x0>; 181 xlnx,tavdv-ps-mem-0 = <0x1adb0>; 182 xlnx,tavdv-ps-mem-1 = <0x3a98>; 183 xlnx,tavdv-ps-mem-2 = <0x3a98>; 184 xlnx,tavdv-ps-mem-3 = <0x3a98>; [all …]
|
/arch/ia64/hp/sim/boot/ |
D | bootloader.c | 57 static char mem[4096]; in start_bootloader() local 108 req.len = sizeof(mem); in start_bootloader() 109 req.addr = (long) mem; in start_bootloader() 113 elf = (struct elfhdr *) mem; in start_bootloader() 137 req.addr = (long) mem; in start_bootloader() 146 elf_phdr = (struct elf_phdr *) mem; in start_bootloader()
|
/arch/mips/include/asm/mach-generic/ |
D | floppy.h | 119 unsigned long mem; in fd_dma_mem_alloc() local 121 mem = __get_dma_pages(GFP_KERNEL, get_order(size)); in fd_dma_mem_alloc() 123 return mem; in fd_dma_mem_alloc()
|
/arch/m68k/kernel/ |
D | sys_m68k.c | 457 unsigned long __user * mem) in sys_atomic_cmpxchg_32() argument 469 pgd = pgd_offset(mm, (unsigned long)mem); in sys_atomic_cmpxchg_32() 472 pmd = pmd_offset(pgd, (unsigned long)mem); in sys_atomic_cmpxchg_32() 475 pte = pte_offset_map_lock(mm, pmd, (unsigned long)mem, &ptl); in sys_atomic_cmpxchg_32() 486 __get_user(mem_value, mem); in sys_atomic_cmpxchg_32() 488 __put_user(newval, mem); in sys_atomic_cmpxchg_32() 506 if (do_page_fault(fp, (unsigned long)mem, 3)) in sys_atomic_cmpxchg_32() 530 unsigned long __user * mem) in sys_atomic_cmpxchg_32() argument 537 mem_value = *mem; in sys_atomic_cmpxchg_32() 539 *mem = newval; in sys_atomic_cmpxchg_32()
|
/arch/x86/um/shared/sysdep/ |
D | kernel-offsets.h | 15 #define OFFSET(sym, str, mem) \ argument 16 DEFINE(sym, offsetof(struct str, mem));
|
/arch/arm/mach-msm/ |
D | board-msm8960.c | 40 tag->u.mem.start == 0x40200000) { in msm8960_fixup() 41 tag->u.mem.start = 0x40000000; in msm8960_fixup() 42 tag->u.mem.size += SZ_2M; in msm8960_fixup()
|
/arch/mips/kernel/ |
D | kgdb.c | 129 int dbg_set_reg(int regno, void *mem, struct pt_regs *regs) in dbg_set_reg() argument 137 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg() 145 memcpy((void *)¤t->thread.fpu.fcr31, mem, in dbg_set_reg() 153 memcpy((void *)¤t->thread.fpu.fpr[fp_reg], mem, in dbg_set_reg() 162 char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs) in dbg_get_reg() argument 171 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg() 180 memcpy(mem, (void *)¤t->thread.fpu.fcr31, in dbg_get_reg() 185 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg() 189 memcpy(mem, (void *)¤t->thread.fpu.fpr[fp_reg], in dbg_get_reg()
|
/arch/mips/pci/ |
D | pci-ip27.c | 64 bc->pc.mem_resource = &bc->mem; in bridge_probe() 69 bc->mem.name = "Bridge PCI MEM"; in bridge_probe() 71 bc->mem.start = 0; in bridge_probe() 72 bc->mem.end = ~0UL; in bridge_probe() 73 bc->mem.flags = IORESOURCE_MEM; in bridge_probe()
|