| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
| nouveau_nvkm_core_memory.c | 29 #include <core/memory.h> 35 nvkm_memory_tags_put(struct nvkm_memory *memory, struct nvkm_device *device, 44 kfree(memory->tags); 45 memory->tags = NULL; 53 nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device, 61 if ((tags = memory->tags)) { 62 /* If comptags exist for the memory, but a different amount 89 * As memory can be mapped in multiple places, we still 99 *ptags = memory->tags = tags; 106 struct nvkm_memory *memory) 115 struct nvkm_memory *memory = container_of(kref, typeof(*memory), kref); local 126 struct nvkm_memory *memory = *pmemory; local 147 struct nvkm_memory *memory; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/ |
| priv.h | 24 #include <core/memory.h> 27 struct nvkm_memory memory; member in struct:nvkm_instobj
|
| nouveau_nvkm_subdev_instmem_base.c | 43 struct nvkm_memory *memory = &iobj->memory; local 44 const u64 size = nvkm_memory_size(memory); 48 if (!(map = nvkm_kmap(memory))) { 50 nvkm_wo32(memory, i, iobj->suspend[i / 4]); 54 nvkm_done(memory); 63 struct nvkm_memory *memory = &iobj->memory; local 64 const u64 size = nvkm_memory_size(memory); 72 if (!(map = nvkm_kmap(memory))) { 106 struct nvkm_memory *memory = NULL; local [all...] |
| nouveau_nvkm_subdev_instmem_gk20a.c | 26 * GK20A does not have dedicated video memory, and to accurately represent this 28 * implementation must be done directly on top of system memory, while 32 * 1) If an IOMMU unit has been probed, the IOMMU API is used to make memory 35 * contiguous memory. 51 #include <core/memory.h> 63 struct nvkm_memory memory; member in struct:gk20a_instobj 70 #define gk20a_instobj(p) container_of((p), struct gk20a_instobj, memory) 140 gk20a_instobj_target(struct nvkm_memory *memory) 146 gk20a_instobj_page(struct nvkm_memory *memory) 152 gk20a_instobj_addr(struct nvkm_memory *memory) [all...] |
| nouveau_nvkm_subdev_instmem_nv50.c | 32 #include <core/memory.h> 52 #define nv50_instobj(p) container_of((p), struct nv50_instobj, base.memory) 69 nv50_instobj_wr32_slow(struct nvkm_memory *memory, u64 offset, u32 data) 71 struct nv50_instobj *iobj = nv50_instobj(memory); 88 nv50_instobj_rd32_slow(struct nvkm_memory *memory, u64 offset) 90 struct nv50_instobj *iobj = nv50_instobj(memory); 115 nv50_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) 118 struct nv50_instobj *iobj = nv50_instobj(memory); 121 iowrite32_native(data, nv50_instobj(memory)->map + offset); 126 nv50_instobj_rd32(struct nvkm_memory *memory, u64 offset 147 struct nvkm_memory *memory = &iobj->base.memory; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/ |
| umem.h | 17 struct nvkm_memory *memory; member in struct:nvkm_umem
|
| nouveau_nvkm_subdev_mmu_umem.c | 31 #include <core/memory.h> 43 struct nvkm_memory *memory = NULL; local 53 memory = nvkm_memory_ref(umem->memory); 62 memory = nvkm_memory_ref(umem->memory); 65 return memory ? memory : ERR_PTR(-ENOENT); 115 int ret = nvkm_mem_map_host(umem->memory, &umem->dmat, 118 int ret = nvkm_mem_map_host(umem->memory, &umem->map) [all...] |
| priv.h | 62 struct nvkm_memory *memory; member in struct:nvkm_mmu_pt
|
| nouveau_nvkm_subdev_mmu_mem.c | 27 #define nvkm_mem(p) container_of((p), struct nvkm_mem, memory) 30 #include <core/memory.h> 38 struct nvkm_memory memory; member in struct:nvkm_mem 57 nvkm_mem_target(struct nvkm_memory *memory) 59 return nvkm_mem(memory)->target; 63 nvkm_mem_page(struct nvkm_memory *memory) 69 nvkm_mem_addr(struct nvkm_memory *memory) 71 struct nvkm_mem *mem = nvkm_mem(memory); 78 nvkm_mem_size(struct nvkm_memory *memory) 80 return nvkm_mem(memory)->pages << PAGE_SHIFT 335 struct nvkm_memory *memory = NULL; local [all...] |
| nouveau_nvkm_subdev_mmu_uvmm.c | 32 #include <core/memory.h> 144 if (ret = -EINVAL, !vma->memory) { 166 struct nvkm_memory *memory; local 172 handle = args->v0.memory; 177 memory = nvkm_umem_search(client, handle); 178 if (IS_ERR(memory)) { 179 VMM_DEBUG(vmm, "memory %016"PRIx64" %ld\n", handle, PTR_ERR(memory)); 180 return PTR_ERR(memory); 195 if (ret = -EINVAL, vma->mapped && !vma->memory) { [all...] |
| nouveau_nvkm_subdev_mmu_vmmgf100.c | 79 nvkm_kmap(pt->memory); 85 nvkm_done(pt->memory); 125 switch (nvkm_memory_target(pt->memory)) { 139 switch (nvkm_memory_target(pt->memory)) { 152 nvkm_kmap(pd->memory); 154 nvkm_done(pd->memory); 216 switch (nvkm_memory_target(pd->memory)) { 252 const enum nvkm_memory_target target = nvkm_memory_target(map->memory); 260 struct nvkm_memory *memory = map->memory; local [all...] |
| nouveau_nvkm_subdev_mmu_vmmgp100.c | 45 nvkm_kmap(pt->memory); 47 u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0); 48 u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4); 61 nvkm_done(pt->memory); 69 nvkm_kmap(pt->memory); 71 u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0); 72 u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4); 80 nvkm_done(pt->memory); 91 nvkm_kmap(pt->memory); 120 nvkm_done(pt->memory); 341 struct nvkm_memory *memory = map->memory; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/ |
| gpuobj.h | 6 #include <core/memory.h> 23 struct nvkm_memory *memory; member in struct:nvkm_gpuobj
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
| perf.h | 15 u32 memory; member in struct:nvbios_perfE
|
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_legacy.h | 147 struct agp_memory *memory; member in struct:drm_agp_mem
|
| drm_agpsupport.c | 208 * Allocate AGP memory. 217 * memory via agp_allocate_memory() and creates a drm_agp_mem entry for it. 222 struct agp_memory *memory; local 234 memory = agp_allocate_memory(dev->agp->bridge, pages, type); 235 if (!memory) { 242 entry->handle = (unsigned long)memory->am_id + 1; 244 entry->handle = (unsigned long)memory->key + 1; 246 entry->memory = memory; 249 list_add(&entry->head, &dev->agp->memory); [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/ |
| channv50.h | 24 struct nvkm_memory *memory; member in struct:nv50_disp_chan
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
| nouveau_nvkm_subdev_fb_ram.c | 29 #define nvkm_vram(p) container_of((p), struct nvkm_vram, memory) 32 #include <core/memory.h> 38 struct nvkm_memory memory; member in struct:nvkm_vram 45 nvkm_vram_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, 48 struct nvkm_vram *vram = nvkm_vram(memory); 50 .memory = &vram->memory, 59 nvkm_vram_size(struct nvkm_memory *memory) 61 return (u64)nvkm_mm_size(nvkm_vram(memory)->mn) << NVKM_RAM_MM_SHIFT; 65 nvkm_vram_addr(struct nvkm_memory *memory) [all...] |
| /src/lib/libcrypt/ |
| pw_gensalt.c | 173 uint32_t memory = 0; local 192 memory = tmp; 223 if (memory < ARGON2_MIN_MEMORY || 226 estimate_argon2_params(atype, &time, &memory, &threads); 229 snprintf(dst, dlen, "m=%d,t=%d,p=%d", memory, time, threads);
|
| crypt-argon2.c | 163 uint32_t memory = 256; /* 256k; argon2 wants kilobytes */ local 169 * attempt to find a reasonble bound for memory use 181 * Note that adding memory also greatly slows the algorithm. 182 * Do we need to be concerned about memory usage during 187 memory = 32768; 189 memory = 16384; 191 memory = 8192; 193 memory = 4096; 195 memory = 1024; 197 memory = 256 [all...] |
| /src/sys/dev/fdt/ |
| fdt_memory.c | 64 printf("%s: no free memory ranges, increase FDT_MEMORY_RANGES!\n", __func__); 75 * Get all of physical memory, including holes. 82 int index, nadd = 0, off, memory; local 85 "device_type", "memory", sizeof("memory")); 88 * Device Tree Specification 3.2 says that memory 89 * nodes are named "memory" and have device_type 90 * "memory", but if the device_type is missing, try 94 off = fdt_path_offset(fdt_data, "/memory"); 97 memory = fdtbus_offset2phandle(off) [all...] |
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/ |
| argon2-core.c | 64 /***************Memory allocators*****************/ 65 /* Allocates memory to the given pointer 66 * @param memory pointer to the pointer to the memory 67 * @param m_cost number of blocks to allocate in the memory 68 * @return ARGON2_OK if @memory is a valid pointer and memory is allocated 70 static int allocate_memory(block_region **memory, uint32_t m_cost); 76 block *memory; local 93 (*region)->base = (*region)->memory = NULL [all...] |
| /src/sys/arch/epoc32/epoc32/ |
| machdep.c | 156 * Relocating the kernel to the bottom of physical memory 166 struct btinfo_memory *memory = NULL; local 192 memory = (struct btinfo_memory *)btinfo; 193 btinfo = &(memory + 1)->common; 199 bootconfig.dram[i].address = memory->address; 200 bootconfig.dram[i].pages = memory->size / PAGE_SIZE; 240 /* Define a macro to simplify memory allocation */ 248 panic("initarm: out of memory"); \ 411 * of the stack memory. 436 /* Load memory into UVM. * [all...] |
| /src/sys/arch/epoc32/stand/e32boot/exe/ |
| e32boot.cpp | 157 console->Printf(_L(">> Memory %d k\n"), membytes / 1024); 330 struct btinfo_memory *memory; local 358 /* Set memory size to bootinfo. */ 369 memory = (struct btinfo_memory *)common; 370 memory->address = memmap->address; 371 memory->size = memmap->size KB; 372 common = &(memory + 1)->common; 382 memory = (struct btinfo_memory *)common; 383 memory->address = 0xc0000000; /* default is here */ 384 memory->size = 4096 KB; /* XXXXX * 425 struct btinfo_memory *memory; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/ |
| if000c.h | 60 __u64 memory; member in struct:nvif_vmm_map_v0
|