/linux-4.4.14/sound/pci/ctxfi/ |
D | ctvmem.c | 33 get_vm_block(struct ct_vm *vm, unsigned int size, struct ct_atc *atc) in get_vm_block() argument 39 if (size > vm->size) { in get_vm_block() 45 mutex_lock(&vm->lock); in get_vm_block() 46 list_for_each(pos, &vm->unused) { in get_vm_block() 51 if (pos == &vm->unused) in get_vm_block() 56 list_move(&entry->list, &vm->used); in get_vm_block() 57 vm->size -= size; in get_vm_block() 68 list_add(&block->list, &vm->used); in get_vm_block() 71 vm->size -= size; in get_vm_block() 74 mutex_unlock(&vm->lock); in get_vm_block() [all …]
|
D | ctvmem.h | 57 dma_addr_t (*get_ptp_phys)(struct ct_vm *vm, int index); 61 void ct_vm_destroy(struct ct_vm *vm);
|
D | ctatc.c | 139 struct ct_vm *vm; in ct_map_audio_buffer() local 145 vm = atc->vm; in ct_map_audio_buffer() 147 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); in ct_map_audio_buffer() 157 struct ct_vm *vm; in ct_unmap_audio_buffer() local 162 vm = atc->vm; in ct_unmap_audio_buffer() 164 vm->unmap(vm, apcm->vm_block); in ct_unmap_audio_buffer() 171 return atc->vm->get_ptp_phys(atc->vm, index); in atc_get_ptp_phys() 1243 if (atc->vm) { in ct_atc_destroy() 1244 ct_vm_destroy(atc->vm); in ct_atc_destroy() 1245 atc->vm = NULL; in ct_atc_destroy() [all …]
|
D | ctatc.h | 89 struct ct_vm *vm; /* device virtual memory manager for this card */ member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | base.c | 32 struct nvkm_vm *vm = vma->vm; in nvkm_vm_map_at() local 33 struct nvkm_mmu *mmu = vm->mmu; in nvkm_vm_map_at() 38 u32 pde = (offset >> mmu->func->pgt_bits) - vm->fpde; in nvkm_vm_map_at() 49 struct nvkm_memory *pgt = vm->pgt[pde].mem[big]; in nvkm_vm_map_at() 70 mmu->func->flush(vm); in nvkm_vm_map_at() 77 struct nvkm_vm *vm = vma->vm; in nvkm_vm_map_sg_table() local 78 struct nvkm_mmu *mmu = vm->mmu; in nvkm_vm_map_sg_table() 83 u32 pde = (offset >> mmu->func->pgt_bits) - vm->fpde; in nvkm_vm_map_sg_table() 92 struct nvkm_memory *pgt = vm->pgt[pde].mem[big]; in nvkm_vm_map_sg_table() 128 mmu->func->flush(vm); in nvkm_vm_map_sg_table() [all …]
|
D | nv04.c | 67 nv04_vm_flush(struct nvkm_vm *vm) in nv04_vm_flush() argument 84 &mmu->vm); in nv04_mmu_oneinit() 91 mmu->vm->pgt[0].mem[0] = dma; in nv04_mmu_oneinit() 92 mmu->vm->pgt[0].refcount[0] = 1; in nv04_mmu_oneinit() 108 if (mmu->vm) { in nv04_mmu_dtor() 109 nvkm_memory_del(&mmu->vm->pgt[0].mem[0]); in nv04_mmu_dtor() 110 nvkm_vm_ref(NULL, &mmu->vm, NULL); in nv04_mmu_dtor()
|
D | nv41.c | 69 nv41_vm_flush(struct nvkm_vm *vm) in nv41_vm_flush() argument 71 struct nv04_mmu *mmu = nv04_mmu(vm->mmu); in nv41_vm_flush() 96 &mmu->vm); in nv41_mmu_oneinit() 102 &mmu->vm->pgt[0].mem[0]); in nv41_mmu_oneinit() 103 mmu->vm->pgt[0].refcount[0] = 1; in nv41_mmu_oneinit() 112 struct nvkm_memory *dma = mmu->vm->pgt[0].mem[0]; in nv41_mmu_init()
|
D | nv44.c | 87 struct nv04_mmu *mmu = nv04_mmu(vma->vm->mmu); in nv44_vm_map_sg() 119 struct nv04_mmu *mmu = nv04_mmu(vma->vm->mmu); in nv44_vm_unmap() 144 nv44_vm_flush(struct nvkm_vm *vm) in nv44_vm_flush() argument 146 struct nv04_mmu *mmu = nv04_mmu(vm->mmu); in nv44_vm_flush() 176 &mmu->vm); in nv44_mmu_oneinit() 183 &mmu->vm->pgt[0].mem[0]); in nv44_mmu_oneinit() 184 mmu->vm->pgt[0].refcount[0] = 1; in nv44_mmu_oneinit() 193 struct nvkm_memory *gart = mmu->vm->pgt[0].mem[0]; in nv44_mmu_init()
|
D | gf100.c | 112 struct nvkm_ltc *ltc = vma->vm->mmu->subdev.device->ltc; in gf100_vm_map() 162 gf100_vm_flush(struct nvkm_vm *vm) in gf100_vm_flush() argument 164 struct nvkm_mmu *mmu = vm->mmu; in gf100_vm_flush() 170 if (atomic_read(&vm->engref[NVKM_SUBDEV_BAR])) in gf100_vm_flush() 174 list_for_each_entry(vpgd, &vm->pgd_list, head) { in gf100_vm_flush()
|
D | nv50.c | 80 struct nvkm_ram *ram = vma->vm->mmu->subdev.device->fb->ram; in nv50_vm_map() 156 nv50_vm_flush(struct nvkm_vm *vm) in nv50_vm_flush() argument 158 struct nvkm_mmu *mmu = vm->mmu; in nv50_vm_flush() 165 if (!atomic_read(&vm->engref[i])) in nv50_vm_flush()
|
D | nv04.h | 8 struct nvkm_vm *vm; member
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_vm.c | 129 struct radeon_vm *vm, in radeon_vm_get_bos() argument 135 list = drm_malloc_ab(vm->max_pde_used + 2, in radeon_vm_get_bos() 141 list[0].robj = vm->page_directory; in radeon_vm_get_bos() 144 list[0].tv.bo = &vm->page_directory->tbo; in radeon_vm_get_bos() 149 for (i = 0, idx = 1; i <= vm->max_pde_used; i++) { in radeon_vm_get_bos() 150 if (!vm->page_tables[i].bo) in radeon_vm_get_bos() 153 list[idx].robj = vm->page_tables[i].bo; in radeon_vm_get_bos() 178 struct radeon_vm *vm, int ring) in radeon_vm_grab_id() argument 181 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_grab_id() 237 struct radeon_vm *vm, in radeon_vm_flush() argument [all …]
|
D | radeon_ib.c | 56 struct radeon_ib *ib, struct radeon_vm *vm, in radeon_ib_get() argument 72 ib->vm = vm; in radeon_ib_get() 73 if (vm) { in radeon_ib_get() 142 if (ib->vm) { in radeon_ib_schedule() 144 vm_id_fence = radeon_vm_grab_id(rdev, ib->vm, ib->ring); in radeon_ib_schedule() 156 if (ib->vm) in radeon_ib_schedule() 157 radeon_vm_flush(rdev, ib->vm, ib->ring, in radeon_ib_schedule() 175 if (ib->vm) in radeon_ib_schedule() 176 radeon_vm_fence(rdev, ib->vm, ib->fence); in radeon_ib_schedule()
|
D | radeon_cs.c | 177 p->vm_bos = radeon_vm_get_bos(p->rdev, p->ib.vm, in radeon_cs_parser_relocs() 479 struct radeon_vm *vm) in radeon_bo_vm_update_pte() argument 485 r = radeon_vm_update_page_directory(rdev, vm); in radeon_bo_vm_update_pte() 489 r = radeon_vm_clear_freed(rdev, vm); in radeon_bo_vm_update_pte() 493 if (vm->ib_bo_va == NULL) { in radeon_bo_vm_update_pte() 498 r = radeon_vm_bo_update(rdev, vm->ib_bo_va, in radeon_bo_vm_update_pte() 507 bo_va = radeon_vm_bo_find(vm, bo); in radeon_bo_vm_update_pte() 509 dev_err(rdev->dev, "bo %p not in vm %p\n", bo, vm); in radeon_bo_vm_update_pte() 520 return radeon_vm_clear_invalids(rdev, vm); in radeon_bo_vm_update_pte() 527 struct radeon_vm *vm = &fpriv->vm; in radeon_cs_ib_vm_chunk() local [all …]
|
D | radeon_kms.c | 640 struct radeon_vm *vm; in radeon_driver_open_kms() local 649 vm = &fpriv->vm; in radeon_driver_open_kms() 650 r = radeon_vm_init(rdev, vm); in radeon_driver_open_kms() 658 radeon_vm_fini(rdev, vm); in radeon_driver_open_kms() 665 vm->ib_bo_va = radeon_vm_bo_add(rdev, vm, in radeon_driver_open_kms() 667 r = radeon_vm_bo_set_addr(rdev, vm->ib_bo_va, in radeon_driver_open_kms() 672 radeon_vm_fini(rdev, vm); in radeon_driver_open_kms() 701 struct radeon_vm *vm = &fpriv->vm; in radeon_driver_postclose_kms() local 707 if (vm->ib_bo_va) in radeon_driver_postclose_kms() 708 radeon_vm_bo_rmv(rdev, vm->ib_bo_va); in radeon_driver_postclose_kms() [all …]
|
D | radeon_gem.c | 146 struct radeon_vm *vm = &fpriv->vm; in radeon_gem_object_open() local 160 bo_va = radeon_vm_bo_find(vm, rbo); in radeon_gem_object_open() 162 bo_va = radeon_vm_bo_add(rdev, vm, rbo); in radeon_gem_object_open() 177 struct radeon_vm *vm = &fpriv->vm; in radeon_gem_object_close() local 192 bo_va = radeon_vm_bo_find(vm, rbo); in radeon_gem_object_close() 555 vm_bos = radeon_vm_get_bos(rdev, bo_va->vm, &list); in radeon_gem_va_update_vm() 571 mutex_lock(&bo_va->vm->mutex); in radeon_gem_va_update_vm() 572 r = radeon_vm_clear_freed(rdev, bo_va->vm); in radeon_gem_va_update_vm() 580 mutex_unlock(&bo_va->vm->mutex); in radeon_gem_va_update_vm() 663 bo_va = radeon_vm_bo_find(&fpriv->vm, rbo); in radeon_gem_va_ioctl()
|
D | radeon.h | 479 struct radeon_vm *vm; member 842 struct radeon_vm *vm; member 977 struct radeon_vm vm; member 1020 struct radeon_ib *ib, struct radeon_vm *vm, 1891 } vm; member 2722 #define radeon_asic_vm_init(rdev) (rdev)->asic->vm.init((rdev)) 2723 #define radeon_asic_vm_fini(rdev) (rdev)->asic->vm.fini((rdev)) 2724 #define radeon_asic_vm_copy_pages(rdev, ib, pe, src, count) ((rdev)->asic->vm.copy_pages((rdev), (i… 2725 #define radeon_asic_vm_write_pages(rdev, ib, pe, addr, count, incr, flags) ((rdev)->asic->vm.write_… 2726 #define radeon_asic_vm_set_pages(rdev, ib, pe, addr, count, incr, flags) ((rdev)->asic->vm.set_page… [all …]
|
D | ni_dma.c | 126 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in cayman_dma_ring_ib_execute()
|
D | cik_sdma.c | 137 u32 extra_bits = (ib->vm ? ib->vm->ids[ib->ring].id : 0) & 0xf; in cik_sdma_ring_ib_execute()
|
D | radeon_asic.c | 1676 .vm = { 1794 .vm = { 1932 .vm = { 2102 .vm = { 2215 .vm = {
|
D | ni.c | 1434 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in cayman_ring_ib_execute()
|
D | si.c | 3404 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in si_ring_ib_execute()
|
D | cik.c | 4144 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in cik_ring_ib_execute()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vm.c | 87 struct amdgpu_vm *vm, in amdgpu_vm_get_bos() argument 93 list = drm_malloc_ab(vm->max_pde_used + 2, in amdgpu_vm_get_bos() 100 list[0].robj = vm->page_directory; in amdgpu_vm_get_bos() 104 list[0].tv.bo = &vm->page_directory->tbo; in amdgpu_vm_get_bos() 108 for (i = 0, idx = 1; i <= vm->max_pde_used; i++) { in amdgpu_vm_get_bos() 109 if (!vm->page_tables[i].bo) in amdgpu_vm_get_bos() 112 list[idx].robj = vm->page_tables[i].bo; in amdgpu_vm_get_bos() 135 int amdgpu_vm_grab_id(struct amdgpu_vm *vm, struct amdgpu_ring *ring, in amdgpu_vm_grab_id() argument 139 struct amdgpu_vm_id *vm_id = &vm->ids[ring->idx]; in amdgpu_vm_grab_id() 151 if (owner == (long)vm) { in amdgpu_vm_grab_id() [all …]
|
D | amdgpu_ib.c | 58 int amdgpu_ib_get(struct amdgpu_ring *ring, struct amdgpu_vm *vm, in amdgpu_ib_get() argument 74 if (!vm) in amdgpu_ib_get() 81 ib->vm = vm; in amdgpu_ib_get() 129 struct amdgpu_vm *vm; in amdgpu_ib_schedule() local 138 vm = ibs->vm; in amdgpu_ib_schedule() 155 if (vm) { in amdgpu_ib_schedule() 157 r = amdgpu_vm_grab_id(ibs->vm, ibs->ring, &ibs->sync); in amdgpu_ib_schedule() 171 if (vm) { in amdgpu_ib_schedule() 173 amdgpu_vm_flush(ring, vm, ib->sync.last_vm_update); in amdgpu_ib_schedule() 176 amdgpu_ring_emit_gds_switch(ring, ib->vm->ids[ring->idx].id, in amdgpu_ib_schedule() [all …]
|
D | amdgpu_gem.c | 115 struct amdgpu_vm *vm = &fpriv->vm; in amdgpu_gem_object_open() local 122 bo_va = amdgpu_vm_bo_find(vm, rbo); in amdgpu_gem_object_open() 124 bo_va = amdgpu_vm_bo_add(adev, vm, rbo); in amdgpu_gem_object_open() 138 struct amdgpu_vm *vm = &fpriv->vm; in amdgpu_gem_object_close() local 147 bo_va = amdgpu_vm_bo_find(vm, rbo); in amdgpu_gem_object_close() 464 vm_bos = amdgpu_vm_get_bos(adev, bo_va->vm, &list); in amdgpu_gem_va_update_vm() 488 r = amdgpu_vm_update_page_directory(adev, bo_va->vm); in amdgpu_gem_va_update_vm() 492 r = amdgpu_vm_clear_freed(adev, bo_va->vm); in amdgpu_gem_va_update_vm() 566 tv_pd.bo = &fpriv->vm.page_directory->tbo; in amdgpu_gem_va_ioctl() 576 bo_va = amdgpu_vm_bo_find(&fpriv->vm, rbo); in amdgpu_gem_va_ioctl()
|
D | amdgpu_cs.c | 340 struct amdgpu_vm *vm, in amdgpu_cs_list_validate() argument 386 lobj->bo_va = amdgpu_vm_bo_find(vm, bo); in amdgpu_cs_list_validate() 409 p->vm_bos = amdgpu_vm_get_bos(p->adev, &fpriv->vm, in amdgpu_cs_parser_relocs() 423 r = amdgpu_cs_list_validate(p->adev, &fpriv->vm, &p->validated); in amdgpu_cs_parser_relocs() 427 r = amdgpu_cs_list_validate(p->adev, &fpriv->vm, &duplicates); in amdgpu_cs_parser_relocs() 517 struct amdgpu_vm *vm) in amdgpu_bo_vm_update_pte() argument 524 r = amdgpu_vm_update_page_directory(adev, vm); in amdgpu_bo_vm_update_pte() 528 r = amdgpu_sync_fence(adev, &p->ibs[0].sync, vm->page_directory_fence); in amdgpu_bo_vm_update_pte() 532 r = amdgpu_vm_clear_freed(adev, vm); in amdgpu_bo_vm_update_pte() 561 r = amdgpu_vm_clear_invalids(adev, vm, &p->ibs[0].sync); in amdgpu_bo_vm_update_pte() [all …]
|
D | amdgpu.h | 513 struct amdgpu_vm *vm; member 813 struct amdgpu_vm *vm; member 980 int amdgpu_vm_init(struct amdgpu_device *adev, struct amdgpu_vm *vm); 981 void amdgpu_vm_fini(struct amdgpu_device *adev, struct amdgpu_vm *vm); 983 struct amdgpu_vm *vm, 985 int amdgpu_vm_grab_id(struct amdgpu_vm *vm, struct amdgpu_ring *ring, 988 struct amdgpu_vm *vm, 991 struct amdgpu_vm *vm, 995 struct amdgpu_vm *vm); 997 struct amdgpu_vm *vm); [all …]
|
D | amdgpu_kms.c | 527 r = amdgpu_vm_init(adev, &fpriv->vm); in amdgpu_driver_open_kms() 569 amdgpu_vm_fini(adev, &fpriv->vm); in amdgpu_driver_postclose_kms()
|
D | cik_sdma.c | 215 u32 extra_bits = (ib->vm ? ib->vm->ids[ring->idx].id : 0) & 0xf; in cik_sdma_ring_emit_ib()
|
D | sdma_v2_4.c | 247 u32 vmid = (ib->vm ? ib->vm->ids[ring->idx].id : 0) & 0xf; in sdma_v2_4_ring_emit_ib()
|
D | sdma_v3_0.c | 358 u32 vmid = (ib->vm ? ib->vm->ids[ring->idx].id : 0) & 0xf; in sdma_v3_0_ring_emit_ib()
|
D | gfx_v8_0.c | 4575 (ib->vm ? (ib->vm->ids[ring->idx].id << 24) : 0); in gfx_v8_0_ring_emit_ib_gfx() 4605 (ib->vm ? (ib->vm->ids[ring->idx].id << 24) : 0); in gfx_v8_0_ring_emit_ib_compute()
|
D | gfx_v7_0.c | 2597 (ib->vm ? (ib->vm->ids[ring->idx].id << 24) : 0); in gfx_v7_0_ring_emit_ib_gfx() 2626 (ib->vm ? (ib->vm->ids[ring->idx].id << 24) : 0); in gfx_v7_0_ring_emit_ib_compute()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | display.c | 270 void videomode_to_omap_video_timings(const struct videomode *vm, in videomode_to_omap_video_timings() argument 275 ovt->pixelclock = vm->pixelclock; in videomode_to_omap_video_timings() 276 ovt->x_res = vm->hactive; in videomode_to_omap_video_timings() 277 ovt->hbp = vm->hback_porch; in videomode_to_omap_video_timings() 278 ovt->hfp = vm->hfront_porch; in videomode_to_omap_video_timings() 279 ovt->hsw = vm->hsync_len; in videomode_to_omap_video_timings() 280 ovt->y_res = vm->vactive; in videomode_to_omap_video_timings() 281 ovt->vbp = vm->vback_porch; in videomode_to_omap_video_timings() 282 ovt->vfp = vm->vfront_porch; in videomode_to_omap_video_timings() 283 ovt->vsw = vm->vsync_len; in videomode_to_omap_video_timings() [all …]
|
D | dsi.c | 4401 struct omap_video_timings vm = { 0 }; in print_dsi_dispc_vm() local 4412 vm.pixelclock = pck; in print_dsi_dispc_vm() 4413 vm.hsw = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); in print_dsi_dispc_vm() 4414 vm.hbp = div64_u64((u64)t->hbp * pck, byteclk); in print_dsi_dispc_vm() 4415 vm.hfp = div64_u64((u64)t->hfp * pck, byteclk); in print_dsi_dispc_vm() 4416 vm.x_res = t->hact; in print_dsi_dispc_vm() 4418 print_dispc_vm(str, &vm); in print_dsi_dispc_vm()
|
/linux-4.4.14/drivers/video/ |
D | videomode.c | 15 struct videomode *vm) in videomode_from_timing() argument 17 vm->pixelclock = dt->pixelclock.typ; in videomode_from_timing() 18 vm->hactive = dt->hactive.typ; in videomode_from_timing() 19 vm->hfront_porch = dt->hfront_porch.typ; in videomode_from_timing() 20 vm->hback_porch = dt->hback_porch.typ; in videomode_from_timing() 21 vm->hsync_len = dt->hsync_len.typ; in videomode_from_timing() 23 vm->vactive = dt->vactive.typ; in videomode_from_timing() 24 vm->vfront_porch = dt->vfront_porch.typ; in videomode_from_timing() 25 vm->vback_porch = dt->vback_porch.typ; in videomode_from_timing() 26 vm->vsync_len = dt->vsync_len.typ; in videomode_from_timing() [all …]
|
D | of_videomode.c | 31 int of_get_videomode(struct device_node *np, struct videomode *vm, in of_get_videomode() argument 46 ret = videomode_from_timings(disp, vm, index); in of_get_videomode()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_mic.c | 103 struct videomode vm; member 156 struct videomode vm = mic->vm; in mic_set_porch_timing() local 159 reg = MIC_V_PULSE_WIDTH(vm.vsync_len) + in mic_set_porch_timing() 160 MIC_V_PERIOD_LINE(vm.vsync_len + vm.vactive + in mic_set_porch_timing() 161 vm.vback_porch + vm.vfront_porch); in mic_set_porch_timing() 164 reg = MIC_VBP_SIZE(vm.vback_porch) + in mic_set_porch_timing() 165 MIC_VFP_SIZE(vm.vfront_porch); in mic_set_porch_timing() 168 reg = MIC_V_PULSE_WIDTH(vm.hsync_len) + in mic_set_porch_timing() 169 MIC_V_PERIOD_LINE(vm.hsync_len + vm.hactive + in mic_set_porch_timing() 170 vm.hback_porch + vm.hfront_porch); in mic_set_porch_timing() [all …]
|
D | exynos_drm_dpi.c | 33 struct videomode *vm; member 75 if (ctx->vm) { in exynos_dpi_get_modes() 83 drm_display_mode_from_videomode(ctx->vm, mode); in exynos_dpi_get_modes() 273 struct videomode *vm; in exynos_dpi_parse_dt() local 278 vm = devm_kzalloc(dev, sizeof(*ctx->vm), GFP_KERNEL); in exynos_dpi_parse_dt() 279 if (!vm) in exynos_dpi_parse_dt() 282 ret = of_get_videomode(dn, vm, 0); in exynos_dpi_parse_dt() 284 devm_kfree(dev, vm); in exynos_dpi_parse_dt() 288 ctx->vm = vm; in exynos_dpi_parse_dt()
|
D | exynos_drm_dsi.c | 282 struct videomode vm; member 871 struct videomode *vm = &dsi->vm; in exynos_dsi_set_display_mode() local 877 | DSIM_STABLE_VFP(vm->vfront_porch) in exynos_dsi_set_display_mode() 878 | DSIM_MAIN_VBP(vm->vback_porch); in exynos_dsi_set_display_mode() 881 reg = DSIM_MAIN_HFP(vm->hfront_porch) in exynos_dsi_set_display_mode() 882 | DSIM_MAIN_HBP(vm->hback_porch); in exynos_dsi_set_display_mode() 885 reg = DSIM_MAIN_VSA(vm->vsync_len) in exynos_dsi_set_display_mode() 886 | DSIM_MAIN_HSA(vm->hsync_len); in exynos_dsi_set_display_mode() 889 reg = DSIM_MAIN_HRESOL(vm->hactive, num_bits_resol) | in exynos_dsi_set_display_mode() 890 DSIM_MAIN_VRESOL(vm->vactive, num_bits_resol); in exynos_dsi_set_display_mode() [all …]
|
D | exynos_dp_core.c | 980 drm_display_mode_from_videomode(&dp->priv.vm, mode); in exynos_dp_get_modes() 1199 ret = of_get_videomode(dp->dev->of_node, &dp->priv.vm, in exynos_dp_dt_parse_panel()
|
/linux-4.4.14/arch/arm/mm/ |
D | ioremap.c | 49 struct vm_struct *vm; in find_static_vm_paddr() local 52 vm = &svm->vm; in find_static_vm_paddr() 53 if (!(vm->flags & VM_ARM_STATIC_MAPPING)) in find_static_vm_paddr() 55 if ((vm->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype)) in find_static_vm_paddr() 58 if (vm->phys_addr > paddr || in find_static_vm_paddr() 59 paddr + size - 1 > vm->phys_addr + vm->size - 1) in find_static_vm_paddr() 71 struct vm_struct *vm; in find_static_vm_vaddr() local 74 vm = &svm->vm; in find_static_vm_vaddr() 77 if (vm->addr > vaddr) in find_static_vm_vaddr() 80 if (vm->addr <= vaddr && vm->addr + vm->size > vaddr) in find_static_vm_vaddr() [all …]
|
D | mmu.c | 946 struct vm_struct *vm; in iotable_init() local 957 vm = &svm->vm; in iotable_init() 958 vm->addr = (void *)(md->virtual & PAGE_MASK); in iotable_init() 959 vm->size = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK)); in iotable_init() 960 vm->phys_addr = __pfn_to_phys(md->pfn); in iotable_init() 961 vm->flags = VM_IOREMAP | VM_ARM_STATIC_MAPPING; in iotable_init() 962 vm->flags |= VM_ARM_MTYPE(md->type); in iotable_init() 963 vm->caller = iotable_init; in iotable_init() 971 struct vm_struct *vm; in vm_reserve_area_early() local 976 vm = &svm->vm; in vm_reserve_area_early() [all …]
|
D | mm.h | 75 struct vm_struct vm; member
|
/linux-4.4.14/arch/mips/math-emu/ |
D | ieee754int.h | 58 #define EXPLODESP(v, vc, vs, ve, vm) \ argument 62 vm = SPMANT(v); \ 64 if (vm == 0) \ 66 else if (vm & SP_MBIT(SP_FBITS-1)) \ 71 if (vm) { \ 78 vm |= SP_HIDDEN_BIT; \ 92 #define EXPLODEDP(v, vc, vs, ve, vm) \ argument 94 vm = DPMANT(v); \ 98 if (vm == 0) \ 100 else if (vm & DP_MBIT(DP_FBITS-1)) \ [all …]
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_trace.h | 136 __field(struct i915_address_space *, vm) 144 __entry->vm = vma->vm; 153 __entry->vm) 162 __field(struct i915_address_space *, vm) 169 __entry->vm = vma->vm; 175 __entry->obj, __entry->offset, __entry->size, __entry->vm) 178 #define VM_TO_TRACE_NAME(vm) \ argument 179 (i915_is_ggtt(vm) ? "G" : \ 183 TP_PROTO(struct i915_address_space *vm, u64 start, u64 length, const char *name), 184 TP_ARGS(vm, start, length, name), [all …]
|
D | i915_gem_gtt.c | 159 vma->vm->insert_entries(vma->vm, vma->obj->pages, vma->node.start, in ppgtt_bind_vma() 167 vma->vm->clear_range(vma->vm, in ppgtt_unbind_vma() 457 static void gen8_initialize_pt(struct i915_address_space *vm, in gen8_initialize_pt() argument 462 scratch_pte = gen8_pte_encode(px_dma(vm->scratch_page), in gen8_initialize_pt() 465 fill_px(vm->dev, pt, scratch_pte); in gen8_initialize_pt() 468 static void gen6_initialize_pt(struct i915_address_space *vm, in gen6_initialize_pt() argument 473 WARN_ON(px_dma(vm->scratch_page) == 0); in gen6_initialize_pt() 475 scratch_pte = vm->pte_encode(px_dma(vm->scratch_page), in gen6_initialize_pt() 478 fill32_px(vm->dev, pt, scratch_pte); in gen6_initialize_pt() 518 static void gen8_initialize_pd(struct i915_address_space *vm, in gen8_initialize_pd() argument [all …]
|
D | i915_gem_evict.c | 74 i915_gem_evict_something(struct drm_device *dev, struct i915_address_space *vm, in i915_gem_evict_something() argument 110 if (start != 0 || end != vm->total) { in i915_gem_evict_something() 111 drm_mm_init_scan_with_range(&vm->mm, min_size, in i915_gem_evict_something() 115 drm_mm_init_scan(&vm->mm, min_size, alignment, cache_level); in i915_gem_evict_something() 119 list_for_each_entry(vma, &vm->inactive_list, mm_list) { in i915_gem_evict_something() 128 list_for_each_entry(vma, &vm->active_list, mm_list) { in i915_gem_evict_something() 216 int i915_gem_evict_vm(struct i915_address_space *vm, bool do_idle) in i915_gem_evict_vm() argument 221 WARN_ON(!mutex_is_locked(&vm->dev->struct_mutex)); in i915_gem_evict_vm() 222 trace_i915_gem_evict_vm(vm); in i915_gem_evict_vm() 225 ret = i915_gpu_idle(vm->dev); in i915_gem_evict_vm() [all …]
|
D | i915_gpu_error.c | 592 struct i915_address_space *vm) in i915_error_object_create() argument 610 if (i915_gem_obj_bound(src, vm)) in i915_error_object_create() 611 dst->gtt_offset = i915_gem_obj_offset(src, vm); in i915_error_object_create() 616 if (i915_is_ggtt(vm)) in i915_error_object_create() 735 struct i915_address_space *vm) in capture_pinned_bo() argument 748 if (vma->vm == vm && vma->pin_count > 0) in capture_pinned_bo() 1000 struct i915_address_space *vm; in i915_gem_record_rings() local 1002 vm = request->ctx && request->ctx->ppgtt ? in i915_gem_record_rings() 1013 vm); in i915_gem_record_rings() 1087 struct i915_address_space *vm, in i915_gem_capture_vm() argument [all …]
|
D | i915_gem_execbuffer.c | 96 struct i915_address_space *vm, in eb_lookup_vmas() argument 146 vma = i915_gem_obj_lookup_or_create_vma(obj, vm); in eb_lookup_vmas() 606 ret = i915_gem_object_pin(obj, vma->vm, entry->alignment, flags); in i915_gem_execbuffer_reserve_vma() 609 ret = i915_gem_object_pin(obj, vma->vm, in i915_gem_execbuffer_reserve_vma() 647 if (!i915_is_ggtt(vma->vm)) in need_reloc_mappable() 667 !i915_is_ggtt(vma->vm)); in eb_vma_misplaced() 696 struct i915_address_space *vm; in i915_gem_execbuffer_reserve() local 703 vm = list_first_entry(vmas, struct i915_vma, exec_list)->vm; in i915_gem_execbuffer_reserve() 782 ret = i915_gem_evict_vm(vm, true); in i915_gem_execbuffer_reserve() 798 struct i915_address_space *vm; in i915_gem_execbuffer_relocate_slow() local [all …]
|
D | i915_gem.c | 2417 list_move_tail(&vma->mm_list, &vma->vm->active_list); in i915_vma_move_to_active() 2457 list_move_tail(&vma->mm_list, &vma->vm->inactive_list); in i915_gem_object_retire__read() 3295 if (i915_is_ggtt(vma->vm) && in __i915_vma_unbind() 3307 vma->vm->unbind_vma(vma); in __i915_vma_unbind() 3311 if (i915_is_ggtt(vma->vm)) { in __i915_vma_unbind() 3394 if (vma->vm->mm.color_adjust == NULL) in i915_gem_valid_gtt_space() 3420 struct i915_address_space *vm, in i915_gem_object_bind_to_vm() argument 3434 if (i915_is_ggtt(vm)) { in i915_gem_object_bind_to_vm() 3471 end = vm->total; in i915_gem_object_bind_to_vm() 3507 i915_gem_obj_lookup_or_create_vma(obj, vm); in i915_gem_object_bind_to_vm() [all …]
|
D | i915_gem_gtt.h | 184 struct i915_address_space *vm; member 316 int (*allocate_va_range)(struct i915_address_space *vm, 319 void (*clear_range)(struct i915_address_space *vm, 323 void (*insert_entries)(struct i915_address_space *vm, 327 void (*cleanup)(struct i915_address_space *vm);
|
D | i915_drv.h | 2841 struct i915_address_space *vm, 3040 struct i915_address_space *vm); 3051 struct i915_address_space *vm); 3054 struct i915_address_space *vm); 3057 struct i915_address_space *vm); 3064 struct i915_address_space *vm); 3079 static inline bool i915_is_ggtt(struct i915_address_space *vm) in i915_is_ggtt() argument 3082 &((struct drm_i915_private *)(vm)->dev->dev_private)->gtt.base; in i915_is_ggtt() 3083 return vm == ggtt; in i915_is_ggtt() 3087 i915_vm_to_ppgtt(struct i915_address_space *vm) in i915_vm_to_ppgtt() argument [all …]
|
D | i915_debugfs.c | 121 if (i915_is_ggtt(vma->vm) && in i915_gem_obj_total_ggtt_size() 169 i915_is_ggtt(vma->vm) ? "g" : "pp", in describe_obj() 171 if (i915_is_ggtt(vma->vm)) in describe_obj() 208 struct i915_address_space *vm = &dev_priv->gtt.base; in i915_gem_object_list_info() local 221 head = &vm->active_list; in i915_gem_object_list_info() 225 head = &vm->inactive_list; in i915_gem_object_list_info() 351 if (i915_is_ggtt(vma->vm)) { in per_file_stats() 356 ppgtt = container_of(vma->vm, struct i915_hw_ppgtt, base); in per_file_stats() 438 struct i915_address_space *vm = &dev_priv->gtt.base; in i915_gem_object_info() local 457 count_vmas(&vm->active_list, mm_list); in i915_gem_object_info() [all …]
|
D | intel_pm.c | 5758 const int vm = vd - 1125; in pvid_to_extvid() local 5761 return vm > 0 ? vm : 0; in pvid_to_extvid()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
D | gf100.c | 33 return gf100_bar(base)->bar[0].vm; in gf100_bar_kmap() 40 return nvkm_vm_get(bar->bar[1].vm, size, type, NV_MEM_ACCESS_RW, vma); in gf100_bar_umap() 48 struct nvkm_vm *vm; in gf100_bar_ctor_vm() local 63 ret = nvkm_vm_new(device, 0, bar_len, 0, key, &vm); in gf100_bar_ctor_vm() 67 atomic_inc(&vm->engref[NVKM_SUBDEV_BAR]); in gf100_bar_ctor_vm() 73 ret = nvkm_vm_boot(vm, bar_len); in gf100_bar_ctor_vm() 75 nvkm_vm_ref(NULL, &vm, NULL); in gf100_bar_ctor_vm() 80 ret = nvkm_vm_ref(vm, &bar_vm->vm, bar_vm->pgd); in gf100_bar_ctor_vm() 81 nvkm_vm_ref(NULL, &vm, NULL); in gf100_bar_ctor_vm() 143 nvkm_vm_ref(NULL, &bar->bar[1].vm, bar->bar[1].pgd); in gf100_bar_dtor() [all …]
|
D | nv50.c | 66 struct nvkm_vm *vm; in nv50_bar_oneinit() local 87 ret = nvkm_vm_new(device, start, limit, start, &bar3_lock, &vm); in nv50_bar_oneinit() 91 atomic_inc(&vm->engref[NVKM_SUBDEV_BAR]); in nv50_bar_oneinit() 93 ret = nvkm_vm_boot(vm, limit-- - start); in nv50_bar_oneinit() 97 ret = nvkm_vm_ref(vm, &bar->bar3_vm, bar->pgd); in nv50_bar_oneinit() 98 nvkm_vm_ref(NULL, &vm, NULL); in nv50_bar_oneinit() 120 ret = nvkm_vm_new(device, start, limit--, start, &bar1_lock, &vm); in nv50_bar_oneinit() 124 atomic_inc(&vm->engref[NVKM_SUBDEV_BAR]); in nv50_bar_oneinit() 126 ret = nvkm_vm_ref(vm, &bar->bar1_vm, bar->pgd); in nv50_bar_oneinit() 127 nvkm_vm_ref(NULL, &vm, NULL); in nv50_bar_oneinit()
|
D | gf100.h | 9 struct nvkm_vm *vm; member
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_modes.c | 584 void drm_display_mode_from_videomode(const struct videomode *vm, in drm_display_mode_from_videomode() argument 587 dmode->hdisplay = vm->hactive; in drm_display_mode_from_videomode() 588 dmode->hsync_start = dmode->hdisplay + vm->hfront_porch; in drm_display_mode_from_videomode() 589 dmode->hsync_end = dmode->hsync_start + vm->hsync_len; in drm_display_mode_from_videomode() 590 dmode->htotal = dmode->hsync_end + vm->hback_porch; in drm_display_mode_from_videomode() 592 dmode->vdisplay = vm->vactive; in drm_display_mode_from_videomode() 593 dmode->vsync_start = dmode->vdisplay + vm->vfront_porch; in drm_display_mode_from_videomode() 594 dmode->vsync_end = dmode->vsync_start + vm->vsync_len; in drm_display_mode_from_videomode() 595 dmode->vtotal = dmode->vsync_end + vm->vback_porch; in drm_display_mode_from_videomode() 597 dmode->clock = vm->pixelclock / 1000; in drm_display_mode_from_videomode() [all …]
|
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_crtc.c | 63 struct videomode vm; in atmel_hlcdc_crtc_mode_set_nofb() local 68 vm.vfront_porch = adj->crtc_vsync_start - adj->crtc_vdisplay; in atmel_hlcdc_crtc_mode_set_nofb() 69 vm.vback_porch = adj->crtc_vtotal - adj->crtc_vsync_end; in atmel_hlcdc_crtc_mode_set_nofb() 70 vm.vsync_len = adj->crtc_vsync_end - adj->crtc_vsync_start; in atmel_hlcdc_crtc_mode_set_nofb() 71 vm.hfront_porch = adj->crtc_hsync_start - adj->crtc_hdisplay; in atmel_hlcdc_crtc_mode_set_nofb() 72 vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end; in atmel_hlcdc_crtc_mode_set_nofb() 73 vm.hsync_len = adj->crtc_hsync_end - adj->crtc_hsync_start; in atmel_hlcdc_crtc_mode_set_nofb() 76 (vm.hsync_len - 1) | ((vm.vsync_len - 1) << 16)); in atmel_hlcdc_crtc_mode_set_nofb() 79 (vm.vfront_porch - 1) | (vm.vback_porch << 16)); in atmel_hlcdc_crtc_mode_set_nofb() 82 (vm.hfront_porch - 1) | ((vm.hback_porch - 1) << 16)); in atmel_hlcdc_crtc_mode_set_nofb()
|
/linux-4.4.14/arch/s390/kernel/ |
D | lgr.c | 42 } vm[VM_LEVEL_MAX]; member 104 cpascii(lgr_info->vm[i].name, si->vm[i].name, in lgr_stsi_3_2_2() 105 sizeof(si->vm[i].name)); in lgr_stsi_3_2_2() 106 cpascii(lgr_info->vm[i].cpi, si->vm[i].cpi, in lgr_stsi_3_2_2() 107 sizeof(si->vm[i].cpi)); in lgr_stsi_3_2_2()
|
D | sysinfo.c | 210 if (info->vm[lvl].ext_name_encoding == 0) in print_ext_name() 214 switch (info->vm[lvl].ext_name_encoding) { in print_ext_name() 229 if (!memcmp(&info->vm[i].uuid, &NULL_UUID_BE, sizeof(uuid_be))) in print_uuid() 231 seq_printf(m, "VM%02d UUID: %pUb\n", i, &info->vm[i].uuid); in print_uuid() 241 EBCASC(info->vm[i].name, sizeof(info->vm[i].name)); in stsi_3_2_2() 242 EBCASC(info->vm[i].cpi, sizeof(info->vm[i].cpi)); in stsi_3_2_2() 244 seq_printf(m, "VM%02d Name: %-8.8s\n", i, info->vm[i].name); in stsi_3_2_2() 245 seq_printf(m, "VM%02d Control Program: %-16.16s\n", i, info->vm[i].cpi); in stsi_3_2_2() 246 seq_printf(m, "VM%02d Adjustment: %d\n", i, info->vm[i].caf); in stsi_3_2_2() 247 seq_printf(m, "VM%02d CPUs Total: %d\n", i, info->vm[i].cpus_total); in stsi_3_2_2() [all …]
|
D | early.c | 228 if (!memcmp(vmms->vm[0].cpi, "\xd2\xe5\xd4", 3)) in detect_machine_type()
|
/linux-4.4.14/arch/unicore32/mm/ |
D | ioremap.c | 238 struct vm_struct *vm; in __uc32_iounmap() local 247 vm = find_vm_area(addr); in __uc32_iounmap() 248 if (vm && (vm->flags & VM_IOREMAP) && in __uc32_iounmap() 249 (vm->flags & VM_UNICORE_SECTION_MAPPING)) in __uc32_iounmap() 250 unmap_area_sections((unsigned long)vm->addr, vm->size); in __uc32_iounmap()
|
/linux-4.4.14/tools/testing/selftests/vm/ |
D | run_vmtests | 21 nr_hugepgs=`cat /proc/sys/vm/nr_hugepages` 26 echo 3 > /proc/sys/vm/drop_caches 27 echo $(( $lackpgs + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages 109 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
|
/linux-4.4.14/drivers/video/fbdev/ |
D | sh7760fb.c | 202 struct fb_videomode *vm = par->pd->def_mode; in sh7760fb_set_par() local 212 if (par->rot && (vm->xres > 320)) { in sh7760fb_set_par() 218 hsynp = vm->right_margin + vm->xres; in sh7760fb_set_par() 219 hsynw = vm->hsync_len; in sh7760fb_set_par() 220 htcn = vm->left_margin + hsynp + hsynw; in sh7760fb_set_par() 221 hdcn = vm->xres; in sh7760fb_set_par() 222 vsynp = vm->lower_margin + vm->yres; in sh7760fb_set_par() 223 vsynw = vm->vsync_len; in sh7760fb_set_par() 224 vtln = vm->upper_margin + vsynp + vsynw; in sh7760fb_set_par() 225 vdln = vm->yres; in sh7760fb_set_par() [all …]
|
D | pxa168fb.h | 388 #define CFG_GRA_VM_ENA(vm) ((vm) << 15) /* gfx */ argument 390 #define CFG_DMA_VM_ENA(vm) ((vm) << 13) /* video */ argument 392 #define CFG_CMD_VM_ENA(vm) ((vm) << 13) argument
|
D | mxsfb.c | 737 struct videomode vm; in mxsfb_init_fbinfo_dt() local 779 ret = of_get_videomode(display_np, &vm, OF_USE_NATIVE_MODE); in mxsfb_init_fbinfo_dt() 785 ret = fb_videomode_from_videomode(&vm, vmode); in mxsfb_init_fbinfo_dt() 789 if (vm.flags & DISPLAY_FLAGS_DE_HIGH) in mxsfb_init_fbinfo_dt() 791 if (vm.flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE) in mxsfb_init_fbinfo_dt()
|
D | atmel_lcdfb.c | 1131 struct videomode vm; in atmel_lcdfb_of_init() local 1134 ret = videomode_from_timings(timings, &vm, i); in atmel_lcdfb_of_init() 1137 ret = fb_videomode_from_videomode(&vm, &fb_vm); in atmel_lcdfb_of_init()
|
D | tgafb.c | 422 min_diff = delta, vm = m, va = a, vr = r; \ 430 int r,a,m,vm = 34, va = 1, vr = 30; local 496 TGA_WRITE_REG(par, (vm >> r) & 1, TGA_CLOCK_REG);
|
/linux-4.4.14/mm/ |
D | vmalloc.c | 1157 void __init vm_area_add_early(struct vm_struct *vm) in vm_area_add_early() argument 1163 if (tmp->addr >= vm->addr) { in vm_area_add_early() 1164 BUG_ON(tmp->addr < vm->addr + vm->size); in vm_area_add_early() 1167 BUG_ON(tmp->addr + tmp->size > vm->addr); in vm_area_add_early() 1169 vm->next = *p; in vm_area_add_early() 1170 *p = vm; in vm_area_add_early() 1185 void __init vm_area_register_early(struct vm_struct *vm, size_t align) in vm_area_register_early() argument 1191 vm_init_off = PFN_ALIGN(addr + vm->size) - VMALLOC_START; in vm_area_register_early() 1193 vm->addr = (void *)addr; in vm_area_register_early() 1195 vm_area_add_early(vm); in vm_area_register_early() [all …]
|
D | zsmalloc.c | 278 struct vm_struct *vm; /* vm area for mapping object that span pages */ member 1037 if (area->vm) in __zs_cpu_up() 1039 area->vm = alloc_vm_area(PAGE_SIZE * 2, NULL); in __zs_cpu_up() 1040 if (!area->vm) in __zs_cpu_up() 1047 if (area->vm) in __zs_cpu_down() 1048 free_vm_area(area->vm); in __zs_cpu_down() 1049 area->vm = NULL; in __zs_cpu_down() 1055 BUG_ON(map_vm_area(area->vm, PAGE_KERNEL, pages)); in __zs_map_object() 1056 area->vm_addr = area->vm->addr; in __zs_map_object()
|
D | percpu.c | 2075 static struct vm_struct vm; in pcpu_page_first_chunk() local 2117 vm.flags = VM_ALLOC; in pcpu_page_first_chunk() 2118 vm.size = num_possible_cpus() * ai->unit_size; in pcpu_page_first_chunk() 2119 vm_area_register_early(&vm, PAGE_SIZE); in pcpu_page_first_chunk() 2123 (unsigned long)vm.addr + unit * ai->unit_size; in pcpu_page_first_chunk() 2148 unit_pages, psize_str, vm.addr, ai->static_size, in pcpu_page_first_chunk() 2151 rc = pcpu_setup_first_chunk(ai, vm.addr); in pcpu_page_first_chunk()
|
D | Kconfig | 322 See Documentation/vm/ksm.txt for more information: KSM is inactive 343 /proc/sys/vm/mmap_min_addr tunable. 384 (/proc/sys/vm/nr_trim_pages) which specifies the minimum number of 530 See Documentation/vm/soft-dirty.txt for more details. 650 See Documentation/vm/idle_page_tracking.txt for more details.
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | channv50.h | 16 struct nvkm_vm *vm; member 21 int nv50_fifo_chan_ctor(struct nv50_fifo *, u64 vm, u64 push, 28 int g84_fifo_chan_ctor(struct nv50_fifo *, u64 vm, u64 push,
|
D | chan.c | 120 if (chan->vm) in nvkm_fifo_chan_child_del() 121 atomic_dec(&chan->vm->engref[engine->subdev.index]); in nvkm_fifo_chan_child_del() 154 if (chan->vm) in nvkm_fifo_chan_child_new() 155 atomic_inc(&chan->vm->engref[engine->subdev.index]); in nvkm_fifo_chan_child_new() 328 nvkm_vm_ref(NULL, &chan->vm, NULL); in nvkm_fifo_chan_dtor() 350 u64 vm, u64 push, u64 engines, int bar, u32 base, u32 user, in nvkm_fifo_chan_ctor() argument 385 if (!vm && mmu) { in nvkm_fifo_chan_ctor() 386 if (!client->vm || client->vm->mmu == mmu) { in nvkm_fifo_chan_ctor() 387 ret = nvkm_vm_ref(client->vm, &chan->vm, NULL); in nvkm_fifo_chan_ctor()
|
D | gpfifogf100.c | 128 return nvkm_gpuobj_map(chan->engn[engn].inst, chan->vm, in gf100_fifo_gpfifo_engine_ctor() 173 nvkm_vm_ref(NULL, &chan->vm, chan->pgd); in gf100_fifo_gpfifo_dtor() 208 args->v0.version, args->v0.vm, args->v0.ioffset, in gf100_fifo_gpfifo_new() 221 0x1000, 0x1000, true, args->v0.vm, 0, in gf100_fifo_gpfifo_new() 248 ret = nvkm_vm_ref(chan->base.vm, &chan->vm, chan->pgd); in gf100_fifo_gpfifo_new()
|
D | channv50.c | 209 nvkm_vm_ref(NULL, &chan->vm, chan->pgd); in nv50_fifo_chan_dtor() 232 nv50_fifo_chan_ctor(struct nv50_fifo *fifo, u64 vm, u64 push, in nv50_fifo_chan_ctor() argument 240 0x10000, 0x1000, false, vm, push, in nv50_fifo_chan_ctor() 269 return nvkm_vm_ref(chan->base.vm, &chan->vm, chan->pgd); in nv50_fifo_chan_ctor()
|
D | gpfifogk104.c | 141 return nvkm_gpuobj_map(chan->engn[engn].inst, chan->vm, in gk104_fifo_gpfifo_engine_ctor() 186 nvkm_vm_ref(NULL, &chan->vm, chan->pgd); in gk104_fifo_gpfifo_dtor() 222 args->v0.version, args->v0.vm, args->v0.ioffset, in gk104_fifo_gpfifo_new() 260 0x1000, 0x1000, true, args->v0.vm, 0, in gk104_fifo_gpfifo_new() 281 ret = nvkm_vm_ref(chan->base.vm, &chan->vm, chan->pgd); in gk104_fifo_gpfifo_new()
|
D | chang84.c | 232 g84_fifo_chan_ctor(struct nv50_fifo *fifo, u64 vm, u64 push, in g84_fifo_chan_ctor() argument 240 0x10000, 0x1000, false, vm, push, in g84_fifo_chan_ctor() 284 return nvkm_vm_ref(chan->base.vm, &chan->vm, chan->pgd); in g84_fifo_chan_ctor()
|
D | gpfifonv50.c | 50 args->v0.version, args->v0.vm, args->v0.pushbuf, in nv50_fifo_gpfifo_new() 61 ret = nv50_fifo_chan_ctor(fifo, args->v0.vm, args->v0.pushbuf, in nv50_fifo_gpfifo_new()
|
D | dmanv50.c | 48 args->v0.version, args->v0.vm, args->v0.pushbuf, in nv50_fifo_dma_new() 59 ret = nv50_fifo_chan_ctor(fifo, args->v0.vm, args->v0.pushbuf, in nv50_fifo_dma_new()
|
D | gpfifog84.c | 50 args->v0.version, args->v0.vm, args->v0.pushbuf, in g84_fifo_gpfifo_new() 61 ret = g84_fifo_chan_ctor(fifo, args->v0.vm, args->v0.pushbuf, in g84_fifo_gpfifo_new()
|
D | dmag84.c | 48 args->v0.version, args->v0.vm, args->v0.pushbuf, in g84_fifo_dma_new() 59 ret = g84_fifo_chan_ctor(fifo, args->v0.vm, args->v0.pushbuf, in g84_fifo_dma_new()
|
D | changf100.h | 15 struct nvkm_vm *vm; member
|
D | changk104.h | 16 struct nvkm_vm *vm; member
|
D | chan.h | 22 u32 size, u32 align, bool zero, u64 vm, u64 push,
|
/linux-4.4.14/drivers/video/fbdev/core/ |
D | fbmon.c | 1400 int fb_videomode_from_videomode(const struct videomode *vm, in fb_videomode_from_videomode() argument 1405 fbmode->xres = vm->hactive; in fb_videomode_from_videomode() 1406 fbmode->left_margin = vm->hback_porch; in fb_videomode_from_videomode() 1407 fbmode->right_margin = vm->hfront_porch; in fb_videomode_from_videomode() 1408 fbmode->hsync_len = vm->hsync_len; in fb_videomode_from_videomode() 1410 fbmode->yres = vm->vactive; in fb_videomode_from_videomode() 1411 fbmode->upper_margin = vm->vback_porch; in fb_videomode_from_videomode() 1412 fbmode->lower_margin = vm->vfront_porch; in fb_videomode_from_videomode() 1413 fbmode->vsync_len = vm->vsync_len; in fb_videomode_from_videomode() 1416 fbmode->pixclock = vm->pixelclock ? in fb_videomode_from_videomode() [all …]
|
/linux-4.4.14/block/partitions/ |
D | ldm.c | 238 static bool ldm_parse_vmdb (const u8 *data, struct vmdb *vm) in ldm_parse_vmdb() argument 240 BUG_ON (!data || !vm); in ldm_parse_vmdb() 247 vm->ver_major = get_unaligned_be16(data + 0x12); in ldm_parse_vmdb() 248 vm->ver_minor = get_unaligned_be16(data + 0x14); in ldm_parse_vmdb() 249 if ((vm->ver_major != 4) || (vm->ver_minor != 10)) { in ldm_parse_vmdb() 251 "Aborting.", 4, 10, vm->ver_major, vm->ver_minor); in ldm_parse_vmdb() 255 vm->vblk_size = get_unaligned_be32(data + 0x08); in ldm_parse_vmdb() 256 if (vm->vblk_size == 0) { in ldm_parse_vmdb() 261 vm->vblk_offset = get_unaligned_be32(data + 0x0C); in ldm_parse_vmdb() 262 vm->last_vblk_seq = get_unaligned_be32(data + 0x04); in ldm_parse_vmdb() [all …]
|
D | ldm.h | 204 struct vmdb vm; member
|
/linux-4.4.14/drivers/media/radio/si4713/ |
D | si4713.c | 1069 struct v4l2_modulator vm; in si4713_setup() local 1078 vm.index = 0; in si4713_setup() 1080 vm.txsubchans = V4L2_TUNER_SUB_STEREO; in si4713_setup() 1082 vm.txsubchans = V4L2_TUNER_SUB_MONO; in si4713_setup() 1084 vm.txsubchans |= V4L2_TUNER_SUB_RDS; in si4713_setup() 1085 si4713_s_modulator(&sdev->sd, &vm); in si4713_setup() 1269 static int si4713_g_modulator(struct v4l2_subdev *sd, struct v4l2_modulator *vm) in si4713_g_modulator() argument 1277 if (vm->index > 0) in si4713_g_modulator() 1280 strncpy(vm->name, "FM Modulator", 32); in si4713_g_modulator() 1281 vm->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_LOW | in si4713_g_modulator() [all …]
|
D | radio-platform-si4713.c | 95 struct v4l2_modulator *vm) in radio_si4713_g_modulator() argument 98 g_modulator, vm); in radio_si4713_g_modulator() 102 const struct v4l2_modulator *vm) in radio_si4713_s_modulator() argument 105 s_modulator, vm); in radio_si4713_s_modulator()
|
D | radio-usb-si4713.c | 92 struct v4l2_modulator *vm) in vidioc_g_modulator() argument 96 return v4l2_subdev_call(radio->v4l2_subdev, tuner, g_modulator, vm); in vidioc_g_modulator() 100 const struct v4l2_modulator *vm) in vidioc_s_modulator() argument 104 return v4l2_subdev_call(radio->v4l2_subdev, tuner, s_modulator, vm); in vidioc_s_modulator()
|
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/ |
D | panel-dpi.c | 164 struct videomode vm; in panel_dpi_probe_pdata() local 180 videomode_from_timing(pdata->display_timing, &vm); in panel_dpi_probe_pdata() 181 videomode_to_omap_video_timings(&vm, &ddata->videomode); in panel_dpi_probe_pdata() 209 struct videomode vm; in panel_dpi_probe_of() local 226 videomode_from_timing(&timing, &vm); in panel_dpi_probe_of() 227 videomode_to_omap_video_timings(&vm, &ddata->videomode); in panel_dpi_probe_of()
|
/linux-4.4.14/include/video/ |
D | videomode.h | 44 struct videomode *vm); 56 struct videomode *vm, unsigned int index);
|
D | of_videomode.h | 15 int of_get_videomode(struct device_node *np, struct videomode *vm,
|
D | omapdss.h | 862 void videomode_to_omap_video_timings(const struct videomode *vm, 865 struct videomode *vm);
|
/linux-4.4.14/Documentation/ABI/obsolete/ |
D | proc-sys-vm-nr_pdflush_threads | 1 What: /proc/sys/vm/nr_pdflush_threads 5 exported in /proc/sys/vm/ should be removed.
|
/linux-4.4.14/Documentation/sysctl/ |
D | 00-INDEX | 15 vm.txt 16 - documentation for /proc/sys/vm/*.
|
D | vm.txt | 1 Documentation for /proc/sys/vm/* kernel version 2.6.29 10 /proc/sys/vm and is valid for Linux kernel version 2.6.29. 19 Currently, these files are in /proc/sys/vm: 194 echo 1 > /proc/sys/vm/drop_caches 196 echo 2 > /proc/sys/vm/drop_caches 198 echo 3 > /proc/sys/vm/drop_caches 202 `sync' prior to writing to /proc/sys/vm/drop_caches. This will minimize the 312 % cat /proc/sys/vm/lowmem_reserve_ratio 492 See Documentation/vm/hugetlbpage.txt 501 See Documentation/vm/hugetlbpage.txt [all …]
|
D | README | 70 vm/ memory management tuning
|
/linux-4.4.14/tools/testing/fault-injection/ |
D | failcmd.sh | 34 set /proc/sys/vm/oom_kill_allocating_task to specified value 114 oom_kill_allocating_task_saved=`cat /proc/sys/vm/oom_kill_allocating_task` 120 > /proc/sys/vm/oom_kill_allocating_task 211 echo $oom_kill_allocating_task > /proc/sys/vm/oom_kill_allocating_task
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 71 nv50_instobj_boot(struct nvkm_memory *memory, struct nvkm_vm *vm) in nv50_instobj_boot() argument 82 ret = nvkm_vm_get(vm, size, 12, NV_MEM_ACCESS_RW, &iobj->bar); in nv50_instobj_boot() 111 struct nvkm_vm *vm; in nv50_instobj_acquire() local 114 if (!iobj->map && (vm = nvkm_bar_kmap(bar))) in nv50_instobj_acquire() 115 nvkm_memory_boot(memory, vm); in nv50_instobj_acquire()
|
D | base.c | 121 nvkm_instobj_boot(struct nvkm_memory *memory, struct nvkm_vm *vm) in nvkm_instobj_boot() argument 124 nvkm_memory_boot(memory, vm); in nvkm_instobj_boot()
|
/linux-4.4.14/arch/tile/mm/ |
D | pgtable.c | 479 struct vm_area_struct *vm; in update_priority_cached() local 480 for (vm = mm->mmap; vm; vm = vm->vm_next) { in update_priority_cached() 481 if (hv_pte_get_cached_priority(vm->vm_page_prot)) in update_priority_cached() 484 if (vm == NULL) in update_priority_cached()
|
/linux-4.4.14/arch/x86/xen/ |
D | p2m.c | 415 static struct vm_struct vm; in xen_vmalloc_p2m_tree() local 421 vm.flags = VM_ALLOC; in xen_vmalloc_p2m_tree() 422 vm.size = ALIGN(sizeof(unsigned long) * max(xen_max_p2m_pfn, p2m_limit), in xen_vmalloc_p2m_tree() 424 vm_area_register_early(&vm, PMD_SIZE * PMDS_PER_MID_PAGE); in xen_vmalloc_p2m_tree() 425 pr_notice("p2m virtual area at %p, size is %lx\n", vm.addr, vm.size); in xen_vmalloc_p2m_tree() 427 xen_max_p2m_pfn = vm.size / sizeof(unsigned long); in xen_vmalloc_p2m_tree() 429 xen_rebuild_p2m_list(vm.addr); in xen_vmalloc_p2m_tree() 431 xen_p2m_addr = vm.addr; in xen_vmalloc_p2m_tree()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_chan.c | 131 ret = nouveau_bo_vma_add(chan->push.buffer, cli->vm, in nouveau_channel_prep() 141 args.limit = cli->vm->mmu->limit - 1; in nouveau_channel_prep() 218 args.kepler.vm = 0; in nouveau_channel_ind() 225 args.fermi.vm = 0; in nouveau_channel_ind() 232 args.nv50.vm = 0; in nouveau_channel_ind() 309 args.limit = cli->vm->mmu->limit - 1; in nouveau_channel_init() 326 args.limit = cli->vm->mmu->limit - 1; in nouveau_channel_init()
|
D | nouveau_ttm.c | 201 struct nvkm_vm *vm = NULL; in nv04_gart_manager_init() local 202 nvkm_vm_ref(priv->vm, &vm, NULL); in nv04_gart_manager_init() 203 man->priv = vm; in nv04_gart_manager_init() 210 struct nvkm_vm *vm = man->priv; in nv04_gart_manager_fini() local 211 nvkm_vm_ref(NULL, &vm, NULL); in nv04_gart_manager_fini()
|
D | nv84_fence.c | 151 ret = nouveau_bo_vma_add(priv->bo, cli->vm, &fctx->vma); in nv84_fence_context_new() 153 ret = nouveau_bo_vma_add(priv->bo_gart, cli->vm, in nv84_fence_context_new() 160 ret = nouveau_bo_vma_add(bo, cli->vm, &fctx->dispc_vma[i]); in nv84_fence_context_new()
|
D | nouveau_bo.c | 190 if (drm->client.vm) in nouveau_bo_new() 191 lpg_shift = drm->client.vm->mmu->lpg_shift; in nouveau_bo_new() 216 if (drm->client.vm) { in nouveau_bo_new() 218 nvbo->page_shift = drm->client.vm->mmu->lpg_shift; in nouveau_bo_new() 1038 ret = nvkm_vm_get(drm->client.vm, size, old_node->page_shift, in nouveau_bo_move_prep() 1043 ret = nvkm_vm_get(drm->client.vm, size, new_node->page_shift, in nouveau_bo_move_prep() 1239 nvbo->page_shift != vma->vm->mmu->lpg_shift)) { in nouveau_bo_move_ntfy() 1617 nouveau_bo_vma_find(struct nouveau_bo *nvbo, struct nvkm_vm *vm) in nouveau_bo_vma_find() argument 1621 if (vma->vm == vm) in nouveau_bo_vma_find() 1629 nouveau_bo_vma_add(struct nouveau_bo *nvbo, struct nvkm_vm *vm, in nouveau_bo_vma_add() argument [all …]
|
D | nouveau_gem.c | 71 if (!cli->vm) in nouveau_gem_object_open() 78 vma = nouveau_bo_vma_find(nvbo, cli->vm); in nouveau_gem_object_open() 92 ret = nouveau_bo_vma_add(nvbo, cli->vm, vma); in nouveau_gem_object_open() 156 if (!cli->vm) in nouveau_gem_object_close() 163 vma = nouveau_bo_vma_find(nvbo, cli->vm); in nouveau_gem_object_close() 239 if (cli->vm) { in nouveau_gem_info() 240 vma = nouveau_bo_vma_find(nvbo, cli->vm); in nouveau_gem_info()
|
D | nouveau_drm.c | 132 nvkm_vm_ref(NULL, &nvxx_client(&cli->base)->vm, NULL); in nouveau_cli_destroy() 426 0x1000, NULL, &drm->client.vm); in nouveau_drm_load() 430 nvxx_client(&drm->client.base)->vm = drm->client.vm; in nouveau_drm_load() 811 0x1000, NULL, &cli->vm); in nouveau_drm_open() 817 nvxx_client(&cli->base)->vm = cli->vm; in nouveau_drm_open()
|
D | nouveau_drm.h | 87 struct nvkm_vm *vm; /*XXX*/ member
|
D | nouveau_dma.c | 91 vma = nouveau_bo_vma_find(bo, cli->vm); in nv50_dma_push()
|
D | nouveau_fbcon.c | 381 ret = nouveau_bo_vma_add(nvbo, drm->client.vm, in nouveau_fbcon_create()
|
D | nouveau_abi16.c | 319 ret = nouveau_bo_vma_add(chan->ntfy, cli->vm, in nouveau_abi16_ioctl_channel_alloc()
|
/linux-4.4.14/include/linux/ |
D | vmalloc.h | 49 struct vm_struct *vm; member 159 extern __init void vm_area_add_early(struct vm_struct *vm); 160 extern __init void vm_area_register_early(struct vm_struct *vm, size_t align);
|
D | kasan.h | 63 void kasan_free_shadow(const struct vm_struct *vm); 92 static inline void kasan_free_shadow(const struct vm_struct *vm) {} in kasan_free_shadow() argument
|
D | fb.h | 728 extern int fb_videomode_from_videomode(const struct videomode *vm,
|
/linux-4.4.14/arch/s390/kvm/ |
D | priv.c | 477 memcpy(&mem->vm[n], &mem->vm[n - 1], sizeof(mem->vm[0])); in handle_stsi_3_2_2() 479 memset(&mem->vm[0], 0, sizeof(mem->vm[0])); in handle_stsi_3_2_2() 480 mem->vm[0].cpus_total = cpus; in handle_stsi_3_2_2() 481 mem->vm[0].cpus_configured = cpus; in handle_stsi_3_2_2() 482 mem->vm[0].cpus_standby = 0; in handle_stsi_3_2_2() 483 mem->vm[0].cpus_reserved = 0; in handle_stsi_3_2_2() 484 mem->vm[0].caf = 1000; in handle_stsi_3_2_2() 485 memcpy(mem->vm[0].name, "KVMguest", 8); in handle_stsi_3_2_2() 486 ASCEBC(mem->vm[0].name, 8); in handle_stsi_3_2_2() 487 memcpy(mem->vm[0].cpi, "KVM/Linux ", 16); in handle_stsi_3_2_2() [all …]
|
/linux-4.4.14/Documentation/laptops/ |
D | laptop-mode.txt | 80 Laptop mode is controlled by the knob /proc/sys/vm/laptop_mode. This knob is 93 /proc/sys/vm to about 10 minutes (by default), which means that pages that are 103 gather information by setting the flag /proc/sys/vm/block_dump. When this flag 168 the /proc/sys/vm/dirty_ratio sysctl. 174 this nice and low. This corresponds to the /proc/sys/vm/dirty_background_ratio 427 if [ ! -e /proc/sys/vm/laptop_mode ] ; then 432 if [ ! -w /proc/sys/vm/laptop_mode ] ; then 553 if [ -d /proc/sys/vm/pagebuf ] ; then 557 echo $XFS_AGE > /proc/sys/vm/pagebuf/lm_flush_age 581 echo 1 > /proc/sys/vm/laptop_mode [all …]
|
/linux-4.4.14/drivers/s390/cio/ |
D | device_id.c | 173 int vm = 0; in snsid_callback() local 180 vm = 1; in snsid_callback() 186 senseid->dev_model, vm ? " (diag210)" : ""); in snsid_callback()
|
/linux-4.4.14/drivers/xen/ |
D | sys-hypervisor.c | 123 char *vm, *val; in uuid_show_fallback() local 130 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show_fallback() 131 if (IS_ERR(vm)) in uuid_show_fallback() 132 return PTR_ERR(vm); in uuid_show_fallback() 133 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback() 134 kfree(vm); in uuid_show_fallback()
|
/linux-4.4.14/Documentation/vm/ |
D | hugetlbpage.txt | 47 the pool above the value in /proc/sys/vm/nr_hugepages. The 49 /proc/sys/vm/nr_overcommit_hugepages. 54 /proc/sys/vm/nr_hugepages indicates the current number of "persistent" huge 80 When multiple huge page sizes are supported, /proc/sys/vm/nr_hugepages 85 echo 20 > /proc/sys/vm/nr_hugepages 115 /proc/sys/vm/nr_overcommit_hugepages specifies how large the pool of 116 huge pages can grow, if more huge pages than /proc/sys/vm/nr_hugepages are 144 the huge page userspace interface in /proc/sys/vm has been duplicated in sysfs. 181 >/proc/sys/vm/nr_hugepages_mempolicy 185 numactl -m <node-list> echo 20 >/proc/sys/vm/nr_hugepages_mempolicy [all …]
|
D | overcommit-accounting | 27 The overcommit policy is set via the sysctl `vm.overcommit_memory'. 29 The overcommit amount can be set via `vm.overcommit_ratio' (percentage) 30 or `vm.overcommit_kbytes' (absolute value).
|
D | hwpoison.txt | 53 vm.memory_failure_recovery sysctl set to zero: 74 vm.memory_failure_recovery 77 vm.memory_failure_early_kill 155 Documentation/vm/pagemap.txt
|
D | pagemap.txt | 18 * Bit 55 pte is soft-dirty (see Documentation/vm/soft-dirty.txt) 100 pages are hugeTLB pages (Documentation/vm/hugetlbpage.txt), the SLUB etc. 126 Documentation/vm/idle_page_tracking.txt). Note that this flag may be 151 The page-types tool in the tools/vm directory can be used to query the
|
D | 00-INDEX | 22 - information about NUMA specific code in the Linux vm.
|
D | remap_file_pages.txt | 26 vm.max_map_count limit more easily due to additional VMAs. See comment for
|
D | page_owner.txt | 67 cd tools/vm
|
D | numa | 86 Documentation/sysctl/vm.txt] 112 [see Documentation/vm/numa_memory_policy.txt.]
|
D | idle_page_tracking.txt | 55 See Documentation/vm/pagemap.txt for more information about /proc/pid/pagemap,
|
D | slub.txt | 20 gcc -o slabinfo tools/vm/slabinfo.c
|
D | unevictable-lru.txt | 458 behavior is to do so. /proc/sys/vm/compact_unevictable_allowed controls 459 this behavior (see Documentation/sysctl/vm.txt). Once scanning of the
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event.h | 428 #define EVENT_EXTRA_REG(e, ms, m, vm, i) { \ argument 432 .valid_mask = (vm), \ 437 #define INTEL_EVENT_EXTRA_REG(event, msr, vm, idx) \ argument 438 EVENT_EXTRA_REG(event, msr, ARCH_PERFMON_EVENTSEL_EVENT, vm, idx) 440 #define INTEL_UEVENT_EXTRA_REG(event, msr, vm, idx) \ argument 442 ARCH_PERFMON_EVENTSEL_UMASK, vm, idx)
|
/linux-4.4.14/drivers/gpu/drm/panel/ |
D | panel-samsung-ld9040.c | 98 struct videomode vm; member 275 drm_display_mode_from_videomode(&ctx->vm, mode); in ld9040_get_modes() 301 ret = of_get_videomode(np, &ctx->vm, 0); in ld9040_parse_dt()
|
D | panel-samsung-s6e8aa0.c | 105 struct videomode vm; member 934 drm_display_mode_from_videomode(&ctx->vm, mode); in s6e8aa0_get_modes() 960 ret = of_get_videomode(np, &ctx->vm, 0); in s6e8aa0_parse_dt()
|
D | panel-lg-lg4573.c | 32 struct videomode vm; member
|
D | panel-simple.c | 104 struct videomode vm; in panel_simple_get_fixed_modes() local 106 videomode_from_timing(dt, &vm); in panel_simple_get_fixed_modes() 114 drm_display_mode_from_videomode(&vm, mode); in panel_simple_get_fixed_modes()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/ |
D | class.h | 405 __u64 vm; member 423 __u64 vm; member 432 __u64 vm; member 448 __u64 vm; member
|
/linux-4.4.14/Documentation/virtual/kvm/ |
D | api.txt | 81 Type: system, vm, or vcpu. 154 Capability: basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl 156 Type: system ioctl, vm ioctl 167 It is thus encouraged to use the vm ioctl to query for capabilities (available 168 with KVM_CAP_CHECK_EXTENSION_VM on the vm fd) 187 Type: vm ioctl 198 Type: vm ioctl 234 4.8 KVM_GET_DIRTY_LOG (vm ioctl) 238 Type: vm ioctl 267 Type: vm ioctl [all …]
|
/linux-4.4.14/tools/ |
D | Makefile | 55 cgroup firewire hv guest usb virtio vm net iio: FORCE target 86 virtio vm net x86_energy_perf_policy \
|
/linux-4.4.14/include/linux/platform_data/ |
D | video-clcd-versatile.h | 18 static inline int versatile_clcd_mmap_dma(struct clcd_fb *fb, struct vm_area_struct *vm) in versatile_clcd_mmap_dma() argument
|
/linux-4.4.14/drivers/gpu/drm/imx/ |
D | ipuv3-crtc.c | 245 struct videomode vm; in ipu_crtc_mode_fixup() local 248 drm_display_mode_to_videomode(adjusted_mode, &vm); in ipu_crtc_mode_fixup() 250 ret = ipu_di_adjust_videomode(ipu_crtc->di, &vm); in ipu_crtc_mode_fixup() 254 drm_display_mode_from_videomode(&vm, adjusted_mode); in ipu_crtc_mode_fixup()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | intel-mid-touch.c | 138 static int mrstouch_ts_chan_read(u16 offset, u16 chan, u16 *vp, u16 *vm) in mrstouch_ts_chan_read() argument 161 *vm = (res & 0xFF) << 3; /* Highest 7 bits */ in mrstouch_ts_chan_read() 162 *vm |= (res >> 8) & 0x07; /* Lower 3 bits */ in mrstouch_ts_chan_read() 163 *vm &= 0x3FF; in mrstouch_ts_chan_read()
|
/linux-4.4.14/include/drm/ |
D | exynos_drm.h | 28 struct videomode vm; member
|
D | drm_modes.h | 205 void drm_display_mode_from_videomode(const struct videomode *vm, 208 struct videomode *vm);
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-hugepages | 15 See Documentation/vm/hugetlbpage.txt for details.
|
D | sysfs-kernel-mm-ksm | 43 See Documentation/vm/ksm.txt for more information.
|
D | sysfs-kernel-slab | 40 enabled for that cache (see Documentation/vm/slub.txt). 222 Documentation/vm/slub.txt).
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
D | gpuobj.c | 222 nvkm_gpuobj_map(struct nvkm_gpuobj *gpuobj, struct nvkm_vm *vm, in nvkm_gpuobj_map() argument 226 int ret = nvkm_vm_get(vm, gpuobj->size, 12, access, vma); in nvkm_gpuobj_map()
|
/linux-4.4.14/drivers/gpu/drm/tilcdc/ |
D | tilcdc_panel.c | 181 struct videomode vm; in panel_connector_get_modes() local 183 if (videomode_from_timings(timings, &vm, i)) in panel_connector_get_modes() 186 drm_display_mode_from_videomode(&vm, mode); in panel_connector_get_modes()
|
/linux-4.4.14/mm/kasan/ |
D | kasan.c | 455 void kasan_free_shadow(const struct vm_struct *vm) in kasan_free_shadow() argument 457 if (vm->flags & VM_KASAN) in kasan_free_shadow() 458 vfree(kasan_mem_to_shadow(vm->addr)); in kasan_free_shadow()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
D | fifo.h | 24 struct nvkm_vm *vm; member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | mmu.h | 21 struct nvkm_vm *vm; member
|
/linux-4.4.14/include/misc/ |
D | cxl.h | 198 int cxl_fd_mmap(struct file *file, struct vm_area_struct *vm);
|
/linux-4.4.14/arch/s390/include/asm/ |
D | sysinfo.h | 124 } vm[8]; member
|
/linux-4.4.14/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.h | 633 #define CFG_GRA_VM_ENA(vm) ((vm)<<15) argument 635 #define CFG_DMA_VM_ENA(vm) ((vm)<<13) argument 637 #define CFG_CMD_VM_ENA(vm) ((vm)<<12) argument
|
/linux-4.4.14/Documentation/s390/ |
D | 3270.txt | 90 with emulated 3270s, as soon as you dial into your vm guest using the 95 3. Define graphic devices to your vm guest machine, if you 136 x3270 vm-esa-domain-name & 148 dial my-vm-guest-name 152 see instead the line "DIALED TO my-vm-guest-name 0620". 175 "HCPDIA047E my-vm-guest-name 0620 does not exist"?
|
D | monreader.txt | 138 be found here (z/VM 5.1): http://www.vm.ibm.com/pubs/mon510/index.html
|
D | Debugging390.txt | 1498 SP PRT TO (another vm guest ) or * for the local vm guest
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | client.h | 19 struct nvkm_vm *vm; member
|
/linux-4.4.14/tools/testing/selftests/ |
D | Makefile | 27 TARGETS += vm
|
/linux-4.4.14/drivers/misc/cxl/ |
D | api.c | 234 int cxl_fd_mmap(struct file *file, struct vm_area_struct *vm) in cxl_fd_mmap() argument 236 return afu_mmap(file, vm); in cxl_fd_mmap()
|
D | file.c | 277 int afu_mmap(struct file *file, struct vm_area_struct *vm) in afu_mmap() argument 288 return cxl_context_iomap(ctx, vm); in afu_mmap()
|
D | cxl.h | 747 int afu_mmap(struct file *file, struct vm_area_struct *vm);
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 588 static int pvr2_querymenu(struct file *file, void *priv, struct v4l2_querymenu *vm) in pvr2_querymenu() argument 595 ret = pvr2_ctrl_get_valname(pvr2_hdw_get_ctrl_v4l(hdw, vm->id), in pvr2_querymenu() 596 vm->index, in pvr2_querymenu() 597 vm->name, sizeof(vm->name) - 1, in pvr2_querymenu() 599 vm->name[cnt] = 0; in pvr2_querymenu()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
D | usernv04.c | 53 struct nvkm_memory *pgt = mmu->vm->pgt[0].mem[0]; in nv04_dmaobj_bind()
|
/linux-4.4.14/Documentation/DocBook/ |
D | kernel-api.xml.db | 210 API-vm-insert-page 211 API-vm-insert-pfn 213 API-vm-iomap-memory 216 API-vm-unmap-aliases 217 API-vm-unmap-ram 218 API-vm-map-ram 233 API-alloc-vm-area
|
D | gpu.xml.db | 625 API-i915-gem-evict-vm
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | Kconfig | 122 kvm/vm#/vcpu#/timings. The overhead is of the order of 30 - 40 135 report is available in debugfs kvm/vm#_vcpu#_timing.
|
/linux-4.4.14/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 1282 vaddr_t vm; in matroxfb_getmemory() local 1291 vm = minfo->video.vbase; in matroxfb_getmemory() 1303 *tmp++ = mga_readb(vm, offs); in matroxfb_getmemory() 1305 mga_writeb(vm, offs, 0x02); in matroxfb_getmemory() 1308 if (mga_readb(vm, offs) != 0x02) in matroxfb_getmemory() 1310 mga_writeb(vm, offs, mga_readb(vm, offs) - 0x02); in matroxfb_getmemory() 1311 if (mga_readb(vm, offs)) in matroxfb_getmemory() 1316 mga_writeb(vm, offs2, *tmp++); in matroxfb_getmemory()
|
/linux-4.4.14/include/media/ |
D | v4l2-subdev.h | 250 int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm); 251 int (*s_modulator)(struct v4l2_subdev *sd, const struct v4l2_modulator *vm);
|
/linux-4.4.14/Documentation/ |
D | unshare.txt | 195 vm, if the system call encounters an error while allocating 197 reverse the unsharing of vm. As part of the reversal the 198 system call will have to go back to older, shared, vm 274 3) For each of the four (namespace, filesystem, files and vm)
|
D | kasan.txt | 122 (see 'SLUB Debug output' section in Documentation/vm/slub.txt for details) and
|
D | 00-INDEX | 464 vm/ 465 - directory with info on the Linux vm code.
|
D | nommu-mmap.txt | 291 Page trimming behaviour is configurable via the sysctl `vm.nr_trim_pages'.
|
D | kernel-per-CPU-kthreads.txt | 198 /proc/sys/vm/stat_interval. The default value is HZ,
|
D | kernel-parameters.txt | 2619 See Documentation/sysctl/vm.txt for details. 3501 For more information see Documentation/vm/slub.txt. 3515 Documentation/vm/slub.txt. 3521 Documentation/vm/slub.txt. 3530 For more information see Documentation/vm/slub.txt. 3535 For more information see Documentation/vm/slub.txt. 3823 See Documentation/vm/transhuge.txt for more details.
|
D | kernel-docs.txt | 500 * Title: "A Linux vm README"
|
/linux-4.4.14/Documentation/ABI/stable/ |
D | sysfs-devices-node | 93 See Documentation/vm/hugetlbpage.txt
|
/linux-4.4.14/Documentation/virtual/kvm/devices/ |
D | vm.txt | 1 Generic vm interface
|
D | s390_flic.txt | 5 machine check interruptions. All interrupts are stored in a per-vm list of
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 388 static int v4l2_mmap(struct file *filp, struct vm_area_struct *vm) in v4l2_mmap() argument 396 ret = vdev->fops->mmap(filp, vm); in v4l2_mmap()
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_mac.h | 429 int hns_mac_vm_config_bc_en(struct hns_mac_cb *mac_cb, u32 vm, u8 en);
|
/linux-4.4.14/Documentation/cgroups/ |
D | blkio-controller.txt | 49 echo 3 > /proc/sys/vm/drop_caches 399 parameters which are absolute values - vm.dirty_bytes and 400 vm.dirty_background_bytes - are distributed across cgroups according
|
D | memory.txt | 76 (See sysctl's vm.swappiness) 426 A sync followed by echo 1 > /proc/sys/vm/drop_caches will help get rid of 542 Overrides /proc/sys/vm/swappiness for the particular group. The tunable
|
/linux-4.4.14/fs/ |
D | Kconfig | 172 <file:Documentation/vm/hugetlbpage.txt> for details.
|
/linux-4.4.14/Documentation/filesystems/ |
D | tmpfs.txt | 108 See Documentation/vm/numa_memory_policy.txt for a list of all available
|
D | proc.txt | 505 soft-dirty bit on pte (see Documentation/vm/soft-dirty.txt for details). 526 /proc/kpagecount. For detailed explanation, see Documentation/vm/pagemap.txt. 554 "policy" reports the NUMA memory policy set for the mapping (see vm/numa_memory_policy.txt); 910 CommitLimit: Based on the overcommit ratio ('vm.overcommit_ratio'), 914 'vm.overcommit_memory'). 919 of swap with a `vm.overcommit_ratio` of 30 it would 922 in vm/overcommit-accounting. 931 (mode 2 in 'vm.overcommit_memory'),allocations which would
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gf100.c | 369 ret = nvkm_vm_get(fifoch->vm, 0x1000, 12, NV_MEM_ACCESS_RW | in gf100_gr_chan_new() 384 ret = nvkm_vm_get(fifoch->vm, in gf100_gr_chan_new()
|
/linux-4.4.14/Documentation/kbuild/ |
D | kconfig-language.txt | 528 [1] http://gsd.uwaterloo.ca/sites/default/files/vm-2013-berger.pdf 552 [1] http://gsd.uwaterloo.ca/sites/default/files/vm-2013-berger.pdf
|
/linux-4.4.14/Documentation/device-mapper/ |
D | cache.txt | 22 scenarios (eg. a vm image server).
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
D | hub.fuc | 464 // ctx_load - load's a channel's ctxctl data, and selects its vm
|
/linux-4.4.14/arch/ia64/ |
D | Kconfig | 394 See <file:Documentation/vm/numa> for more.
|
/linux-4.4.14/Documentation/networking/ |
D | ixgb.txt | 386 increasing /proc/sys/vm/min_free_kbytes.
|
/linux-4.4.14/arch/alpha/ |
D | Kconfig | 587 See <file:Documentation/vm/numa> for more.
|
/linux-4.4.14/Documentation/scsi/ |
D | scsi_fc_transport.txt | 88 This could be used in the future to link the object onto a vm-specific
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core_main.c | 3180 EBCASC(info322->vm[0].name, sizeof(info322->vm[0].name)); in qeth_get_trap_id() 3181 memcpy(tid->vmname, info322->vm[0].name, sizeof(tid->vmname)); in qeth_get_trap_id()
|