/arch/powerpc/boot/ |
H A D | treeboot-iss4xx.c | 41 void *memory; local 44 memory = finddevice("/memory"); 45 if (!memory) 46 fatal("Can't find memory node\n"); 48 getprop(memory, "reg", reg, sizeof(reg)); 50 /* If the device tree specifies the memory range, use it */
|
H A D | oflib.c | 109 * we claim the physical space in the /memory node and the virtual 115 static ihandle memory; variable 144 memory = of_call_prom("open", 1, 1, "/memory"); 145 if (memory == PROM_ERROR) { 146 memory = of_call_prom("open", 1, 1, "/memory@0"); 147 if (memory == PROM_ERROR) { 148 printf("no memory node\n"); 167 ret = of_call_prom_ret("call-method", 5, 2, &result, "claim", memory, [all...] |
H A D | devtree.c | 23 void *root, *memory; local 46 memory = finddevice("/memory"); 47 if (! memory) { 48 memory = create_node(NULL, "memory"); 49 setprop_str(memory, "device_type", "memory"); 57 setprop(memory, "reg", memreg, (naddr + nsize)*sizeof(u32));
|
/arch/openrisc/include/asm/ |
H A D | dma-mapping.h | 48 void *memory; local 50 memory = ops->alloc(dev, size, dma_handle, gfp, attrs); 52 debug_dma_alloc_coherent(dev, size, *dma_handle, memory); 54 return memory;
|
/arch/sh/include/asm/ |
H A D | dma-mapping.h | 63 void *memory; local 65 if (dma_alloc_from_coherent(dev, size, dma_handle, &memory)) 66 return memory; 70 memory = ops->alloc(dev, size, dma_handle, gfp, attrs); 71 debug_dma_alloc_coherent(dev, size, *dma_handle, memory); 73 return memory;
|
/arch/microblaze/include/asm/ |
H A D | dma-mapping.h | 112 void *memory; local 116 memory = ops->alloc(dev, size, dma_handle, flag, attrs); 118 debug_dma_alloc_coherent(dev, size, *dma_handle, memory); 119 return memory;
|
/arch/x86/include/asm/ |
H A D | dma-mapping.h | 135 void *memory; local 139 if (dma_alloc_from_coherent(dev, size, dma_handle, &memory)) 140 return memory; 151 memory = ops->alloc(dev, size, dma_handle, 153 debug_dma_alloc_coherent(dev, size, *dma_handle, memory); 155 return memory;
|
/arch/mips/cavium-octeon/ |
H A D | setup.c | 101 pr_err("Error: requested memory too large," 164 * Information about segments will be needed during pre-boot memory 197 * Mark all memory (except low 0x100000 bytes) as free. 212 * Do not mark all memory as free. Free only named sections 213 * leaving the rest of memory unchanged. 258 /* crashkernel cmdline parameter is parsed _after_ memory setup 428 asm volatile ("break" ::: "memory"); 435 asm volatile ("wait" ::: "memory"); 582 /* R/W Size of local memory in cache blocks, 54 (6912 bytes) 684 * We need to temporarily allocate all memory i 850 int64_t memory; local [all...] |
/arch/arm/mm/ |
H A D | dma-mapping.c | 32 #include <asm/memory.h> 72 * The device owns this memory once this call has completed. The CPU 168 * If the mask allows for more memory than we can address, 169 * and we actually have that much memory, then we must 191 dev_warn(dev, "Coherent DMA mask %#llx (pfn %#lx-%#lx) covers a smaller range of system memory than the DMA zone pfn 0x0-%#lx\n", 430 * Clear previous low-memory mapping to ensure that the 651 * Allocate DMA-coherent memory space and return both the kernel remapped 658 void *memory; local 660 if (dma_alloc_from_coherent(dev, size, handle, &memory)) 661 return memory; 671 void *memory; local [all...] |
/arch/powerpc/mm/ |
H A D | numa.c | 205 * Returns the property linux,drconf-usable-memory if 209 static const __be32 *of_get_usable_memory(struct device_node *memory) argument 213 prop = of_get_property(memory, "linux,drconf-usable-memory", &len); 389 struct device_node *memory = NULL; local 391 memory = of_find_node_by_type(memory, "memory"); 392 if (!memory) 393 panic("numa.c: No memory node 437 of_get_drconf_memory(struct device_node *memory, const __be32 **dm) argument 462 of_get_lmb_size(struct device_node *memory) argument 490 of_get_assoc_arrays(struct device_node *memory, struct assoc_arrays *aa) argument 671 parse_drconf_memory(struct device_node *memory) argument 736 struct device_node *memory; local 1180 hot_add_drconf_scn_to_nid(struct device_node *memory, unsigned long scn_addr) argument 1230 struct device_node *memory; local 1273 struct device_node *memory = NULL; local 1306 struct device_node *memory = NULL; local [all...] |
/arch/ia64/kernel/ |
H A D | unwind.c | 651 printk(KERN_ERR "unwind.dup_state_stack: out of memory\n"); 682 decode_abreg (unsigned char abreg, int memory) 691 case 0x62: return memory ? UNW_REG_PRI_UNAT_MEM : UNW_REG_PRI_UNAT_GR; 793 * Next, lay out the memory stack spill area: 1056 printk(KERN_ERR "unwind.desc_label_state(): out of memory\n"); 1611 * sp has been restored and all values on the memory stack below 680 decode_abreg(unsigned char abreg, int memory) argument
|
/arch/mips/include/asm/ |
H A D | sgiarcs.h | 51 system, processor, cache, adapter, controller, peripheral, memory enumerator in enum:linux_devclass 97 /* ARCS prom memory descriptors. */ 102 arcs_free, /* Generic free memory */ 103 arcs_bmem, /* Borken memory, don't use */ 113 arc_free, /* Generic free memory */ 114 arc_bmem, /* Borken memory, don't use */ 212 /* Probing for memory. */
|
/arch/powerpc/kernel/ |
H A D | prom_init.c | 55 * This is the size of the local memory reserve map that gets copied 122 ihandle memory; member in struct:prom_t 409 ADDR("claim"), prom.memory, 418 prom.memory, size, virt); 955 * Note that calls to reserve_mem have to be done explicitly, memory 962 * Allocates memory in the RMO upward from the kernel/initrd 1009 * Allocates memory downward, either from top of RMO, or if highmem 1011 * failures. It does claim memory if highmem is not set. 1092 * Very dumb function for adding to the memory reserve list, but 1123 * Initialize memory allocatio [all...] |