memory            854 arch/arm/kernel/setup.c 	for_each_memblock(memory, region) {
memory            146 arch/arm/mm/init.c 	for_each_memblock(memory, reg) {
memory            365 arch/arm/mm/init.c 	for_each_memblock(memory, reg) {
memory            421 arch/arm/mm/init.c 	for_each_memblock(memory, mem) {
memory           1184 arch/arm/mm/mmu.c 	for_each_memblock(memory, reg) {
memory           1196 arch/arm/mm/mmu.c 	for_each_memblock(memory, reg) {
memory           1288 arch/arm/mm/mmu.c 	end = memblock.memory.regions[0].base + memblock.memory.regions[0].size;
memory           1457 arch/arm/mm/mmu.c 	for_each_memblock(memory, reg) {
memory            265 arch/arm/mm/pmsa-v7.c 	for_each_memblock(memory, reg) {
memory            100 arch/arm/mm/pmsa-v8.c 	for_each_memblock(memory, reg) {
memory            247 arch/arm/mm/pmsa-v8.c 	add_range(mem,  ARRAY_SIZE(mem), 0,  memblock.memory.regions[0].base,
memory            248 arch/arm/mm/pmsa-v8.c 		  memblock.memory.regions[0].base + memblock.memory.regions[0].size);
memory             29 arch/arm/xen/mm.c 	for_each_memblock(memory, reg) {
memory            214 arch/arm64/kernel/setup.c 	num_standard_resources = memblock.memory.cnt;
memory            220 arch/arm64/kernel/setup.c 	for_each_memblock(memory, region) {
memory            216 arch/arm64/mm/init.c 	for_each_memblock(memory, reg) {
memory            496 arch/arm64/mm/init.c 	for_each_memblock(memory, reg) {
memory            238 arch/arm64/mm/kasan_init.c 	for_each_memblock(memory, reg) {
memory            483 arch/arm64/mm/mmu.c 	for_each_memblock(memory, reg) {
memory            204 arch/arm64/mm/numa.c 	ret = memblock_set_node(start, (end - start), &memblock.memory, nid);
memory            353 arch/arm64/mm/numa.c 	for_each_memblock(memory, mblk)
memory            431 arch/arm64/mm/numa.c 	for_each_memblock(memory, mblk) {
memory            354 arch/c6x/kernel/setup.c 	for_each_memblock(memory, reg)
memory             78 arch/h8300/kernel/setup.c 	for_each_memblock(memory, region) {
memory            681 arch/ia64/kernel/unwind.c decode_abreg (unsigned char abreg, int memory)
memory            690 arch/ia64/kernel/unwind.c 	      case 0x62: return memory ? UNW_REG_PRI_UNAT_MEM : UNW_REG_PRI_UNAT_GR;
memory            355 arch/m68k/math-emu/fp_decode.h 3:	| addressing mode: address register/programm counter memory indirect
memory            122 arch/microblaze/mm/init.c 	for_each_memblock(memory, reg) {
memory            173 arch/microblaze/mm/init.c 	for_each_memblock(memory, reg) {
memory            180 arch/microblaze/mm/init.c 				  &memblock.memory, 0);
memory            241 arch/microblaze/mm/init.c 			memblock.memory.regions[0].size = memory_size;
memory            284 arch/microblaze/mm/init.c 	if ((u32) memblock.memory.regions[0].size < 0x400000) {
memory            289 arch/microblaze/mm/init.c 	if ((u32) memblock.memory.regions[0].size < kernel_tlb) {
memory            295 arch/microblaze/mm/init.c 	memory_start = (u32) memblock.memory.regions[0].base;
memory            296 arch/microblaze/mm/init.c 	lowmem_size = memory_size = (u32) memblock.memory.regions[0].size;
memory            202 arch/mips/cavium-octeon/dma-octeon.c 	for_each_memblock(memory, mem) {
memory            974 arch/mips/cavium-octeon/setup.c 	int64_t memory;
memory           1011 arch/mips/cavium-octeon/setup.c 		memory = cvmx_bootmem_phy_alloc(mem_alloc_size,
memory           1015 arch/mips/cavium-octeon/setup.c 		if (memory >= 0) {
memory           1028 arch/mips/cavium-octeon/setup.c 					    &memory, &size);
memory           1031 arch/mips/cavium-octeon/setup.c 					    &memory, &size);
memory           1033 arch/mips/cavium-octeon/setup.c 			end = memory + mem_alloc_size;
memory           1040 arch/mips/cavium-octeon/setup.c 			if (memory < crashk_base && end >  crashk_end) {
memory           1042 arch/mips/cavium-octeon/setup.c 				add_memory_region(memory,
memory           1043 arch/mips/cavium-octeon/setup.c 						  crashk_base - memory,
memory           1045 arch/mips/cavium-octeon/setup.c 				total += crashk_base - memory;
memory           1053 arch/mips/cavium-octeon/setup.c 			if (memory >= crashk_base && end <= crashk_end)
memory           1060 arch/mips/cavium-octeon/setup.c 			if (memory > crashk_base && memory < crashk_end &&
memory           1066 arch/mips/cavium-octeon/setup.c 				mem_alloc_size -= crashk_end - memory;
memory           1067 arch/mips/cavium-octeon/setup.c 				memory = crashk_end;
memory           1068 arch/mips/cavium-octeon/setup.c 			} else if (memory < crashk_base && end > crashk_base &&
memory           1076 arch/mips/cavium-octeon/setup.c 			add_memory_region(memory, mem_alloc_size, BOOT_MEM_RAM);
memory             21 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h 	# addresses, and need to have the appropriate memory region set
memory             46 arch/mips/include/asm/mach-ip27/kernel-entry-init.h 	li	t0, 0x1c000		# Offset of text into node memory
memory            338 arch/mips/kernel/setup.c 	for_each_memblock(memory, mem) {
memory            462 arch/mips/kernel/setup.c 	 for_each_memblock(memory, mem) {
memory            628 arch/mips/kernel/setup.c 	memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0);
memory            686 arch/mips/kernel/setup.c 	for_each_memblock(memory, region) {
memory             73 arch/mips/netlogic/xlp/setup.c 	for_each_memblock(memory, mem) {
memory             71 arch/nds32/include/asm/nds32.h 						 * We defined at the start of the physical memory */
memory            252 arch/nds32/kernel/setup.c 	for_each_memblock(memory, region) {
memory             57 arch/openrisc/kernel/setup.c 	for_each_memblock(memory, region) {
memory             84 arch/openrisc/mm/init.c 	for_each_memblock(memory, region) {
memory             19 arch/powerpc/boot/devtree.c 	void *root, *memory;
memory             42 arch/powerpc/boot/devtree.c 	memory = finddevice("/memory");
memory             43 arch/powerpc/boot/devtree.c 	if (! memory) {
memory             44 arch/powerpc/boot/devtree.c 		memory = create_node(NULL, "memory");
memory             45 arch/powerpc/boot/devtree.c 		setprop_str(memory, "device_type", "memory");
memory             53 arch/powerpc/boot/devtree.c 	setprop(memory, "reg", memreg, (naddr + nsize)*sizeof(u32));
memory            111 arch/powerpc/boot/oflib.c static ihandle memory;
memory            140 arch/powerpc/boot/oflib.c 	memory = of_call_prom("open", 1, 1, "/memory");
memory            141 arch/powerpc/boot/oflib.c 	if (memory == PROM_ERROR) {
memory            142 arch/powerpc/boot/oflib.c 		memory = of_call_prom("open", 1, 1, "/memory@0");
memory            143 arch/powerpc/boot/oflib.c 		if (memory == PROM_ERROR) {
memory            163 arch/powerpc/boot/oflib.c 	ret = of_call_prom_ret("call-method", 5, 2, &result, "claim", memory,
memory             37 arch/powerpc/boot/treeboot-iss4xx.c 	void *memory;
memory             40 arch/powerpc/boot/treeboot-iss4xx.c 	memory = finddevice("/memory");
memory             41 arch/powerpc/boot/treeboot-iss4xx.c 	if (!memory)
memory             44 arch/powerpc/boot/treeboot-iss4xx.c 	getprop(memory, "reg", reg, sizeof(reg));
memory            171 arch/powerpc/kernel/fadump.c 	for_each_memblock(memory, reg) {
memory            340 arch/powerpc/kernel/fadump.c 	size += sizeof(struct elf_phdr) * (memblock_num_regions(memory) + 2);
memory            408 arch/powerpc/kernel/fadump.c 	for_each_memblock(memory, reg) {
memory            898 arch/powerpc/kernel/fadump.c 	for_each_memblock(memory, reg) {
memory           1140 arch/powerpc/kernel/fadump.c 	for_each_memblock(memory, reg) {
memory           1540 arch/powerpc/kernel/fadump.c 	for_each_memblock(memory, reg) {
memory            123 arch/powerpc/kernel/prom_init.c 	ihandle memory;
memory            579 arch/powerpc/kernel/prom_init.c 				    ADDR("claim"), prom.memory,
memory            588 arch/powerpc/kernel/prom_init.c 				  prom.memory, size, virt);
memory           2199 arch/powerpc/kernel/prom_init.c 	prom.memory = call_prom("open", 1, 1, ADDR("/memory"));
memory           2203 arch/powerpc/kernel/prom_init.c 	if (!IHANDLE_VALID(prom.memory) || !IHANDLE_VALID(prom.mmumap))
memory            110 arch/powerpc/kvm/book3s_hv_builtin.c 	for_each_memblock(memory, reg)
memory            931 arch/powerpc/mm/book3s64/hash_utils.c 	for_each_memblock(memory, reg) {
memory            321 arch/powerpc/mm/book3s64/radix_pgtable.c 	for_each_memblock(memory, reg) {
memory             61 arch/powerpc/mm/drmem.c static int drmem_update_dt_v1(struct device_node *memory,
memory             87 arch/powerpc/mm/drmem.c 	of_update_property(memory, new_prop);
memory            100 arch/powerpc/mm/drmem.c static int drmem_update_dt_v2(struct device_node *memory,
memory            165 arch/powerpc/mm/drmem.c 	of_update_property(memory, new_prop);
memory            171 arch/powerpc/mm/drmem.c 	struct device_node *memory;
memory            175 arch/powerpc/mm/drmem.c 	memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory");
memory            176 arch/powerpc/mm/drmem.c 	if (!memory)
memory            179 arch/powerpc/mm/drmem.c 	prop = of_find_property(memory, "ibm,dynamic-memory", NULL);
memory            181 arch/powerpc/mm/drmem.c 		rc = drmem_update_dt_v1(memory, prop);
memory            183 arch/powerpc/mm/drmem.c 		prop = of_find_property(memory, "ibm,dynamic-memory-v2", NULL);
memory            185 arch/powerpc/mm/drmem.c 			rc = drmem_update_dt_v2(memory, prop);
memory            188 arch/powerpc/mm/drmem.c 	of_node_put(memory);
memory            129 arch/powerpc/mm/init_32.c 	if (memblock.memory.cnt > 1) {
memory            131 arch/powerpc/mm/init_32.c 		memblock_enforce_memory_limit(memblock.memory.regions[0].size);
memory            144 arch/powerpc/mm/kasan/kasan_init_32.c 	for_each_memblock(memory, reg) {
memory            188 arch/powerpc/mm/mem.c 	memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0);
memory            203 arch/powerpc/mm/mem.c 	for_each_memblock(memory, reg) {
memory            594 arch/powerpc/mm/mem.c 	for_each_memblock(memory, reg) {
memory            359 arch/powerpc/mm/numa.c 	struct device_node *memory = NULL;
memory            361 arch/powerpc/mm/numa.c 	memory = of_find_node_by_type(memory, "memory");
memory            362 arch/powerpc/mm/numa.c 	if (!memory)
memory            365 arch/powerpc/mm/numa.c 	*n_addr_cells = of_n_addr_cells(memory);
memory            366 arch/powerpc/mm/numa.c 	*n_size_cells = of_n_size_cells(memory);
memory            367 arch/powerpc/mm/numa.c 	of_node_put(memory);
memory            399 arch/powerpc/mm/numa.c 	struct device_node *memory;
memory            403 arch/powerpc/mm/numa.c 	memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory");
memory            404 arch/powerpc/mm/numa.c 	if (!memory)
memory            407 arch/powerpc/mm/numa.c 	prop = of_get_property(memory, "ibm,associativity-lookup-arrays", &len);
memory            409 arch/powerpc/mm/numa.c 		of_node_put(memory);
memory            416 arch/powerpc/mm/numa.c 	of_node_put(memory);
memory            630 arch/powerpc/mm/numa.c 			memblock_set_node(base, sz, &memblock.memory, nid);
memory            636 arch/powerpc/mm/numa.c 	struct device_node *memory;
memory            684 arch/powerpc/mm/numa.c 	for_each_node_by_type(memory, "memory") {
memory            692 arch/powerpc/mm/numa.c 		memcell_buf = of_get_property(memory,
memory            695 arch/powerpc/mm/numa.c 			memcell_buf = of_get_property(memory, "reg", &len);
memory            711 arch/powerpc/mm/numa.c 		nid = of_node_to_nid_single(memory);
memory            720 arch/powerpc/mm/numa.c 			memblock_set_node(start, size, &memblock.memory, nid);
memory            731 arch/powerpc/mm/numa.c 	memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory");
memory            732 arch/powerpc/mm/numa.c 	if (memory) {
memory            733 arch/powerpc/mm/numa.c 		walk_drmem_lmbs(memory, numa_setup_drmem_lmb);
memory            734 arch/powerpc/mm/numa.c 		of_node_put(memory);
memory            753 arch/powerpc/mm/numa.c 	for_each_memblock(memory, reg) {
memory            760 arch/powerpc/mm/numa.c 				  &memblock.memory, nid);
memory            991 arch/powerpc/mm/numa.c 	struct device_node *memory;
memory            994 arch/powerpc/mm/numa.c 	for_each_node_by_type(memory, "memory") {
memory           1000 arch/powerpc/mm/numa.c 		memcell_buf = of_get_property(memory, "reg", &len);
memory           1014 arch/powerpc/mm/numa.c 			nid = of_node_to_nid_single(memory);
memory           1022 arch/powerpc/mm/numa.c 	of_node_put(memory);
memory           1034 arch/powerpc/mm/numa.c 	struct device_node *memory = NULL;
memory           1040 arch/powerpc/mm/numa.c 	memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory");
memory           1041 arch/powerpc/mm/numa.c 	if (memory) {
memory           1043 arch/powerpc/mm/numa.c 		of_node_put(memory);
memory           1056 arch/powerpc/mm/numa.c 	struct device_node *memory = NULL;
memory           1068 arch/powerpc/mm/numa.c 	memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory");
memory           1069 arch/powerpc/mm/numa.c 	if (memory) {
memory           1070 arch/powerpc/mm/numa.c 		of_node_put(memory);
memory            113 arch/powerpc/mm/pgtable_32.c 	for_each_memblock(memory, reg) {
memory             59 arch/powerpc/platforms/embedded6xx/wii.c 	struct memblock_region *p = memblock.memory.regions;
memory             61 arch/powerpc/platforms/embedded6xx/wii.c 	BUG_ON(memblock.memory.cnt != 2);
memory            946 arch/powerpc/platforms/pseries/iommu.c 	struct device_node *memory;
memory            948 arch/powerpc/platforms/pseries/iommu.c 	for_each_node_by_type(memory, "memory") {
memory            953 arch/powerpc/platforms/pseries/iommu.c 		memcell_buf = of_get_property(memory, "reg", &len);
memory            957 arch/powerpc/platforms/pseries/iommu.c 		n_mem_addr_cells = of_n_addr_cells(memory);
memory            958 arch/powerpc/platforms/pseries/iommu.c 		n_mem_size_cells = of_n_size_cells(memory);
memory             98 arch/riscv/mm/init.c 	for_each_memblock(memory, reg) {
memory            136 arch/riscv/mm/init.c 	for_each_memblock(memory, reg) {
memory            142 arch/riscv/mm/init.c 				  &memblock.memory, 0);
memory            425 arch/riscv/mm/init.c 	for_each_memblock(memory, reg) {
memory            512 arch/s390/kernel/setup.c 	for_each_memblock(memory, reg) {
memory            685 arch/s390/kernel/setup.c 	if (memblock.memory.regions[0].size < crash_size) {
memory            728 arch/s390/kernel/setup.c 		(unsigned long)memblock.memory.total_size >> 20);
memory            778 arch/s390/kernel/setup.c 	memblock_add_range(&memblock.memory, start, size, 0, 0);
memory            847 arch/s390/kernel/setup.c 	for_each_memblock(memory, reg) {
memory            196 arch/s390/mm/page-states.c 	for_each_memblock(memory, reg) {
memory            405 arch/s390/mm/vmem.c 	for_each_memblock(memory, reg)
memory            436 arch/s390/mm/vmem.c 	for_each_memblock(memory, reg) {
memory            495 arch/s390/numa/mode_emu.c 	nodes_max = memblock.memory.total_size / emu_size;
memory             90 arch/s390/numa/numa.c 		memblock_set_node(cur_base, align, &memblock.memory, nid);
memory            239 arch/sh/kernel/setup.c 			  &memblock.memory, nid);
memory            223 arch/sh/mm/init.c 	for_each_memblock(memory, reg) {
memory            236 arch/sh/mm/init.c 	for_each_memblock(memory, reg) {
memory           1228 arch/sparc/mm/init_64.c 	prev_max = memblock.memory.max;
memory           1230 arch/sparc/mm/init_64.c 	for_each_memblock(memory, reg) {
memory           1247 arch/sparc/mm/init_64.c 					  &memblock.memory, nid);
memory           1248 arch/sparc/mm/init_64.c 			if (memblock.memory.max != prev_max)
memory           1621 arch/sparc/mm/init_64.c 	memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0);
memory             87 arch/unicore32/mm/init.c 	for_each_memblock(memory, reg) {
memory            312 arch/unicore32/mm/mmu.c 	end = memblock.memory.regions[0].base + memblock.memory.regions[0].size;
memory            397 arch/unicore32/mm/mmu.c 	for_each_memblock(memory, reg) {
memory            695 arch/x86/mm/init_32.c 	memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0);
memory            805 arch/x86/mm/init_64.c 	memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0);
memory            246 arch/x86/mm/numa.c 		    !memblock_overlaps_region(&memblock.memory,
memory            541 arch/x86/mm/numa.c 				  &memblock.memory, mb->nid);
memory            631 arch/x86/mm/numa.c 	WARN_ON(memblock_set_node(0, ULLONG_MAX, &memblock.memory,
memory             96 arch/xtensa/mm/init.c 	for_each_memblock(memory, mem) {
memory           1500 drivers/atm/ambassador.c   void * memory;
memory           1512 drivers/atm/ambassador.c   memory = kmalloc (total, GFP_KERNEL);
memory           1513 drivers/atm/ambassador.c   if (!memory) {
memory           1517 drivers/atm/ambassador.c   if (check_area (memory, total)) {
memory           1519 drivers/atm/ambassador.c     kfree (memory);
memory           1523 drivers/atm/ambassador.c   limit = memory + total;
memory           1524 drivers/atm/ambassador.c   PRINTD (DBG_INIT, "queues from %p to %p", memory, limit);
memory           1526 drivers/atm/ambassador.c   PRINTD (DBG_CMD, "command queue at %p", memory);
memory           1529 drivers/atm/ambassador.c     command * cmd = memory;
memory           1541 drivers/atm/ambassador.c     memory = cq->ptrs.limit;
memory           1544 drivers/atm/ambassador.c   PRINTD (DBG_TX, "TX queue pair at %p", memory);
memory           1547 drivers/atm/ambassador.c     tx_in * in = memory;
memory           1560 drivers/atm/ambassador.c     memory = txq->in.limit;
memory           1561 drivers/atm/ambassador.c     out = memory;
memory           1567 drivers/atm/ambassador.c     memory = txq->out.limit;
memory           1570 drivers/atm/ambassador.c   PRINTD (DBG_RX, "RX queue pairs at %p", memory);
memory           1573 drivers/atm/ambassador.c     rx_in * in = memory;
memory           1589 drivers/atm/ambassador.c     memory = rxq->in.limit;
memory           1590 drivers/atm/ambassador.c     out = memory;
memory           1596 drivers/atm/ambassador.c     memory = rxq->out.limit;
memory           1599 drivers/atm/ambassador.c   if (memory == limit) {
memory           1602 drivers/atm/ambassador.c     PRINTK (KERN_ERR, "bad queue alloc %p != %p (tell maintainer)", memory, limit);
memory           1613 drivers/atm/ambassador.c   void * memory = dev->cq.ptrs.start;
memory           1618 drivers/atm/ambassador.c   PRINTD (DBG_INIT, "freeing queues at %p", memory);
memory           1619 drivers/atm/ambassador.c   kfree (memory);
memory            389 drivers/atm/ambassador.h     } memory;
memory            611 drivers/base/memory.c int register_memory(struct memory_block *memory)
memory            615 drivers/base/memory.c 	memory->dev.bus = &memory_subsys;
memory            616 drivers/base/memory.c 	memory->dev.id = memory->start_section_nr / sections_per_block;
memory            617 drivers/base/memory.c 	memory->dev.release = memory_block_release;
memory            618 drivers/base/memory.c 	memory->dev.groups = memory_memblk_attr_groups;
memory            619 drivers/base/memory.c 	memory->dev.offline = memory->state == MEM_OFFLINE;
memory            621 drivers/base/memory.c 	ret = device_register(&memory->dev);
memory            623 drivers/base/memory.c 		put_device(&memory->dev);
memory            628 drivers/base/memory.c static int init_memory_block(struct memory_block **memory,
memory            652 drivers/base/memory.c 	*memory = mem;
memory            677 drivers/base/memory.c static void unregister_memory(struct memory_block *memory)
memory            679 drivers/base/memory.c 	if (WARN_ON_ONCE(memory->dev.bus != &memory_subsys))
memory            683 drivers/base/memory.c 	put_device(&memory->dev);
memory            684 drivers/base/memory.c 	device_unregister(&memory->dev);
memory            616 drivers/bus/mvebu-mbus.c 	for_each_memblock(memory, r) {
memory            203 drivers/char/agp/agp.h 			    struct agp_memory *memory, size_t page_count);
memory            205 drivers/char/agp/agp.h void agp_generic_destroy_pages(struct agp_memory *memory);
memory            115 drivers/char/agp/backend.c 	long memory, index, result;
memory            118 drivers/char/agp/backend.c 	memory = totalram_pages() >> (20 - PAGE_SHIFT);
memory            120 drivers/char/agp/backend.c 	memory = totalram_pages() << (PAGE_SHIFT - 20);
memory            124 drivers/char/agp/backend.c 	while ((memory > maxes_table[index].mem) && (index < 8))
memory            128 drivers/char/agp/backend.c 	   ( (memory - maxes_table[index - 1].mem)  *
memory            154 drivers/char/agp/compat_ioctl.c 	struct agp_memory *memory;
memory            161 drivers/char/agp/compat_ioctl.c 	memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type);
memory            163 drivers/char/agp/compat_ioctl.c 	if (memory == NULL)
memory            166 drivers/char/agp/compat_ioctl.c 	alloc.key = memory->key;
memory            167 drivers/char/agp/compat_ioctl.c 	alloc.physical = memory->physical;
memory            170 drivers/char/agp/compat_ioctl.c 		agp_free_memory_wrap(memory);
memory            179 drivers/char/agp/compat_ioctl.c 	struct agp_memory *memory;
memory            185 drivers/char/agp/compat_ioctl.c 	memory = agp_find_mem_by_key(bind_info.key);
memory            187 drivers/char/agp/compat_ioctl.c 	if (memory == NULL)
memory            190 drivers/char/agp/compat_ioctl.c 	return agp_bind_memory(memory, bind_info.pg_start);
memory            195 drivers/char/agp/compat_ioctl.c 	struct agp_memory *memory;
memory            202 drivers/char/agp/compat_ioctl.c 	memory = agp_find_mem_by_key(unbind.key);
memory            204 drivers/char/agp/compat_ioctl.c 	if (memory == NULL)
memory            207 drivers/char/agp/compat_ioctl.c 	return agp_unbind_memory(memory);
memory            101 drivers/char/agp/compat_ioctl.h void agp_free_memory_wrap(struct agp_memory *memory);
memory            270 drivers/char/agp/frontend.c void agp_free_memory_wrap(struct agp_memory *memory)
memory            272 drivers/char/agp/frontend.c 	agp_remove_from_pool(memory);
memory            273 drivers/char/agp/frontend.c 	agp_free_memory(memory);
memory            278 drivers/char/agp/frontend.c 	struct agp_memory *memory;
memory            280 drivers/char/agp/frontend.c 	memory = agp_allocate_memory(agp_bridge, pg_count, type);
memory            281 drivers/char/agp/frontend.c 	if (memory == NULL)
memory            284 drivers/char/agp/frontend.c 	agp_insert_into_pool(memory);
memory            285 drivers/char/agp/frontend.c 	return memory;
memory            360 drivers/char/agp/frontend.c 	struct agp_memory *memory;
memory            363 drivers/char/agp/frontend.c 	memory = controller->pool;
memory            365 drivers/char/agp/frontend.c 	while (memory) {
memory            366 drivers/char/agp/frontend.c 		temp = memory;
memory            367 drivers/char/agp/frontend.c 		memory = memory->next;
memory            876 drivers/char/agp/frontend.c 	struct agp_memory *memory;
memory            886 drivers/char/agp/frontend.c 	memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type);
memory            888 drivers/char/agp/frontend.c 	if (memory == NULL)
memory            891 drivers/char/agp/frontend.c 	alloc.key = memory->key;
memory            892 drivers/char/agp/frontend.c 	alloc.physical = memory->physical;
memory            895 drivers/char/agp/frontend.c 		agp_free_memory_wrap(memory);
memory            903 drivers/char/agp/frontend.c 	struct agp_memory *memory;
memory            906 drivers/char/agp/frontend.c 	memory = agp_find_mem_by_key(arg);
memory            908 drivers/char/agp/frontend.c 	if (memory == NULL)
memory            911 drivers/char/agp/frontend.c 	agp_free_memory_wrap(memory);
memory            918 drivers/char/agp/frontend.c 	struct agp_memory *memory;
memory            924 drivers/char/agp/frontend.c 	memory = agp_find_mem_by_key(bind_info.key);
memory            926 drivers/char/agp/frontend.c 	if (memory == NULL)
memory            929 drivers/char/agp/frontend.c 	return agp_bind_memory(memory, bind_info.pg_start);
memory            934 drivers/char/agp/frontend.c 	struct agp_memory *memory;
memory            941 drivers/char/agp/frontend.c 	memory = agp_find_mem_by_key(unbind.key);
memory            943 drivers/char/agp/frontend.c 	if (memory == NULL)
memory            946 drivers/char/agp/frontend.c 	return agp_unbind_memory(memory);
memory            736 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	ps->memory.dllOff = (0 != tmp);
memory            738 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	ps->memory.m3arb = (le32_to_cpu(pnon_clock_info->ulCapsAndSettings) &
memory            147 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	struct smu_state_memroy_block                 memory;
memory            159 drivers/gpu/drm/amd/powerplay/inc/power_state.h 	struct PP_StateMemroyBlock                 memory;
memory            205 drivers/gpu/drm/drm_agpsupport.c 	struct agp_memory *memory;
memory            217 drivers/gpu/drm/drm_agpsupport.c 	memory = agp_allocate_memory(dev->agp->bridge, pages, type);
memory            218 drivers/gpu/drm/drm_agpsupport.c 	if (!memory) {
memory            223 drivers/gpu/drm/drm_agpsupport.c 	entry->handle = (unsigned long)memory->key + 1;
memory            224 drivers/gpu/drm/drm_agpsupport.c 	entry->memory = memory;
memory            227 drivers/gpu/drm/drm_agpsupport.c 	list_add(&entry->head, &dev->agp->memory);
memory            230 drivers/gpu/drm/drm_agpsupport.c 	request->physical = memory->physical;
memory            259 drivers/gpu/drm/drm_agpsupport.c 	list_for_each_entry(entry, &dev->agp->memory, head) {
memory            288 drivers/gpu/drm/drm_agpsupport.c 	ret = drm_unbind_agp(entry->memory);
memory            329 drivers/gpu/drm/drm_agpsupport.c 	retcode = drm_bind_agp(entry->memory, page);
memory            372 drivers/gpu/drm/drm_agpsupport.c 		drm_unbind_agp(entry->memory);
memory            376 drivers/gpu/drm/drm_agpsupport.c 	drm_free_agp(entry->memory, entry->pages);
memory            426 drivers/gpu/drm/drm_agpsupport.c 	INIT_LIST_HEAD(&head->memory);
memory            454 drivers/gpu/drm/drm_agpsupport.c 	list_for_each_entry_safe(entry, tempe, &dev->agp->memory, head) {
memory            456 drivers/gpu/drm/drm_agpsupport.c 			drm_unbind_agp(entry->memory);
memory            457 drivers/gpu/drm/drm_agpsupport.c 		drm_free_agp(entry->memory, entry->pages);
memory            460 drivers/gpu/drm/drm_agpsupport.c 	INIT_LIST_HEAD(&dev->agp->memory);
memory            299 drivers/gpu/drm/drm_bufs.c 		list_for_each_entry(entry, &dev->agp->memory, head) {
memory            306 drivers/gpu/drm/drm_bufs.c 		if (!list_empty(&dev->agp->memory) && !valid) {
memory            757 drivers/gpu/drm/drm_bufs.c 	list_for_each_entry(agp_entry, &dev->agp->memory, head) {
memory            764 drivers/gpu/drm/drm_bufs.c 	if (!list_empty(&dev->agp->memory) && !valid) {
memory            145 drivers/gpu/drm/drm_legacy.h 	struct agp_memory *memory;
memory             75 drivers/gpu/drm/drm_memory.c 	list_for_each_entry(agpmem, &dev->agp->memory, head)
memory             80 drivers/gpu/drm/drm_memory.c 	if (&agpmem->head == &dev->agp->memory)
memory             93 drivers/gpu/drm/drm_memory.c 	phys_page_map = (agpmem->memory->pages + (offset - agpmem->bound) / PAGE_SIZE);
memory            160 drivers/gpu/drm/drm_vm.c 		list_for_each_entry(agpmem, &dev->agp->memory, head) {
memory            166 drivers/gpu/drm/drm_vm.c 		if (&agpmem->head == &dev->agp->memory)
memory            173 drivers/gpu/drm/drm_vm.c 		page = agpmem->memory->pages[offset];
memory            180 drivers/gpu/drm/drm_vm.c 		     agpmem->memory->pages[offset],
memory             58 drivers/gpu/drm/nouveau/include/nvif/if000c.h 	__u64 memory;
memory             16 drivers/gpu/drm/nouveau/include/nvkm/core/gpuobj.h 	struct nvkm_memory *memory;
memory             13 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h 	u32 memory;
memory             21 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h 	struct nvkm_memory *memory; /* Memory currently mapped into VMA. */
memory             63 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h 	struct nvkm_memory *memory;
memory            439 drivers/gpu/drm/nouveau/nouveau_svm.c 	struct nvif_object *memory = &buffer->object;
memory            440 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u32 instlo = nvif_rd32(memory, offset + 0x00);
memory            441 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u32 insthi = nvif_rd32(memory, offset + 0x04);
memory            442 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u32 addrlo = nvif_rd32(memory, offset + 0x08);
memory            443 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u32 addrhi = nvif_rd32(memory, offset + 0x0c);
memory            444 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u32 timelo = nvif_rd32(memory, offset + 0x10);
memory            445 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u32 timehi = nvif_rd32(memory, offset + 0x14);
memory            446 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u32 engine = nvif_rd32(memory, offset + 0x18);
memory            447 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u32   info = nvif_rd32(memory, offset + 0x1c);
memory            458 drivers/gpu/drm/nouveau/nouveau_svm.c 	nvif_mask(memory, offset + 0x1c, 0x80000000, 0x00000000);
memory             53 drivers/gpu/drm/nouveau/nvif/vmm.c 	args->memory = nvif_handle(&mem->object);
memory             50 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 	return nvkm_memory_map(gpuobj->memory, offset, vmm, vma, argv, argc);
memory             56 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 	return nvkm_ro32(gpuobj->memory, offset);
memory             62 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 	nvkm_wo32(gpuobj->memory, offset, data);
memory             70 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 	nvkm_done(gpuobj->memory);
memory             92 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 	gpuobj->map = nvkm_kmap(gpuobj->memory);
memory            202 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 				      abs(align), zero, &gpuobj->memory);
memory            207 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 		gpuobj->addr = nvkm_memory_addr(gpuobj->memory);
memory            208 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 		gpuobj->size = nvkm_memory_size(gpuobj->memory);
memory            222 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 		nvkm_memory_unref(&gpuobj->memory);
memory            250 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c nvkm_gpuobj_wrap(struct nvkm_memory *memory, struct nvkm_gpuobj **pgpuobj)
memory            255 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 	(*pgpuobj)->addr = nvkm_memory_addr(memory);
memory            256 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 	(*pgpuobj)->size = nvkm_memory_size(memory);
memory             30 drivers/gpu/drm/nouveau/nvkm/core/memory.c nvkm_memory_tags_put(struct nvkm_memory *memory, struct nvkm_device *device,
memory             39 drivers/gpu/drm/nouveau/nvkm/core/memory.c 			kfree(memory->tags);
memory             40 drivers/gpu/drm/nouveau/nvkm/core/memory.c 			memory->tags = NULL;
memory             48 drivers/gpu/drm/nouveau/nvkm/core/memory.c nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device,
memory             56 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	if ((tags = memory->tags)) {
memory             94 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	*ptags = memory->tags = tags;
memory            101 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		 struct nvkm_memory *memory)
memory            103 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	memory->func = func;
memory            104 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	kref_init(&memory->kref);
memory            110 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	struct nvkm_memory *memory = container_of(kref, typeof(*memory), kref);
memory            111 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	if (!WARN_ON(!memory->func)) {
memory            112 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		if (memory->func->dtor)
memory            113 drivers/gpu/drm/nouveau/nvkm/core/memory.c 			memory = memory->func->dtor(memory);
memory            114 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		kfree(memory);
memory            121 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	struct nvkm_memory *memory = *pmemory;
memory            122 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	if (memory) {
memory            123 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		kref_put(&memory->kref, nvkm_memory_del);
memory            129 drivers/gpu/drm/nouveau/nvkm/core/memory.c nvkm_memory_ref(struct nvkm_memory *memory)
memory            131 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	if (memory)
memory            132 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		kref_get(&memory->kref);
memory            133 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	return memory;
memory            142 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	struct nvkm_memory *memory;
memory            148 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	ret = nvkm_instobj_new(imem, size, align, zero, &memory);
memory            152 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	*pmemory = memory;
memory            321 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	nvkm_memory_unref(&chan->memory);
memory             22 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h 	struct nvkm_memory *memory;
memory             50 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	chan->memory = nvkm_umem_search(client, push);
memory             51 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	if (IS_ERR(chan->memory))
memory             52 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 		return PTR_ERR(chan->memory);
memory             54 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	if (nvkm_memory_size(chan->memory) < 0x1000)
memory             57 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	switch (nvkm_memory_target(chan->memory)) {
memory             65 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	chan->push |= nvkm_memory_addr(chan->memory) >> 8;
memory            372 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	switch (nvkm_memory_target(disp->inst->memory)) {
memory             94 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c 	switch (nvkm_memory_target(disp->inst->memory)) {
memory             53 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv04.c 			device->mmu->vmm->pd->pt[0]->memory;
memory            331 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 		nvkm_vmm_part(chan->vmm, chan->inst->memory);
memory            397 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 		ret = nvkm_vmm_join(vmm, chan->inst->memory);
memory            239 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 			struct nvkm_memory *memory, u32 offset)
memory            241 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_wo32(memory, offset + 0, chan->base.chid);
memory            242 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_wo32(memory, offset + 4, 0x00000000);
memory             34 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c 			struct nvkm_memory *memory, u32 offset)
memory             36 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c 	nvkm_wo32(memory, offset + 0, (cgrp->chan_nr << 26) | (128 << 18) |
memory             38 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c 	nvkm_wo32(memory, offset + 4, 0x00000000);
memory             34 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c 			struct nvkm_memory *memory, u32 offset)
memory             36 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c 	nvkm_wo32(memory, offset + 0, chan->base.chid);
memory             37 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c 	nvkm_wo32(memory, offset + 4, chan->base.inst->addr >> 12);
memory             33 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 			struct nvkm_memory *memory, u32 offset)
memory             39 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 	nvkm_wo32(memory, offset + 0x0, lower_32_bits(user));
memory             40 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 	nvkm_wo32(memory, offset + 0x4, upper_32_bits(user));
memory             41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 	nvkm_wo32(memory, offset + 0x8, lower_32_bits(inst) | chan->base.chid);
memory             42 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 	nvkm_wo32(memory, offset + 0xc, upper_32_bits(inst));
memory             47 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 			struct nvkm_memory *memory, u32 offset)
memory             49 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 	nvkm_wo32(memory, offset + 0x0, (128 << 24) | (3 << 16) | 0x00000001);
memory             50 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 	nvkm_wo32(memory, offset + 0x4, cgrp->chan_nr);
memory             51 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 	nvkm_wo32(memory, offset + 0x8, cgrp->id);
memory             52 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c 	nvkm_wo32(memory, offset + 0xc, 0x00000000);
memory            147 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	ret = nvkm_vmm_join(bar->bar2_vmm, bar->mem->memory);
memory            183 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	ret = nvkm_vmm_join(bar->bar1_vmm, bar->mem->memory);
memory            209 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 		nvkm_vmm_part(bar->bar1_vmm, bar->mem->memory);
memory            212 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 		nvkm_vmm_part(bar->bar2_vmm, bar->mem->memory);
memory            106 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c 		info->memory   = nvbios_rd32(bios, perf + 0x05) * 20;
memory            122 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c 			info->memory = nvbios_rd16(bios, perf + 0x0b) * 1000;
memory            125 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c 			info->memory = nvbios_rd16(bios, perf + 0x0b) * 2000;
memory            134 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c 		info->memory   = nvbios_rd16(bios, perf + 0x0c) * 1000;
memory            144 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c 		info->memory   = nvbios_rd16(bios, perf + 0x0c) * 1000;
memory            432 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	cstate->domain[nv_clk_src_mem] = perfE.memory;
memory             24 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c #define nvkm_vram(p) container_of((p), struct nvkm_vram, memory)
memory             31 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	struct nvkm_memory memory;
memory             38 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_vram_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm,
memory             41 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	struct nvkm_vram *vram = nvkm_vram(memory);
memory             43 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 		.memory = &vram->memory,
memory             52 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_vram_size(struct nvkm_memory *memory)
memory             54 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	return (u64)nvkm_mm_size(nvkm_vram(memory)->mn) << NVKM_RAM_MM_SHIFT;
memory             58 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_vram_addr(struct nvkm_memory *memory)
memory             60 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	struct nvkm_vram *vram = nvkm_vram(memory);
memory             67 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_vram_page(struct nvkm_memory *memory)
memory             69 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	return nvkm_vram(memory)->page;
memory             73 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_vram_target(struct nvkm_memory *memory)
memory             79 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_vram_dtor(struct nvkm_memory *memory)
memory             81 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	struct nvkm_vram *vram = nvkm_vram(memory);
memory            124 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	nvkm_memory_ctor(&nvkm_vram, &vram->memory);
memory            127 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	*pmemory = &vram->memory;
memory             90 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_memory *memory;
memory            302 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 			   true, true, &ram->ltrain.memory);
memory            306 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	addr = nvkm_memory_addr(ram->ltrain.memory);
memory            340 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	nvkm_memory_unref(&ram->ltrain.memory);
memory            249 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	} while (perfE.memory < freq);
memory             34 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	struct nvkm_memory *memory = &iobj->memory;
memory             35 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	const u64 size = nvkm_memory_size(memory);
memory             39 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	if (!(map = nvkm_kmap(memory))) {
memory             41 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 			nvkm_wo32(memory, i, iobj->suspend[i / 4]);
memory             45 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	nvkm_done(memory);
memory             54 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	struct nvkm_memory *memory = &iobj->memory;
memory             55 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	const u64 size = nvkm_memory_size(memory);
memory             63 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	if (!(map = nvkm_kmap(memory))) {
memory             65 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 			iobj->suspend[i / 4] = nvkm_ro32(memory, i);
memory             69 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	nvkm_done(memory);
memory             85 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	nvkm_memory_ctor(func, &iobj->memory);
memory             97 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	struct nvkm_memory *memory = NULL;
memory            101 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	ret = imem->func->memory_new(imem, size, align, zero, &memory);
memory            108 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 		   zero, nvkm_memory_addr(memory), nvkm_memory_size(memory));
memory            111 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 		void __iomem *map = nvkm_kmap(memory);
memory            114 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 				nvkm_wo32(memory, offset, 0x00000000);
memory            118 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 		nvkm_done(memory);
memory            123 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 		nvkm_memory_unref(&memory);
memory            124 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	*pmemory = memory;
memory             52 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct nvkm_memory memory;
memory             59 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c #define gk20a_instobj(p) container_of((p), struct gk20a_instobj, memory)
memory            116 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_target(struct nvkm_memory *memory)
memory            122 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_page(struct nvkm_memory *memory)
memory            128 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_addr(struct nvkm_memory *memory)
memory            130 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	return (u64)gk20a_instobj(memory)->mn->offset << 12;
memory            134 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_size(struct nvkm_memory *memory)
memory            136 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	return (u64)gk20a_instobj(memory)->mn->length << 12;
memory            151 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	imem->vaddr_use -= nvkm_memory_size(&obj->base.memory);
memory            174 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_acquire_dma(struct nvkm_memory *memory)
memory            176 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj *node = gk20a_instobj(memory);
memory            186 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_acquire_iommu(struct nvkm_memory *memory)
memory            188 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj_iommu *node = gk20a_instobj_iommu(memory);
memory            191 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	const u64 size = nvkm_memory_size(memory);
memory            229 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_release_dma(struct nvkm_memory *memory)
memory            231 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj *node = gk20a_instobj(memory);
memory            241 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_release_iommu(struct nvkm_memory *memory)
memory            243 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj_iommu *node = gk20a_instobj_iommu(memory);
memory            265 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_rd32(struct nvkm_memory *memory, u64 offset)
memory            267 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj *node = gk20a_instobj(memory);
memory            273 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data)
memory            275 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj *node = gk20a_instobj(memory);
memory            281 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm,
memory            284 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj *node = gk20a_instobj(memory);
memory            286 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		.memory = &node->memory,
memory            295 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_dtor_dma(struct nvkm_memory *memory)
memory            297 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj_dma *node = gk20a_instobj_dma(memory);
memory            312 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instobj_dtor_iommu(struct nvkm_memory *memory)
memory            314 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct gk20a_instobj_iommu *node = gk20a_instobj_iommu(memory);
memory            394 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	nvkm_memory_ctor(&gk20a_instobj_func_dma, &node->base.memory);
memory            395 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	node->base.memory.ptrs = &gk20a_instobj_ptrs;
memory            441 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	nvkm_memory_ctor(&gk20a_instobj_func_iommu, &node->base.memory);
memory            442 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	node->base.memory.ptrs = &gk20a_instobj_ptrs;
memory            535 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	*pmemory = node ? &node->memory : NULL;
memory             37 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c #define nv04_instobj(p) container_of((p), struct nv04_instobj, base.memory)
memory             46 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data)
memory             48 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	struct nv04_instobj *iobj = nv04_instobj(memory);
memory             54 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_rd32(struct nvkm_memory *memory, u64 offset)
memory             56 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	struct nv04_instobj *iobj = nv04_instobj(memory);
memory             68 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_release(struct nvkm_memory *memory)
memory             73 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_acquire(struct nvkm_memory *memory)
memory             75 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	struct nv04_instobj *iobj = nv04_instobj(memory);
memory             81 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_size(struct nvkm_memory *memory)
memory             83 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	return nv04_instobj(memory)->node->length;
memory             87 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_addr(struct nvkm_memory *memory)
memory             89 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	return nv04_instobj(memory)->node->offset;
memory             93 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_target(struct nvkm_memory *memory)
memory             99 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instobj_dtor(struct nvkm_memory *memory)
memory            101 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	struct nv04_instobj *iobj = nv04_instobj(memory);
memory            129 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	*pmemory = &iobj->base.memory;
memory            132 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	iobj->base.memory.ptrs = &nv04_instobj_ptrs;
memory             39 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c #define nv40_instobj(p) container_of((p), struct nv40_instobj, base.memory)
memory             48 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data)
memory             50 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	struct nv40_instobj *iobj = nv40_instobj(memory);
memory             55 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_rd32(struct nvkm_memory *memory, u64 offset)
memory             57 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	struct nv40_instobj *iobj = nv40_instobj(memory);
memory             68 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_release(struct nvkm_memory *memory)
memory             74 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_acquire(struct nvkm_memory *memory)
memory             76 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	struct nv40_instobj *iobj = nv40_instobj(memory);
memory             81 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_size(struct nvkm_memory *memory)
memory             83 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	return nv40_instobj(memory)->node->length;
memory             87 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_addr(struct nvkm_memory *memory)
memory             89 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	return nv40_instobj(memory)->node->offset;
memory             93 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_target(struct nvkm_memory *memory)
memory             99 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instobj_dtor(struct nvkm_memory *memory)
memory            101 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	struct nv40_instobj *iobj = nv40_instobj(memory);
memory            129 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	*pmemory = &iobj->base.memory;
memory            132 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	iobj->base.memory.ptrs = &nv40_instobj_ptrs;
memory             43 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c #define nv50_instobj(p) container_of((p), struct nv50_instobj, base.memory)
memory             56 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_wr32_slow(struct nvkm_memory *memory, u64 offset, u32 data)
memory             58 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nv50_instobj *iobj = nv50_instobj(memory);
memory             75 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_rd32_slow(struct nvkm_memory *memory, u64 offset)
memory             77 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nv50_instobj *iobj = nv50_instobj(memory);
memory            102 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data)
memory            104 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	iowrite32_native(data, nv50_instobj(memory)->map + offset);
memory            108 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_rd32(struct nvkm_memory *memory, u64 offset)
memory            110 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	return ioread32_native(nv50_instobj(memory)->map + offset);
memory            124 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nvkm_memory *memory = &iobj->base.memory;
memory            128 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	u64 size = nvkm_memory_size(memory);
memory            145 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 				   nvkm_memory_addr(&eobj->base.memory),
memory            146 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 				   nvkm_memory_size(&eobj->base.memory),
memory            162 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		ret = nvkm_memory_map(memory, 0, vmm, bar, NULL, 0);
memory            183 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm,
memory            186 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	memory = nv50_instobj(memory)->ram;
memory            187 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	return nvkm_memory_map(memory, offset, vmm, vma, argv, argc);
memory            191 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_release(struct nvkm_memory *memory)
memory            193 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nv50_instobj *iobj = nv50_instobj(memory);
memory            210 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		iobj->base.memory.ptrs = NULL;
memory            216 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_acquire(struct nvkm_memory *memory)
memory            218 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nv50_instobj *iobj = nv50_instobj(memory);
memory            249 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 			iobj->base.memory.ptrs = &nv50_instobj_fast;
memory            251 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 			iobj->base.memory.ptrs = &nv50_instobj_slow;
memory            260 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_boot(struct nvkm_memory *memory, struct nvkm_vmm *vmm)
memory            262 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nv50_instobj *iobj = nv50_instobj(memory);
memory            280 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_size(struct nvkm_memory *memory)
memory            282 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	return nvkm_memory_size(nv50_instobj(memory)->ram);
memory            286 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_addr(struct nvkm_memory *memory)
memory            288 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	return nvkm_memory_addr(nv50_instobj(memory)->ram);
memory            292 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_bar2(struct nvkm_memory *memory)
memory            294 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nv50_instobj *iobj = nv50_instobj(memory);
memory            296 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	if (nv50_instobj_acquire(&iobj->base.memory)) {
memory            300 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	nv50_instobj_release(&iobj->base.memory);
memory            305 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_target(struct nvkm_memory *memory)
memory            307 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	return nvkm_memory_target(nv50_instobj(memory)->ram);
memory            311 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_dtor(struct nvkm_memory *memory)
memory            313 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nv50_instobj *iobj = nv50_instobj(memory);
memory            361 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	*pmemory = &iobj->base.memory;
memory             25 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h 	struct nvkm_memory memory;
memory             90 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 		slot = nvkm_memory_size(ptp->pt->memory) >> ptp->shift;
memory            106 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	pt->memory = pt->ptp->pt->memory;
memory            159 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 			nvkm_memory_unref(&pt->memory);
memory            193 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 			nvkm_fo64(pt->memory, 0, 0, size >> 3);
memory            208 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 			      size, align, zero, &pt->memory);
memory            215 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	pt->addr = nvkm_memory_addr(pt->memory);
memory            226 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 			nvkm_memory_unref(&pt->memory);
memory             22 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c #define nvkm_mem(p) container_of((p), struct nvkm_mem, memory)
memory             31 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	struct nvkm_memory memory;
memory             43 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c nvkm_mem_target(struct nvkm_memory *memory)
memory             45 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	return nvkm_mem(memory)->target;
memory             49 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c nvkm_mem_page(struct nvkm_memory *memory)
memory             55 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c nvkm_mem_addr(struct nvkm_memory *memory)
memory             57 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	struct nvkm_mem *mem = nvkm_mem(memory);
memory             64 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c nvkm_mem_size(struct nvkm_memory *memory)
memory             66 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	return nvkm_mem(memory)->pages << PAGE_SHIFT;
memory             70 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c nvkm_mem_map_dma(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm,
memory             73 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	struct nvkm_mem *mem = nvkm_mem(memory);
memory             75 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 		.memory = &mem->memory,
memory             83 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c nvkm_mem_dtor(struct nvkm_memory *memory)
memory             85 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	struct nvkm_mem *mem = nvkm_mem(memory);
memory            110 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c nvkm_mem_map_sgl(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm,
memory            113 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	struct nvkm_mem *mem = nvkm_mem(memory);
memory            115 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 		.memory = &mem->memory,
memory            133 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c nvkm_mem_map_host(struct nvkm_memory *memory, void **pmap)
memory            135 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	struct nvkm_mem *mem = nvkm_mem(memory);
memory            170 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	*pmemory = &mem->memory;
memory            174 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 			nvkm_memory_ctor(&nvkm_mem_dma, &mem->memory);
memory            177 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 			nvkm_memory_ctor(&nvkm_mem_sgl, &mem->memory);
memory            191 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	nvkm_memory_ctor(&nvkm_mem_dma, &mem->memory);
memory            227 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	struct nvkm_memory *memory = NULL;
memory            232 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 					  argv, argc, &memory);
memory            235 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 					argv, argc, &memory);
memory            239 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 		nvkm_memory_unref(&memory);
memory            240 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	*pmemory = memory;
memory             34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c gf100_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv,
memory             54 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c 	ret = nvkm_vmm_get(bar, nvkm_memory_page(memory),
memory             55 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c 				nvkm_memory_size(memory), pvma);
memory             59 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c 	ret = nvkm_memory_map(memory, 0, bar, *pvma, &uvmm, sizeof(uvmm));
memory             31 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c nv04_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv,
memory             38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c 	const u64 addr = nvkm_memory_addr(memory);
memory             45 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c 	*psize = nvkm_memory_size(memory);
memory             34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c nv50_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv,
memory             44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c 	u64 size = nvkm_memory_size(memory);
memory             62 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c 	return nvkm_memory_map(memory, 0, bar, *pvma, &uvmm, sizeof(uvmm));
memory             35 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv44.c 	struct nvkm_memory *pt = mmu->vmm->pd->pt[0]->memory;
memory             55 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h 	struct nvkm_memory *memory;
memory             38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	struct nvkm_memory *memory = NULL;
memory             48 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 					memory = nvkm_memory_ref(umem->memory);
memory             57 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 			memory = nvkm_memory_ref(umem->memory);
memory             60 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	return memory ? memory : ERR_PTR(-ENOENT);
memory             99 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 		int ret = nvkm_mem_map_host(umem->memory, &umem->map);
memory            104 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 		*length = nvkm_memory_size(umem->memory);
memory            110 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 		int ret = mmu->func->mem.umap(mmu, umem->memory, argv, argc,
memory            131 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	nvkm_memory_unref(&umem->memory);
memory            180 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 				&umem->memory);
memory            188 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	args->v0.page = nvkm_memory_page(umem->memory);
memory            189 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	args->v0.addr = nvkm_memory_addr(umem->memory);
memory            190 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	args->v0.size = nvkm_memory_size(umem->memory);
memory             15 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.h 	struct nvkm_memory *memory;
memory            139 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	if (ret = -EINVAL, !vma->memory) {
memory            161 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	struct nvkm_memory *memory;
memory            167 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 		handle = args->v0.memory;
memory            172 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	memory = nvkm_umem_search(client, handle);
memory            173 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	if (IS_ERR(memory)) {
memory            174 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 		VMM_DEBUG(vmm, "memory %016llx %ld\n", handle, PTR_ERR(memory));
memory            175 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 		return PTR_ERR(memory);
memory            190 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	if (ret = -EINVAL, vma->mapped && !vma->memory) {
memory            196 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 		if (addr + size > vma->addr + vma->size || vma->memory ||
memory            200 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 				  !!vma->memory, vma->refd, vma->mapref,
memory            214 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	ret = nvkm_memory_map(memory, offset, vmm, vma, argv, argc);
memory            217 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 		nvkm_memory_unref(&memory);
memory            226 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	nvkm_memory_unref(&memory);
memory            965 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	       vma->memory);
memory           1158 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (prev->memory || prev->mapped != map)
memory           1164 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		    next->memory || next->mapped != map)
memory           1185 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (!vma->mapped || vma->memory)
memory           1258 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (!vma->mapref || vma->memory) {
memory           1339 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	nvkm_memory_tags_put(vma->memory, vmm->mmu->subdev.device, &vma->tags);
memory           1340 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	nvkm_memory_unref(&vma->memory);
memory           1368 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (vma->memory) {
memory           1379 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	switch (nvkm_memory_target(map->memory)) {
memory           1401 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	    nvkm_memory_page(map->memory) < map->page->shift) {
memory           1404 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		    nvkm_memory_page(map->memory));
memory           1431 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (unlikely(nvkm_memory_size(map->memory) < map->offset + vma->size)) {
memory           1433 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			  nvkm_memory_size(map->memory),
memory           1501 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	nvkm_memory_tags_put(vma->memory, vmm->mmu->subdev.device, &vma->tags);
memory           1502 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	nvkm_memory_unref(&vma->memory);
memory           1503 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	vma->memory = nvkm_memory_ref(map->memory);
memory           1550 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			const bool mem = next->memory != NULL;
memory           1559 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			       (next->memory != NULL) == mem &&
memory           1810 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	nvkm_memory_boot(it->pt[0]->pt[type]->memory, it->vmm);
memory            289 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 	nvkm_kmap((PT)->memory);                                               \
memory            308 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 	nvkm_done((PT)->memory);                                               \
memory            324 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h #define VMM_FO(m,o,d,c,b) nvkm_fo##b((m)->memory, (o), (d), (c))
memory            325 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h #define VMM_WO(m,o,d,c,b) nvkm_wo##b((m)->memory, (o), (d))
memory            345 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 		nvkm_wo64((m)->memory, (m)->base + _pteo + 0, (lo));           \
memory            346 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 		nvkm_wo64((m)->memory, (m)->base + _pteo + 8, (hi));           \
memory            353 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 	nvkm_kmap((m)->memory);                                                \
memory            355 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 	nvkm_done((m)->memory);                                                \
memory             70 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 		nvkm_kmap(pt->memory);
memory             76 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 		nvkm_done(pt->memory);
memory            114 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 		switch (nvkm_memory_target(pt->memory)) {
memory            128 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 		switch (nvkm_memory_target(pt->memory)) {
memory            141 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	nvkm_kmap(pd->memory);
memory            143 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	nvkm_done(pd->memory);
memory            205 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 		switch (nvkm_memory_target(pd->memory)) {
memory            241 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	const enum nvkm_memory_target target = nvkm_memory_target(map->memory);
memory            249 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	struct nvkm_memory *memory = map->memory;
memory            285 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 		u32 tags = ALIGN(nvkm_memory_size(memory), 1 << 17) >> comp;
memory            291 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 		ret = nvkm_memory_tags_get(memory, device, tags,
memory            345 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	switch (nvkm_memory_target(pd->memory)) {
memory             40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_kmap(pt->memory);
memory             42 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 		u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0);
memory             43 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 		u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4);
memory             51 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_done(pt->memory);
memory             59 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_kmap(pt->memory);
memory             61 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 		u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0);
memory             62 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 		u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4);
memory             70 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_done(pt->memory);
memory             81 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_kmap(pt->memory);
memory            105 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_done(pt->memory);
memory            135 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 		nvkm_kmap(pt->memory);
memory            141 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 		nvkm_done(pt->memory);
memory            215 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	switch (nvkm_memory_target(pt->memory)) {
memory            241 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_kmap(pd->memory);
memory            243 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_done(pd->memory);
memory            279 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_kmap(pd->memory);
memory            281 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	nvkm_done(pd->memory);
memory            315 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	const enum nvkm_memory_target target = nvkm_memory_target(map->memory);
memory            322 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	struct nvkm_memory *memory = map->memory;
memory            357 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 		u64 tags = nvkm_memory_size(memory) >> 16;
memory            363 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 		ret = nvkm_memory_tags_get(memory, device, tags,
memory             50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c 	nvkm_kmap(pt->memory);
memory             53 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c 	nvkm_done(pt->memory);
memory            135 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c 	mem = vmm->pd->pt[0]->memory;
memory             49 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c 	nvkm_kmap(pt->memory);
memory             54 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c 	nvkm_done(pt->memory);
memory             33 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	tmp[0] = nvkm_ro32(pt->memory, pteo + 0x0);
memory             34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	tmp[1] = nvkm_ro32(pt->memory, pteo + 0x4);
memory             35 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	tmp[2] = nvkm_ro32(pt->memory, pteo + 0x8);
memory             36 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	tmp[3] = nvkm_ro32(pt->memory, pteo + 0xc);
memory            116 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	nvkm_kmap(pt->memory);
memory            140 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	nvkm_done(pt->memory);
memory            150 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	nvkm_kmap(pt->memory);
memory            168 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	nvkm_done(pt->memory);
memory             70 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 		nvkm_kmap(pt->memory);
memory             76 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 		nvkm_done(pt->memory);
memory            114 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 			switch (nvkm_memory_size(pt->memory)) {
memory            129 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 		switch (nvkm_memory_target(pt->memory)) {
memory            237 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 	struct nvkm_memory *memory = map->memory;
memory            261 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 	switch (nvkm_memory_target(memory)) {
memory            294 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 		u32 tags = (nvkm_memory_size(memory) >> 16) * comp;
memory            300 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 		ret = nvkm_memory_tags_get(memory, device, tags, NULL,
memory            601 drivers/gpu/drm/ttm/ttm_memory.c 				     uint64_t memory,
memory            608 drivers/gpu/drm/ttm/ttm_memory.c 					       memory, true)
memory            614 drivers/gpu/drm/ttm/ttm_memory.c 		ttm_shrink(glob, false, memory + (memory >> 2) + 16, ctx);
memory            620 drivers/gpu/drm/ttm/ttm_memory.c int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory,
memory            628 drivers/gpu/drm/ttm/ttm_memory.c 	return ttm_mem_global_alloc_zone(glob, glob->zone_kernel, memory, ctx);
memory           6880 drivers/md/raid5.c 	int raid_disk, memory, max_disks;
memory           7080 drivers/md/raid5.c 	memory = conf->min_nr_stripes * (sizeof(struct stripe_head) +
memory           7085 drivers/md/raid5.c 			mdname(mddev), memory);
memory           7088 drivers/md/raid5.c 		pr_debug("md/raid:%s: allocated %dkB\n", mdname(mddev), memory);
memory            334 drivers/media/common/videobuf2/videobuf2-core.c static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory,
memory            359 drivers/media/common/videobuf2/videobuf2-core.c 		vb->memory = memory;
memory            369 drivers/media/common/videobuf2/videobuf2-core.c 		if (memory == VB2_MEMORY_MMAP) {
memory            417 drivers/media/common/videobuf2/videobuf2-core.c 		if (q->memory == VB2_MEMORY_MMAP)
memory            419 drivers/media/common/videobuf2/videobuf2-core.c 		else if (q->memory == VB2_MEMORY_DMABUF)
memory            537 drivers/media/common/videobuf2/videobuf2-core.c 		q->memory = VB2_MEMORY_UNKNOWN;
memory            622 drivers/media/common/videobuf2/videobuf2-core.c 		enum vb2_memory memory, unsigned int type)
memory            624 drivers/media/common/videobuf2/videobuf2-core.c 	if (memory != VB2_MEMORY_MMAP && memory != VB2_MEMORY_USERPTR &&
memory            625 drivers/media/common/videobuf2/videobuf2-core.c 	    memory != VB2_MEMORY_DMABUF) {
memory            639 drivers/media/common/videobuf2/videobuf2-core.c 	if (memory == VB2_MEMORY_MMAP && __verify_mmap_ops(q)) {
memory            644 drivers/media/common/videobuf2/videobuf2-core.c 	if (memory == VB2_MEMORY_USERPTR && __verify_userptr_ops(q)) {
memory            649 drivers/media/common/videobuf2/videobuf2-core.c 	if (memory == VB2_MEMORY_DMABUF && __verify_dmabuf_ops(q)) {
memory            667 drivers/media/common/videobuf2/videobuf2-core.c int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory,
memory            686 drivers/media/common/videobuf2/videobuf2-core.c 	    (q->memory != VB2_MEMORY_UNKNOWN && q->memory != memory)) {
memory            692 drivers/media/common/videobuf2/videobuf2-core.c 		if (debug && q->memory == VB2_MEMORY_MMAP &&
memory            722 drivers/media/common/videobuf2/videobuf2-core.c 	q->memory = memory;
memory            743 drivers/media/common/videobuf2/videobuf2-core.c 		__vb2_queue_alloc(q, memory, num_buffers, num_planes, plane_sizes);
memory            806 drivers/media/common/videobuf2/videobuf2-core.c int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory,
memory            825 drivers/media/common/videobuf2/videobuf2-core.c 		q->memory = memory;
memory            827 drivers/media/common/videobuf2/videobuf2-core.c 	} else if (q->memory != memory) {
memory            849 drivers/media/common/videobuf2/videobuf2-core.c 	allocated_buffers = __vb2_queue_alloc(q, memory, num_buffers,
memory           1297 drivers/media/common/videobuf2/videobuf2-core.c 	switch (q->memory) {
memory           2084 drivers/media/common/videobuf2/videobuf2-core.c 	if (q->memory != VB2_MEMORY_MMAP) {
memory           2155 drivers/media/common/videobuf2/videobuf2-core.c 	if (q->memory != VB2_MEMORY_MMAP) {
memory           2241 drivers/media/common/videobuf2/videobuf2-core.c 	if (q->memory != VB2_MEMORY_MMAP) {
memory           2284 drivers/media/common/videobuf2/videobuf2-core.c 	q->memory = VB2_MEMORY_UNKNOWN;
memory           2437 drivers/media/common/videobuf2/videobuf2-core.c 	unsigned int memory;
memory           2498 drivers/media/common/videobuf2/videobuf2-core.c 	fileio->memory = VB2_MEMORY_MMAP;
memory           2501 drivers/media/common/videobuf2/videobuf2-core.c 	ret = vb2_core_reqbufs(q, fileio->memory, &fileio->count);
memory           2558 drivers/media/common/videobuf2/videobuf2-core.c 	vb2_core_reqbufs(q, fileio->memory, &fileio->count);
memory           2578 drivers/media/common/videobuf2/videobuf2-core.c 		vb2_core_reqbufs(q, fileio->memory, &fileio->count);
memory             99 drivers/media/common/videobuf2/videobuf2-v4l2.c 			length = (b->memory == VB2_MEMORY_USERPTR ||
memory            100 drivers/media/common/videobuf2/videobuf2-v4l2.c 				  b->memory == VB2_MEMORY_DMABUF)
memory            114 drivers/media/common/videobuf2/videobuf2-v4l2.c 		length = (b->memory == VB2_MEMORY_USERPTR)
memory            199 drivers/media/common/videobuf2/videobuf2-v4l2.c 		switch (b->memory) {
memory            274 drivers/media/common/videobuf2/videobuf2-v4l2.c 		switch (b->memory) {
memory            360 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (b->memory != q->memory) {
memory            474 drivers/media/common/videobuf2/videobuf2-v4l2.c 	b->memory = vb->memory;
memory            497 drivers/media/common/videobuf2/videobuf2-v4l2.c 			if (q->memory == VB2_MEMORY_MMAP)
memory            499 drivers/media/common/videobuf2/videobuf2-v4l2.c 			else if (q->memory == VB2_MEMORY_USERPTR)
memory            501 drivers/media/common/videobuf2/videobuf2-v4l2.c 			else if (q->memory == VB2_MEMORY_DMABUF)
memory            513 drivers/media/common/videobuf2/videobuf2-v4l2.c 		if (q->memory == VB2_MEMORY_MMAP)
memory            515 drivers/media/common/videobuf2/videobuf2-v4l2.c 		else if (q->memory == VB2_MEMORY_USERPTR)
memory            517 drivers/media/common/videobuf2/videobuf2-v4l2.c 		else if (q->memory == VB2_MEMORY_DMABUF)
memory            582 drivers/media/common/videobuf2/videobuf2-v4l2.c 		if (vb->vb2_queue->memory != VB2_MEMORY_MMAP) {
memory            665 drivers/media/common/videobuf2/videobuf2-v4l2.c 	int ret = vb2_verify_memory_type(q, req->memory, req->type);
memory            668 drivers/media/common/videobuf2/videobuf2-v4l2.c 	return ret ? ret : vb2_core_reqbufs(q, req->memory, &req->count);
memory            696 drivers/media/common/videobuf2/videobuf2-v4l2.c 	int ret = vb2_verify_memory_type(q, create->memory, f->type);
memory            742 drivers/media/common/videobuf2/videobuf2-v4l2.c 	return ret ? ret : vb2_core_create_bufs(q, create->memory,
memory            911 drivers/media/common/videobuf2/videobuf2-v4l2.c 	int res = vb2_verify_memory_type(vdev->queue, p->memory, p->type);
memory            918 drivers/media/common/videobuf2/videobuf2-v4l2.c 	res = vb2_core_reqbufs(vdev->queue, p->memory, &p->count);
memory            931 drivers/media/common/videobuf2/videobuf2-v4l2.c 	int res = vb2_verify_memory_type(vdev->queue, p->memory,
memory           2938 drivers/media/pci/bt8xx/bttv-driver.c 			fh->cap.read_buf->memory = V4L2_MEMORY_USERPTR;
memory           1215 drivers/media/pci/meye/meye.c 	if (req->memory != V4L2_MEMORY_MMAP)
memory           1271 drivers/media/pci/meye/meye.c 	buf->memory = V4L2_MEMORY_MMAP;
memory           1280 drivers/media/pci/meye/meye.c 	if (buf->memory != V4L2_MEMORY_MMAP)
memory           1304 drivers/media/pci/meye/meye.c 	if (buf->memory != V4L2_MEMORY_MMAP)
memory           1337 drivers/media/pci/meye/meye.c 	buf->memory = V4L2_MEMORY_MMAP;
memory           1164 drivers/media/platform/davinci/vpfe_capture.c 	if (vpfe_dev->memory == V4L2_MEMORY_MMAP &&
memory           1281 drivers/media/platform/davinci/vpfe_capture.c 	vpfe_dev->memory = req_buf->memory;
memory           1312 drivers/media/platform/davinci/vpfe_capture.c 	if (vpfe_dev->memory != V4L2_MEMORY_MMAP) {
memory            242 drivers/media/platform/exynos4-is/fimc-is.c 	buf = is->memory.vaddr + is->setfile.base;
memory            247 drivers/media/platform/exynos4-is/fimc-is.c 	pr_debug("mem vaddr: %p, setfile buf: %p\n", is->memory.vaddr, buf);
memory            272 drivers/media/platform/exynos4-is/fimc-is.c 		mcuctl_write(is->memory.paddr, is, MCUCTL_REG_BBOAR);
memory            318 drivers/media/platform/exynos4-is/fimc-is.c 	memcpy(is->memory.vaddr, is->fw.f_w->data, is->fw.f_w->size);
memory            338 drivers/media/platform/exynos4-is/fimc-is.c 	is->memory.vaddr = dma_alloc_coherent(dev, FIMC_IS_CPU_MEM_SIZE,
memory            339 drivers/media/platform/exynos4-is/fimc-is.c 					      &is->memory.paddr, GFP_KERNEL);
memory            340 drivers/media/platform/exynos4-is/fimc-is.c 	if (is->memory.vaddr == NULL)
memory            343 drivers/media/platform/exynos4-is/fimc-is.c 	is->memory.size = FIMC_IS_CPU_MEM_SIZE;
memory            345 drivers/media/platform/exynos4-is/fimc-is.c 	dev_info(dev, "FIMC-IS CPU memory base: %#x\n", (u32)is->memory.paddr);
memory            347 drivers/media/platform/exynos4-is/fimc-is.c 	if (((u32)is->memory.paddr) & FIMC_IS_FW_ADDR_MASK) {
memory            349 drivers/media/platform/exynos4-is/fimc-is.c 			(u32)is->memory.paddr);
memory            350 drivers/media/platform/exynos4-is/fimc-is.c 		dma_free_coherent(dev, is->memory.size, is->memory.vaddr,
memory            351 drivers/media/platform/exynos4-is/fimc-is.c 				  is->memory.paddr);
memory            355 drivers/media/platform/exynos4-is/fimc-is.c 	is->is_p_region = (struct is_region *)(is->memory.vaddr +
memory            358 drivers/media/platform/exynos4-is/fimc-is.c 	is->is_dma_p_region = is->memory.paddr +
memory            361 drivers/media/platform/exynos4-is/fimc-is.c 	is->is_shared_region = (struct is_share_region *)(is->memory.vaddr +
memory            370 drivers/media/platform/exynos4-is/fimc-is.c 	if (is->memory.vaddr == NULL)
memory            373 drivers/media/platform/exynos4-is/fimc-is.c 	dma_free_coherent(dev, is->memory.size, is->memory.vaddr,
memory            374 drivers/media/platform/exynos4-is/fimc-is.c 			  is->memory.paddr);
memory            403 drivers/media/platform/exynos4-is/fimc-is.c 	memcpy(is->memory.vaddr, fw->data, fw->size);
memory            407 drivers/media/platform/exynos4-is/fimc-is.c 	buf = (void *)(is->memory.vaddr + fw->size - FIMC_IS_FW_DESC_LEN);
memory            411 drivers/media/platform/exynos4-is/fimc-is.c 	buf = (void *)(is->memory.vaddr + fw->size - FIMC_IS_FW_VER_LEN);
memory            419 drivers/media/platform/exynos4-is/fimc-is.c 	dev_dbg(dev, "FW size: %zu, paddr: %pad\n", fw->size, &is->memory.paddr);
memory            702 drivers/media/platform/exynos4-is/fimc-is.c 		 &is->memory.paddr + FIMC_IS_SHARED_REGION_OFFSET,
memory            740 drivers/media/platform/exynos4-is/fimc-is.c 	const u8 *buf = is->memory.vaddr + FIMC_IS_DEBUG_REGION_OFFSET;
memory            742 drivers/media/platform/exynos4-is/fimc-is.c 	if (is->memory.vaddr == NULL) {
memory            251 drivers/media/platform/exynos4-is/fimc-is.h 	struct fimc_is_memory		memory;
memory             42 drivers/media/platform/omap/omap_vout_vrfb.c 			if (vout->vq.memory == V4L2_MEMORY_MMAP && i >= startindex)
memory            553 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	if (reqbufs->memory != V4L2_MEMORY_MMAP) {
memory            576 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	if (buf->memory != V4L2_MEMORY_MMAP) {
memory           1481 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	if ((reqbufs->memory != V4L2_MEMORY_MMAP) &&
memory           1482 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 		(reqbufs->memory != V4L2_MEMORY_USERPTR))
memory           1560 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	if ((buf->memory != V4L2_MEMORY_MMAP) &&
memory           1561 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 		(buf->memory != V4L2_MEMORY_USERPTR))
memory            756 drivers/media/usb/cpia2/cpia2_v4l.c 	   req->memory != V4L2_MEMORY_MMAP)
memory            785 drivers/media/usb/cpia2/cpia2_v4l.c 	buf->memory = V4L2_MEMORY_MMAP;
memory            829 drivers/media/usb/cpia2/cpia2_v4l.c 	   buf->memory != V4L2_MEMORY_MMAP ||
memory            881 drivers/media/usb/cpia2/cpia2_v4l.c 	   buf->memory != V4L2_MEMORY_MMAP)
memory            207 drivers/media/usb/gspca/gspca.h 	char memory;			/* memory type (V4L2_MEMORY_xxx) */
memory            531 drivers/media/usb/stkwebcam/stk-webcam.c 	buf->v4lbuf.memory = V4L2_MEMORY_MMAP;
memory           1038 drivers/media/usb/stkwebcam/stk-webcam.c 	if (rb->memory != V4L2_MEMORY_MMAP)
memory           1084 drivers/media/usb/stkwebcam/stk-webcam.c 	if (buf->memory != V4L2_MEMORY_MMAP)
memory            653 drivers/media/usb/usbvision/usbvision-video.c 	if (vr->memory != V4L2_MEMORY_MMAP)
memory            690 drivers/media/usb/usbvision/usbvision-video.c 	vb->memory = V4L2_MEMORY_MMAP;
memory            694 drivers/media/usb/usbvision/usbvision-video.c 	vb->memory = V4L2_MEMORY_MMAP;
memory            761 drivers/media/usb/usbvision/usbvision-video.c 	vb->memory = V4L2_MEMORY_MMAP;
memory            254 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	__u32			memory;	/* enum v4l2_memory */
memory            482 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	__u32			memory;	/* enum v4l2_memory */
memory            496 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 			    enum v4l2_memory memory)
memory            505 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	switch (memory) {
memory            528 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 			    enum v4l2_memory memory)
memory            537 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	switch (memory) {
memory            591 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	enum v4l2_memory memory;
memory            602 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    get_user(memory, &p32->memory) ||
memory            603 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    put_user(memory, &p64->memory) ||
memory            652 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 			ret = get_v4l2_plane32(uplane, uplane32, memory);
memory            659 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		switch (memory) {
memory            689 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	enum v4l2_memory memory;
memory            700 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    get_user(memory, &p64->memory) ||
memory            701 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    put_user(memory, &p32->memory))
memory            737 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 					       uplane32, memory);
memory            744 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		switch (memory) {
memory            467 drivers/media/v4l2-core/v4l2-ioctl.c 		prt_names(p->memory, v4l2_memory_names));
memory            485 drivers/media/v4l2-core/v4l2-ioctl.c 			p->sequence, prt_names(p->memory, v4l2_memory_names));
memory            521 drivers/media/v4l2-core/v4l2-ioctl.c 			prt_names(p->memory, v4l2_memory_names));
memory            474 drivers/media/v4l2-core/v4l2-mem2mem.c 	if (buf->memory == V4L2_MEMORY_MMAP && !V4L2_TYPE_IS_OUTPUT(vq->type)) {
memory            326 drivers/media/v4l2-core/videobuf-core.c 	b->memory   = vb->memory;
memory            327 drivers/media/v4l2-core/videobuf-core.c 	switch (b->memory) {
memory            385 drivers/media/v4l2-core/videobuf-core.c 			enum v4l2_memory memory)
memory            404 drivers/media/v4l2-core/videobuf-core.c 		q->bufs[i]->memory = memory;
memory            406 drivers/media/v4l2-core/videobuf-core.c 		switch (memory) {
memory            429 drivers/media/v4l2-core/videobuf-core.c 			enum v4l2_memory memory)
memory            433 drivers/media/v4l2-core/videobuf-core.c 	ret = __videobuf_mmap_setup(q, bcount, bsize, memory);
memory            445 drivers/media/v4l2-core/videobuf-core.c 	if (req->memory != V4L2_MEMORY_MMAP     &&
memory            446 drivers/media/v4l2-core/videobuf-core.c 	    req->memory != V4L2_MEMORY_USERPTR  &&
memory            447 drivers/media/v4l2-core/videobuf-core.c 	    req->memory != V4L2_MEMORY_OVERLAY) {
memory            485 drivers/media/v4l2-core/videobuf-core.c 	retval = __videobuf_mmap_setup(q, count, size, req->memory);
memory            536 drivers/media/v4l2-core/videobuf-core.c 	if (b->memory == V4L2_MEMORY_MMAP)
memory            560 drivers/media/v4l2-core/videobuf-core.c 	if (buf->memory != b->memory) {
memory            569 drivers/media/v4l2-core/videobuf-core.c 	switch (b->memory) {
memory            623 drivers/media/v4l2-core/videobuf-core.c 	if (b->memory == V4L2_MEMORY_MMAP)
memory            800 drivers/media/v4l2-core/videobuf-core.c 	q->read_buf->memory = V4L2_MEMORY_USERPTR;
memory            906 drivers/media/v4l2-core/videobuf-core.c 		q->read_buf->memory = V4L2_MEMORY_USERPTR;
memory           1187 drivers/media/v4l2-core/videobuf-core.c 		if (buf && buf->memory == V4L2_MEMORY_MMAP &&
memory            243 drivers/media/v4l2-core/videobuf-dma-contig.c 	switch (vb->memory) {
memory            384 drivers/media/v4l2-core/videobuf-dma-contig.c 	if (buf->memory != V4L2_MEMORY_USERPTR)
memory            518 drivers/media/v4l2-core/videobuf-dma-sg.c 	switch (vb->memory) {
memory            529 drivers/media/v4l2-core/videobuf-dma-sg.c 		} else if (vb->memory == V4L2_MEMORY_USERPTR) {
memory            165 drivers/media/v4l2-core/videobuf-vmalloc.c 	switch (vb->memory) {
memory            312 drivers/media/v4l2-core/videobuf-vmalloc.c 	if ((buf->memory != V4L2_MEMORY_USERPTR) || buf->baddr)
memory           3272 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	static const char * const memory[] = { "EDC0:", "EDC1:", "MC:",
memory           3284 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		mem_region_show(seq, memory[meminfo.avail[i].idx],
memory           6009 drivers/net/ethernet/sfc/ef10.c 	tests->memory = efx_ef10_run_bist(efx, MC_CMD_MC_MEM_BIST) ? -1 : 1;
memory            341 drivers/net/ethernet/sfc/ethtool.c 	efx_fill_test(n++, strings, data, &tests->memory,
memory            323 drivers/net/ethernet/sfc/falcon/ethtool.c 	ef4_fill_test(n++, strings, data, &tests->memory,
memory            740 drivers/net/ethernet/sfc/falcon/selftest.c 		if ((tests->memory < 0 || tests->registers < 0) && !rc_test)
memory             38 drivers/net/ethernet/sfc/falcon/selftest.h 	int memory;
memory            740 drivers/net/ethernet/sfc/selftest.c 		if ((tests->memory < 0 || tests->registers < 0) && !rc_test)
memory             38 drivers/net/ethernet/sfc/selftest.h 	int memory;
memory            847 drivers/net/ethernet/smsc/smc9194.c 	int i, memory, retval;
memory            936 drivers/net/ethernet/smsc/smc9194.c 	memory = ( memory_cfg_register >> 9 )  & 0x7;  /* multiplier */
memory            937 drivers/net/ethernet/smsc/smc9194.c 	memory *= 256 * ( memory_info_register & 0xFF );
memory           1005 drivers/net/ethernet/smsc/smc9194.c 		    if_string, memory);
memory           3948 drivers/net/wireless/intel/ipw2x00/ipw2100.c static DEVICE_ATTR(memory, 0644, show_memory, store_memory);
memory             44 drivers/of/fdt.c 	int memory;
memory             70 drivers/of/fdt.c 	memory = fdt_path_offset(initial_boot_params, "/memory");
memory             71 drivers/of/fdt.c 	if (memory > 0) {
memory             72 drivers/of/fdt.c 		val = fdt_getprop(initial_boot_params, memory, "reg", &len);
memory             76 drivers/of/fdt.c 			fdt_setprop(initial_boot_params, memory, "reg", val,
memory            146 drivers/s390/char/zcore.c 				       memblock.memory.cnt * CHUNK_INFO_SIZE);
memory            155 drivers/s390/char/zcore.c 	buf = kcalloc(memblock.memory.cnt, CHUNK_INFO_SIZE, GFP_KERNEL);
memory            159 drivers/s390/char/zcore.c 	for_each_memblock(memory, reg) {
memory            277 drivers/scsi/53c700.c 	__u8 *memory;
memory            286 drivers/scsi/53c700.c 	memory = dma_alloc_attrs(dev, TOTAL_MEM_SIZE, &pScript,
memory            288 drivers/scsi/53c700.c 	if(memory == NULL) {
memory            293 drivers/scsi/53c700.c 	script = (__u32 *)memory;
memory            294 drivers/scsi/53c700.c 	hostdata->msgin = memory + MSGIN_OFFSET;
memory            295 drivers/scsi/53c700.c 	hostdata->msgout = memory + MSGOUT_OFFSET;
memory            296 drivers/scsi/53c700.c 	hostdata->status = memory + STATUS_OFFSET;
memory            297 drivers/scsi/53c700.c 	hostdata->slots = (struct NCR_700_command_slot *)(memory + SLOTS_OFFSET);
memory            344 drivers/soc/fsl/qbman/qman_ccsr.c static int qm_set_memory(enum qm_memory memory, u64 ba, u32 size)
memory            347 drivers/soc/fsl/qbman/qman_ccsr.c 	u32 offset = (memory == qm_memory_fqd) ? REG_FQD_BARE : REG_PFDR_BARE;
memory             49 drivers/staging/octeon/ethernet-mem.c 	char *memory;
memory             52 drivers/staging/octeon/ethernet-mem.c 		memory = cvmx_fpa_alloc(pool);
memory             53 drivers/staging/octeon/ethernet-mem.c 		if (memory) {
memory             55 drivers/staging/octeon/ethernet-mem.c 			    *(struct sk_buff **)(memory - sizeof(void *));
memory             59 drivers/staging/octeon/ethernet-mem.c 	} while (memory);
memory             79 drivers/staging/octeon/ethernet-mem.c 	char *memory;
memory             94 drivers/staging/octeon/ethernet-mem.c 		memory = kmalloc(size + 256, GFP_ATOMIC);
memory             95 drivers/staging/octeon/ethernet-mem.c 		if (unlikely(!memory)) {
memory            100 drivers/staging/octeon/ethernet-mem.c 		fpa = (char *)(((unsigned long)memory + 256) & ~0x7fUL);
memory            101 drivers/staging/octeon/ethernet-mem.c 		*((char **)fpa - 1) = memory;
memory            116 drivers/staging/octeon/ethernet-mem.c 	char *memory;
memory            124 drivers/staging/octeon/ethernet-mem.c 			memory = *((char **)fpa - 1);
memory            125 drivers/staging/octeon/ethernet-mem.c 			kfree(memory);
memory           2020 drivers/usb/gadget/udc/pxa25x_udc.c static struct pxa25x_udc memory = {
memory           2023 drivers/usb/gadget/udc/pxa25x_udc.c 		.ep0		= &memory.ep[0].ep,
memory           2040 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2054 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2069 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2086 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2101 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2116 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2133 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2148 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2164 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2179 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2194 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2211 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2226 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2242 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2257 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2272 drivers/usb/gadget/udc/pxa25x_udc.c 		.dev		= &memory,
memory           2321 drivers/usb/gadget/udc/pxa25x_udc.c 	struct pxa25x_udc *dev = &memory;
memory           2295 drivers/usb/gadget/udc/pxa27x_udc.c static struct pxa_udc memory = {
memory           2298 drivers/usb/gadget/udc/pxa27x_udc.c 		.ep0		= &memory.udc_usb_ep[0].usb_ep,
memory           2360 drivers/usb/gadget/udc/pxa27x_udc.c 	struct pxa_udc *udc = &memory;
memory            239 drivers/usb/gadget/udc/pxa27x_udc.h   .dev = &memory \
memory            265 drivers/usb/gadget/udc/pxa27x_udc.h 	.dev = &memory, \
memory           1661 drivers/usb/gadget/udc/s3c2410_udc.c static struct s3c2410_udc memory = {
memory           1664 drivers/usb/gadget/udc/s3c2410_udc.c 		.ep0		= &memory.ep[0].ep,
memory           1681 drivers/usb/gadget/udc/s3c2410_udc.c 		.dev		= &memory,
memory           1694 drivers/usb/gadget/udc/s3c2410_udc.c 		.dev		= &memory,
memory           1708 drivers/usb/gadget/udc/s3c2410_udc.c 		.dev		= &memory,
memory           1722 drivers/usb/gadget/udc/s3c2410_udc.c 		.dev		= &memory,
memory           1736 drivers/usb/gadget/udc/s3c2410_udc.c 		.dev		= &memory,
memory           1749 drivers/usb/gadget/udc/s3c2410_udc.c 	struct s3c2410_udc *udc = &memory;
memory           1778 drivers/usb/gadget/udc/s3c2410_udc.c 		memory.ep[1].fifo_size = S3C2440_EP_FIFO_SIZE;
memory           1779 drivers/usb/gadget/udc/s3c2410_udc.c 		memory.ep[2].fifo_size = S3C2440_EP_FIFO_SIZE;
memory           1780 drivers/usb/gadget/udc/s3c2410_udc.c 		memory.ep[3].fifo_size = S3C2440_EP_FIFO_SIZE;
memory           1781 drivers/usb/gadget/udc/s3c2410_udc.c 		memory.ep[4].fifo_size = S3C2440_EP_FIFO_SIZE;
memory            765 drivers/video/fbdev/amba-clcd.c 	struct device_node *memory;
memory            772 drivers/video/fbdev/amba-clcd.c 	memory = of_parse_phandle(fb->dev->dev.of_node, "memory-region", 0);
memory            773 drivers/video/fbdev/amba-clcd.c 	if (!memory)
memory            776 drivers/video/fbdev/amba-clcd.c 	fb->fb.screen_base = of_iomap(memory, 0);
memory            780 drivers/video/fbdev/amba-clcd.c 	fb->fb.fix.smem_start = of_translate_address(memory,
memory            781 drivers/video/fbdev/amba-clcd.c 			of_get_address(memory, 0, &size, NULL));
memory            769 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 	if (minfo->values.memory.ddr && (!minfo->values.memory.emrswen || !minfo->values.memory.dll)) {
memory            492 drivers/video/fbdev/matrox/matroxfb_base.h 				      } memory;
memory            669 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.memory.ddr	= (bd->pins[114] & 0x60) == 0x20;
memory            670 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.memory.dll	= (bd->pins[115] & 0x02) != 0;
memory            671 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.memory.emrswen	= (bd->pins[115] & 0x01) != 0;
memory            672 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.reg.maccess	= minfo->values.memory.emrswen ? 0x00004000 : 0x00000000;
memory            703 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.memory.ddr	= 1;
memory            704 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.memory.dll	= 1;
memory            705 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.memory.emrswen	= 1;
memory           1750 drivers/video/fbdev/sis/sis_main.c 		ivideo->sisfb_infoblock.memory = ivideo->video_size / 1024;
memory             41 drivers/w1/slaves/w1_ds2433.c 	u8	memory[W1_EEPROM_SIZE];
memory             79 drivers/w1/slaves/w1_ds2433.c 	w1_read_block(sl->master, &data->memory[off], W1_PAGE_SIZE);
memory             82 drivers/w1/slaves/w1_ds2433.c 	if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID)
memory            116 drivers/w1/slaves/w1_ds2433.c 	memcpy(buf, &data->memory[off], count);
memory             52 drivers/w1/slaves/w1_ds28e04.c 	u8	memory[W1_EEPROM_SIZE];
memory             89 drivers/w1/slaves/w1_ds28e04.c 	w1_read_block(sl->master, &data->memory[off], W1_PAGE_SIZE);
memory             92 drivers/w1/slaves/w1_ds28e04.c 	if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID)
memory            137 drivers/w1/slaves/w1_ds28e04.c 		memcpy(buf, &data->memory[off], count);
memory            179 include/acpi/acpiosxf.h void acpi_os_free(void *memory);
memory           1147 include/acpi/actbl2.h #define ACPI_NFIT_BUILD_DEVICE_HANDLE(dimm, channel, memory, socket, node) \
memory           1150 include/acpi/actbl2.h 	((memory)  << ACPI_NFIT_MEMORY_ID_OFFSET)       | \
memory             60 include/acpi/platform/aclinuxex.h static inline void acpi_os_free(void *memory)
memory             62 include/acpi/platform/aclinuxex.h 	kfree(memory);
memory             18 include/drm/drm_agpsupport.h 	struct list_head memory;
memory             85 include/drm/ttm/ttm_memory.h extern int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory,
memory             94 include/linux/bpf.h 	struct bpf_map_memory memory;
memory             29 include/linux/cgroup_subsys.h SUBSYS(memory)
memory             85 include/linux/memblock.h 	struct memblock_type memory;
memory            294 include/linux/memblock.h 	for_each_mem_range(i, &memblock.memory, &memblock.reserved,	\
memory            311 include/linux/memblock.h 	for_each_mem_range_rev(i, &memblock.memory, &memblock.reserved,	\
memory            215 include/linux/memcontrol.h 	struct page_counter memory;
memory            366 include/linux/memcontrol.h 		return READ_ONCE(memcg->memory.emin);
memory            368 include/linux/memcontrol.h 	return max(READ_ONCE(memcg->memory.emin),
memory            369 include/linux/memcontrol.h 		   READ_ONCE(memcg->memory.elow));
memory            492 include/linux/memcontrol.h 	if (!memcg->memory.parent)
memory            494 include/linux/memcontrol.h 	return mem_cgroup_from_counter(memcg->memory.parent, memory);
memory            132 include/media/davinci/vpfe_capture.h 	enum v4l2_memory memory;
memory             83 include/media/videobuf-core.h 	enum v4l2_memory        memory;
memory            225 include/media/videobuf-core.h 			enum v4l2_memory memory);
memory            228 include/media/videobuf-core.h 			enum v4l2_memory memory);
memory            249 include/media/videobuf2-core.h 	unsigned int		memory;
memory            583 include/media/videobuf2-core.h 	unsigned int			memory;
memory            739 include/media/videobuf2-core.h int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory,
memory            762 include/media/videobuf2-core.h int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory,
memory           1209 include/media/videobuf2-core.h 		enum vb2_memory memory, unsigned int type);
memory            293 include/sound/gus.h 	unsigned int memory;		/* GUS's DRAM size in bytes */
memory            912 include/uapi/linux/videodev2.h 	__u32			memory;		/* enum v4l2_memory */
memory            998 include/uapi/linux/videodev2.h 	__u32			memory;
memory           2402 include/uapi/linux/videodev2.h 	__u32			memory;
memory             84 include/uapi/video/sisfb.h 	__u32   memory;			/* total video memory in KB */
memory            130 kernel/bpf/arraymap.c 	bpf_map_charge_move(&array->map.memory, &mem);
memory            134 kernel/bpf/arraymap.c 		bpf_map_charge_finish(&array->map.memory);
memory            112 kernel/bpf/cpumap.c 	ret = bpf_map_charge_init(&cmap->map.memory, cost);
memory            136 kernel/bpf/cpumap.c 	bpf_map_charge_finish(&cmap->map.memory);
memory            142 kernel/bpf/devmap.c 	err = bpf_map_charge_init(&dtab->map.memory, cost);
memory            172 kernel/bpf/devmap.c 	bpf_map_charge_finish(&dtab->map.memory);
memory            356 kernel/bpf/hashtab.c 	err = bpf_map_charge_init(&htab->map.memory, cost);
memory            399 kernel/bpf/hashtab.c 	bpf_map_charge_finish(&htab->map.memory);
memory            306 kernel/bpf/local_storage.c 	bpf_map_charge_move(&map->map.memory, &mem);
memory            574 kernel/bpf/lpm_trie.c 	ret = bpf_map_charge_init(&trie->map.memory, cost);
memory             91 kernel/bpf/queue_stack_maps.c 	bpf_map_charge_move(&qs->map.memory, &mem);
memory            176 kernel/bpf/reuseport_array.c 	bpf_map_charge_move(&array->map.memory, &mem);
memory            140 kernel/bpf/stackmap.c 	bpf_map_charge_move(&smap->map.memory, &mem);
memory            244 kernel/bpf/syscall.c 	ret = bpf_charge_memlock(map->memory.user, pages);
memory            247 kernel/bpf/syscall.c 	map->memory.pages += pages;
memory            253 kernel/bpf/syscall.c 	bpf_uncharge_memlock(map->memory.user, pages);
memory            254 kernel/bpf/syscall.c 	map->memory.pages -= pages;
memory            307 kernel/bpf/syscall.c 	bpf_map_charge_move(&mem, &map->memory);
memory            399 kernel/bpf/syscall.c 		   map->memory.pages * 1ULL << PAGE_SHIFT,
memory            637 kernel/bpf/syscall.c 	bpf_map_charge_move(&mem, &map->memory);
memory            106 kernel/bpf/xskmap.c 	err = bpf_map_charge_init(&m->map.memory, cost);
memory            129 kernel/bpf/xskmap.c 	bpf_map_charge_finish(&m->map.memory);
memory             82 kernel/dma/contiguous.c 	for_each_memblock(memory, reg)
memory            115 mm/memblock.c  	.memory.regions		= memblock_memory_init_regions,
memory            116 mm/memblock.c  	.memory.cnt		= 1,	/* empty dummy entry */
memory            117 mm/memblock.c  	.memory.max		= INIT_MEMBLOCK_REGIONS,
memory            118 mm/memblock.c  	.memory.name		= "memory",
memory            389 mm/memblock.c  	if (memblock.memory.regions != memblock_memory_init_regions) {
memory            390 mm/memblock.c  		addr = __pa(memblock.memory.regions);
memory            392 mm/memblock.c  				  memblock.memory.max);
memory            440 mm/memblock.c  	if (type == &memblock.memory)
memory            683 mm/memblock.c  	return memblock_add_range(&memblock.memory, base, size, nid, 0);
memory            704 mm/memblock.c  	return memblock_add_range(&memblock.memory, base, size, MAX_NUMNODES, 0);
memory            805 mm/memblock.c  	return memblock_remove_range(&memblock.memory, base, size);
memory            851 mm/memblock.c  	struct memblock_type *type = &memblock.memory;
memory           1200 mm/memblock.c  	struct memblock_type *type = &memblock.memory;
memory           1279 mm/memblock.c  			 &memblock.memory, &memblock.reserved,
memory           1306 mm/memblock.c  				 &memblock.memory, &memblock.reserved,
memory           1589 mm/memblock.c  	return memblock.memory.total_size;
memory           1603 mm/memblock.c  	for_each_memblock(memory, r) {
memory           1617 mm/memblock.c  	return memblock.memory.regions[0].base;
memory           1622 mm/memblock.c  	int idx = memblock.memory.cnt - 1;
memory           1624 mm/memblock.c  	return (memblock.memory.regions[idx].base + memblock.memory.regions[idx].size);
memory           1637 mm/memblock.c  	for_each_memblock(memory, r) {
memory           1662 mm/memblock.c  	memblock_remove_range(&memblock.memory, max_addr,
memory           1676 mm/memblock.c  	ret = memblock_isolate_range(&memblock.memory, base, size,
memory           1682 mm/memblock.c  	for (i = memblock.memory.cnt - 1; i >= end_rgn; i--)
memory           1683 mm/memblock.c  		if (!memblock_is_nomap(&memblock.memory.regions[i]))
memory           1684 mm/memblock.c  			memblock_remove_region(&memblock.memory, i);
memory           1687 mm/memblock.c  		if (!memblock_is_nomap(&memblock.memory.regions[i]))
memory           1688 mm/memblock.c  			memblock_remove_region(&memblock.memory, i);
memory           1737 mm/memblock.c  	return memblock_search(&memblock.memory, addr) != -1;
memory           1742 mm/memblock.c  	int i = memblock_search(&memblock.memory, addr);
memory           1746 mm/memblock.c  	return !memblock_is_nomap(&memblock.memory.regions[i]);
memory           1753 mm/memblock.c  	struct memblock_type *type = &memblock.memory;
memory           1778 mm/memblock.c  	int idx = memblock_search(&memblock.memory, base);
memory           1783 mm/memblock.c  	return (memblock.memory.regions[idx].base +
memory           1784 mm/memblock.c  		 memblock.memory.regions[idx].size) >= end;
memory           1809 mm/memblock.c  	for_each_memblock(memory, r) {
memory           1822 mm/memblock.c  			memblock_remove_region(&memblock.memory,
memory           1823 mm/memblock.c  					       r - memblock.memory.regions);
memory           1869 mm/memblock.c  		&memblock.memory.total_size,
memory           1872 mm/memblock.c  	memblock_dump(&memblock.memory);
memory           2011 mm/memblock.c  			    &memblock.memory, &memblock_debug_fops);
memory            588 mm/memcontrol.c 	unsigned long nr_pages = page_counter_read(&memcg->memory);
memory           1331 mm/memcontrol.c 	count = page_counter_read(&memcg->memory);
memory           1332 mm/memcontrol.c 	limit = READ_ONCE(memcg->memory.max);
memory           1538 mm/memcontrol.c 		K((u64)page_counter_read(&memcg->memory)),
memory           1539 mm/memcontrol.c 		K((u64)memcg->memory.max), memcg->memory.failcnt);
memory           1570 mm/memcontrol.c 	max = memcg->memory.max;
memory           1585 mm/memcontrol.c 	return page_counter_read(&memcg->memory);
memory           2213 mm/memcontrol.c 		page_counter_uncharge(&old->memory, stock->nr_pages);
memory           2359 mm/memcontrol.c 		if (page_counter_read(&memcg->memory) <= memcg->high)
memory           2441 mm/memcontrol.c 		usage = page_counter_read(&memcg->memory);
memory           2561 mm/memcontrol.c 		if (page_counter_try_charge(&memcg->memory, batch, &counter))
memory           2565 mm/memcontrol.c 		mem_over_limit = mem_cgroup_from_counter(counter, memory);
memory           2680 mm/memcontrol.c 	page_counter_charge(&memcg->memory, nr_pages);
memory           2702 mm/memcontrol.c 		if (page_counter_read(&memcg->memory) > memcg->high) {
memory           2722 mm/memcontrol.c 	page_counter_uncharge(&memcg->memory, nr_pages);
memory           3081 mm/memcontrol.c 	page_counter_uncharge(&memcg->memory, nr_pages);
memory           3177 mm/memcontrol.c 	struct page_counter *counter = memsw ? &memcg->memsw : &memcg->memory;
memory           3190 mm/memcontrol.c 		limits_invariant = memsw ? max >= memcg->memory.max :
memory           3338 mm/memcontrol.c 	while (nr_retries && page_counter_read(&memcg->memory)) {
memory           3415 mm/memcontrol.c 			val = page_counter_read(&memcg->memory);
memory           3438 mm/memcontrol.c 		counter = &memcg->memory;
memory           3455 mm/memcontrol.c 		if (counter == &memcg->memory)
memory           3730 mm/memcontrol.c 		counter = &memcg->memory;
memory           3918 mm/memcontrol.c 	unsigned long memory, memsw;
memory           3943 mm/memcontrol.c 	memory = memsw = PAGE_COUNTER_MAX;
memory           3945 mm/memcontrol.c 		memory = min(memory, mi->memory.max);
memory           3949 mm/memcontrol.c 		   (u64)memory * PAGE_SIZE);
memory           4454 mm/memcontrol.c 		unsigned long ceiling = min(memcg->memory.max, memcg->high);
memory           4455 mm/memcontrol.c 		unsigned long used = page_counter_read(&memcg->memory);
memory           5186 mm/memcontrol.c 		page_counter_init(&memcg->memory, &parent->memory);
memory           5192 mm/memcontrol.c 		page_counter_init(&memcg->memory, NULL);
memory           5266 mm/memcontrol.c 	page_counter_set_min(&memcg->memory, 0);
memory           5267 mm/memcontrol.c 	page_counter_set_low(&memcg->memory, 0);
memory           5324 mm/memcontrol.c 	page_counter_set_max(&memcg->memory, PAGE_COUNTER_MAX);
memory           5329 mm/memcontrol.c 	page_counter_set_min(&memcg->memory, 0);
memory           5330 mm/memcontrol.c 	page_counter_set_low(&memcg->memory, 0);
memory           5769 mm/memcontrol.c 			page_counter_uncharge(&mc.to->memory, mc.moved_swap);
memory           6079 mm/memcontrol.c 	return (u64)page_counter_read(&memcg->memory) * PAGE_SIZE;
memory           6085 mm/memcontrol.c 		READ_ONCE(mem_cgroup_from_seq(m)->memory.min));
memory           6100 mm/memcontrol.c 	page_counter_set_min(&memcg->memory, min);
memory           6108 mm/memcontrol.c 		READ_ONCE(mem_cgroup_from_seq(m)->memory.low));
memory           6123 mm/memcontrol.c 	page_counter_set_low(&memcg->memory, low);
memory           6148 mm/memcontrol.c 	nr_pages = page_counter_read(&memcg->memory);
memory           6160 mm/memcontrol.c 		READ_ONCE(mem_cgroup_from_seq(m)->memory.max));
memory           6177 mm/memcontrol.c 	xchg(&memcg->memory.max, max);
memory           6180 mm/memcontrol.c 		unsigned long nr_pages = page_counter_read(&memcg->memory);
memory           6440 mm/memcontrol.c 	usage = page_counter_read(&memcg->memory);
memory           6444 mm/memcontrol.c 	emin = memcg->memory.min;
memory           6445 mm/memcontrol.c 	elow = memcg->memory.low;
memory           6455 mm/memcontrol.c 	parent_emin = READ_ONCE(parent->memory.emin);
memory           6460 mm/memcontrol.c 		min_usage = min(usage, memcg->memory.min);
memory           6462 mm/memcontrol.c 			&parent->memory.children_min_usage);
memory           6469 mm/memcontrol.c 	parent_elow = READ_ONCE(parent->memory.elow);
memory           6474 mm/memcontrol.c 		low_usage = min(usage, memcg->memory.low);
memory           6476 mm/memcontrol.c 			&parent->memory.children_low_usage);
memory           6484 mm/memcontrol.c 	memcg->memory.emin = emin;
memory           6485 mm/memcontrol.c 	memcg->memory.elow = elow;
memory           6673 mm/memcontrol.c 		page_counter_uncharge(&ug->memcg->memory, nr_pages);
memory           6845 mm/memcontrol.c 	page_counter_charge(&memcg->memory, nr_pages);
memory           7068 mm/memcontrol.c 		page_counter_uncharge(&memcg->memory, nr_entries);
memory           5857 mm/page_alloc.c 			for_each_memblock(memory, r) {
memory           6486 mm/page_alloc.c 		for_each_memblock(memory, r) {
memory           6958 mm/page_alloc.c 	for_each_mem_range(i, &memblock.memory, NULL,
memory           7124 mm/page_alloc.c 		for_each_memblock(memory, r) {
memory           7145 mm/page_alloc.c 		for_each_memblock(memory, r) {
memory            302 mm/sparse.c    	for_each_memblock(memory, reg) {
memory            652 net/core/bpf_sk_storage.c 	ret = bpf_map_charge_init(&smap->map.memory, cost);
memory            661 net/core/bpf_sk_storage.c 		bpf_map_charge_finish(&smap->map.memory);
memory             47 net/core/sock_map.c 	err = bpf_map_charge_init(&stab->map.memory, cost);
memory             57 net/core/sock_map.c 	bpf_map_charge_finish(&stab->map.memory);
memory           1340 samples/vfio-mdev/mbochs.c static DEVICE_ATTR_RO(memory);
memory            250 sound/isa/gus/gus_main.c 	gus->gf1.memory = idx << 18;
memory            252 sound/isa/gus/gus_main.c 	gus->gf1.memory = 256 * 1024;
memory            254 sound/isa/gus/gus_main.c 	for (l = 0, local = gus->gf1.memory; l < 4; l++, local -= 256 * 1024) {
memory            260 sound/isa/gus/gus_main.c 	gus->gf1.mem_alloc.banks_8[0].size = gus->gf1.memory;
memory            230 sound/isa/gus/gus_mem.c 	if (!gus->gf1.memory)
memory             37 sound/isa/gus/gus_pcm.c 	unsigned int memory;
memory            122 sound/isa/gus/gus_pcm.c 		begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels);
memory            214 sound/isa/gus/gus_pcm.c 	end = pcmp->memory + (((pcmp->bpos + 1) * pcmp->block_size) / runtime->channels);
memory            247 sound/isa/gus/gus_pcm.c 			snd_gf1_pcm_block_change(pcmp->substream, end, pcmp->memory + (end / 2), pcmp->block_size / 2);
memory            248 sound/isa/gus/gus_pcm.c 			snd_gf1_pcm_block_change(pcmp->substream, end + (pcmp->block_size / 2), pcmp->memory + (pcmp->dma_size / 2) + (end / 2), pcmp->block_size / 2);
memory            250 sound/isa/gus/gus_pcm.c 			snd_gf1_pcm_block_change(pcmp->substream, end, pcmp->memory + end, pcmp->block_size);
memory            362 sound/isa/gus/gus_pcm.c 						pcmp->memory + bpos, len);
memory            367 sound/isa/gus/gus_pcm.c 				      pcmp->memory + bpos, len, w16, invert);
memory            432 sound/isa/gus/gus_pcm.c 		if (pcmp->memory > 0) {
memory            433 sound/isa/gus/gus_pcm.c 			snd_gf1_mem_free(&gus->gf1.mem_alloc, pcmp->memory);
memory            434 sound/isa/gus/gus_pcm.c 			pcmp->memory = 0;
memory            442 sound/isa/gus/gus_pcm.c 		pcmp->memory = block->ptr;
memory            483 sound/isa/gus/gus_pcm.c 	if (pcmp->memory > 0) {
memory            484 sound/isa/gus/gus_pcm.c 		snd_gf1_mem_free(&pcmp->gus->gf1.mem_alloc, pcmp->memory);
memory            485 sound/isa/gus/gus_pcm.c 		pcmp->memory = 0;
memory            541 sound/isa/gus/gus_pcm.c 		pos = (snd_gf1_read_addr(gus, SNDRV_GF1_VA_CURRENT, voice_ctrl & 4) >> 4) - pcmp->memory;
memory            166 sound/isa/gus/gus_reset.c 			snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, gus->gf1.memory ? 0x02 : 0x82);	/* Deactivate voice */
memory            328 sound/isa/gus/gus_reset.c 	gus->gf1.default_voice_address = gus->gf1.memory > 0 ? 0 : 512 - 8;
memory            330 sound/isa/gus/gus_reset.c 	if (gus->gf1.enh_mode && gus->gf1.memory) {
memory            339 sound/isa/gus/gus_reset.c 	if (gus->gf1.memory > 0)
memory            421 sound/isa/gus/interwave.c 	gus->gf1.memory = pages;
memory            495 sound/pci/cs46xx/cs46xx_lib.c 	} memory[BA1_MEMORY_COUNT];
memory            525 sound/pci/cs46xx/cs46xx_lib.c 		size += chip->ba1->memory[i].size;
memory            543 sound/pci/cs46xx/cs46xx_lib.c 					  ba1->memory[idx].offset,
memory            544 sound/pci/cs46xx/cs46xx_lib.c 					  ba1->memory[idx].size);
memory            547 sound/pci/cs46xx/cs46xx_lib.c 		offset += ba1->memory[idx].size >> 2;
memory            458 sound/pci/es1968.c 	struct esm_memory *memory;
memory           1007 sound/pci/es1968.c 		snd_es1968_program_wavecache(chip, es, channel, es->memory->buf.addr, 0);
memory           1010 sound/pci/es1968.c 		pa = es->memory->buf.addr;
memory           1162 sound/pci/es1968.c 	init_capture_apu(chip, es, 0, es->memory->buf.addr, size,
memory           1172 sound/pci/es1968.c 				 es->memory->buf.addr + size*2, size,
memory           1470 sound/pci/es1968.c 	if (chan->memory) {
memory           1471 sound/pci/es1968.c 		if (chan->memory->buf.bytes >= size) {
memory           1475 sound/pci/es1968.c 		snd_es1968_free_memory(chip, chan->memory);
memory           1477 sound/pci/es1968.c 	chan->memory = snd_es1968_new_memory(chip, size);
memory           1478 sound/pci/es1968.c 	if (chan->memory == NULL) {
memory           1483 sound/pci/es1968.c 	snd_pcm_set_runtime_buffer(substream, &chan->memory->buf);
memory           1497 sound/pci/es1968.c 	if (chan->memory) {
memory           1498 sound/pci/es1968.c 		snd_es1968_free_memory(chip, chan->memory);
memory           1499 sound/pci/es1968.c 		chan->memory = NULL;
memory           1698 sound/pci/es1968.c 	struct esm_memory *memory;
memory           1710 sound/pci/es1968.c 	if ((memory = snd_es1968_new_memory(chip, CLOCK_MEASURE_BUFSIZE)) == NULL) {
memory           1718 sound/pci/es1968.c 	memset(memory->buf.area, 0, CLOCK_MEASURE_BUFSIZE);
memory           1720 sound/pci/es1968.c 	wave_set_register(chip, apu << 3, (memory->buf.addr - 0x10) & 0xfff8);
memory           1722 sound/pci/es1968.c 	pa = (unsigned int)((memory->buf.addr - chip->dma.addr) >> 1);
memory           1780 sound/pci/es1968.c 	snd_es1968_free_memory(chip, memory);