/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | gf100.c | 89 gf100_vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in gf100_vm_addr() argument 98 phys |= ((u64)memtype << 36); in gf100_vm_addr() 108 phys = gf100_vm_addr(vma, phys, mem->memtype, 0); in gf100_vm_map() 135 u32 memtype = gf100_pte_storage_type_map[mem->memtype & 0xff]; in gf100_vm_map_sg() local 140 u64 phys = gf100_vm_addr(vma, *list++, memtype, target); in gf100_vm_map_sg()
|
D | nv50.c | 64 vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in vm_addr() argument 67 phys |= (u64)memtype << 40; in vm_addr() 81 u32 comp = (mem->memtype & 0x180) >> 7; in nv50_vm_map() 92 phys = vm_addr(vma, phys, mem->memtype, target); in nv50_vm_map() 134 u64 phys = vm_addr(vma, (u64)*list++, mem->memtype, target); in nv50_vm_map_sg()
|
/drivers/uio/ |
D | uio_mf624.c | 156 info->mem[0].memtype = UIO_MEM_PHYS; in mf624_pci_probe() 167 info->mem[1].memtype = UIO_MEM_PHYS; in mf624_pci_probe() 178 info->mem[2].memtype = UIO_MEM_PHYS; in mf624_pci_probe()
|
D | uio_pruss.c | 191 p->mem[0].memtype = UIO_MEM_PHYS; in pruss_probe() 195 p->mem[1].memtype = UIO_MEM_PHYS; in pruss_probe() 199 p->mem[2].memtype = UIO_MEM_PHYS; in pruss_probe()
|
D | uio_cif.c | 66 info->mem[0].memtype = UIO_MEM_PHYS; in hilscher_pci_probe() 69 info->mem[1].memtype = UIO_MEM_PHYS; in hilscher_pci_probe()
|
D | uio_dmem_genirq.c | 228 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe() 244 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
|
D | uio_netx.c | 92 info->mem[0].memtype = UIO_MEM_PHYS; in netx_pci_probe()
|
D | uio_pdrv_genirq.c | 174 uiomem->memtype = UIO_MEM_PHYS; in uio_pdrv_genirq_probe()
|
D | uio_sercos3.c | 115 info->mem[n].memtype = UIO_MEM_PHYS; in sercos3_setup_iomem()
|
D | uio.c | 612 if (idev->info->mem[mi].memtype == UIO_MEM_LOGICAL) in uio_vma_fault() 699 switch (idev->info->mem[mi].memtype) { in uio_mmap()
|
D | uio_fsl_elbc_gpcm.c | 388 info->mem[0].memtype = UIO_MEM_PHYS; in uio_fsl_elbc_gpcm_probe()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | gf100.c | 32 u8 memtype = (tile_flags & 0x0000ff00) >> 8; in gf100_fb_memtype_valid() local 33 return likely((gf100_pte_storage_type_map[memtype] != 0xff)); in gf100_fb_memtype_valid()
|
D | priv.h | 24 bool (*memtype_valid)(struct nvkm_fb *, u32 memtype); 33 bool nv04_fb_memtype_valid(struct nvkm_fb *, u32 memtype);
|
D | base.c | 33 nvkm_fb_memtype_valid(struct nvkm_fb *fb, u32 memtype) in nvkm_fb_memtype_valid() argument 35 return fb->func->memtype_valid(fb, memtype); in nvkm_fb_memtype_valid()
|
D | nv50.c | 51 nv50_fb_memtype_valid(struct nvkm_fb *fb, u32 memtype) in nv50_fb_memtype_valid() argument 53 return nv50_fb_memtype[(memtype & 0xff00) >> 8] != 0; in nv50_fb_memtype_valid()
|
D | ramnv50.c | 529 u32 memtype, struct nvkm_mem **pmem) in nv50_ram_get() argument 535 int comp = (memtype & 0x300) >> 8; in nv50_ram_get() 536 int type = (memtype & 0x07f); in nv50_ram_get() 537 int back = (memtype & 0x800); in nv50_ram_get() 563 mem->memtype = (comp << 7) | type; in nv50_ram_get()
|
D | ramgf100.c | 446 u32 memtype, struct nvkm_mem **pmem) in gf100_ram_get() argument 452 int type = (memtype & 0x0ff); in gf100_ram_get() 453 int back = (memtype & 0x800); in gf100_ram_get() 481 mem->memtype = type; in gf100_ram_get()
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 34 u32 memtype; member 60 bool nvkm_fb_memtype_valid(struct nvkm_fb *, u32 memtype);
|
/drivers/edac/ |
D | synopsys_edac.c | 339 u32 memtype; in synps_edac_get_mtype() local 341 memtype = readl(base + T_ZQ_OFST); in synps_edac_get_mtype() 343 if (memtype & T_ZQ_DDRMODE_MASK) in synps_edac_get_mtype()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 308 nouveau_bo_pin(struct nouveau_bo *nvbo, uint32_t memtype, bool contig) in nouveau_bo_pin() argument 320 memtype == TTM_PL_FLAG_VRAM && contig) { in nouveau_bo_pin() 333 if (!(memtype & (1 << bo->mem.mem_type)) || evict) { in nouveau_bo_pin() 336 1 << bo->mem.mem_type, memtype); in nouveau_bo_pin() 351 nouveau_bo_placement_set(nvbo, memtype, 0); in nouveau_bo_pin() 895 int src_tiled = !!node->memtype; in nv50_bo_move_m2mf() 896 int dst_tiled = !!((struct nvkm_mem *)new_mem->mm_node)->memtype; in nv50_bo_move_m2mf() 1376 if (drm->device.info.family < NV_DEVICE_INFO_V0_TESLA || !node->memtype) in nouveau_ttm_io_mem_reserve()
|
D | nouveau_ttm.c | 162 node->memtype = (nvbo->tile_flags & 0x7f00) >> 8; in nouveau_gart_manager_new() 167 node->memtype = (nvbo->tile_flags & 0xff00) >> 8; in nouveau_gart_manager_new()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_DAC1064.c | 940 if (minfo->devflags.memtype == -1) in MGAG100_preinit() 943 hw->MXoptionReg |= (minfo->devflags.memtype & 7) << 10; in MGAG100_preinit() 960 if (minfo->devflags.memtype == -1) in MGAG100_preinit() 963 hw->MXoptionReg |= (minfo->devflags.memtype & 7) << 10; in MGAG100_preinit()
|
D | matroxfb_base.c | 1272 static int memtype = -1; /* "matroxfb:memtype:xxx" */ variable 2070 minfo->devflags.memtype = memtype; in matroxfb_probe() 2071 if (memtype != -1) in matroxfb_probe() 2414 memtype = simple_strtoul(this_opt+8, NULL, 0); in matroxfb_setup() 2504 module_param(memtype, int, 0); 2505 MODULE_PARM_DESC(memtype, "Memory type for G200/G400 (see Documentation/fb/matroxfb.txt for explana…
|
/drivers/video/fbdev/sis/ |
D | sis_main.c | 4311 u16 index, rindex, memtype = 0; in sisfb_post_sis300() local 4321 memtype = bios[0x52]; in sisfb_post_sis300() 4323 memtype = SiS_GetReg(SISSR, 0x3a); in sisfb_post_sis300() 4325 memtype &= 0x07; in sisfb_post_sis300() 4336 index = memtype * 5; in sisfb_post_sis300() 4364 memtype += 0xa5; in sisfb_post_sis300() 4365 v1 = bios[memtype]; in sisfb_post_sis300() 4366 v2 = bios[memtype + 8]; in sisfb_post_sis300() 4367 v3 = bios[memtype + 16]; in sisfb_post_sis300() 4368 v4 = bios[memtype + 24]; in sisfb_post_sis300() [all …]
|
/drivers/target/ |
D | target_core_user.c | 771 if (info->mem[mi].memtype == UIO_MEM_LOGICAL) in tcmu_vma_fault() 912 info->mem[0].memtype = UIO_MEM_VIRTUAL; in tcmu_configure_device()
|