Home
last modified time | relevance | path

Searched refs:memtype (Results 1 – 25 of 38) sorted by relevance

12

/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dgf100.c89 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()
Dnv50.c64 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/
Duio_hv_generic.c150 pdata->info.mem[TXRX_RING_MAP].memtype = UIO_MEM_LOGICAL; in hv_uio_probe()
156 pdata->info.mem[INT_PAGE_MAP].memtype = UIO_MEM_LOGICAL; in hv_uio_probe()
162 pdata->info.mem[MON_PAGE_MAP].memtype = UIO_MEM_LOGICAL; in hv_uio_probe()
Duio_pruss.c199 p->mem[0].memtype = UIO_MEM_PHYS; in pruss_probe()
203 p->mem[1].memtype = UIO_MEM_PHYS; in pruss_probe()
207 p->mem[2].memtype = UIO_MEM_PHYS; in pruss_probe()
Duio_cif.c66 info->mem[0].memtype = UIO_MEM_PHYS; in hilscher_pci_probe()
69 info->mem[1].memtype = UIO_MEM_PHYS; in hilscher_pci_probe()
Duio_dmem_genirq.c228 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
244 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
Duio_netx.c92 info->mem[0].memtype = UIO_MEM_PHYS; in netx_pci_probe()
Duio_mf624.c141 mem->memtype = UIO_MEM_PHYS; in mf624_setup_mem()
Duio_pdrv_genirq.c174 uiomem->memtype = UIO_MEM_PHYS; in uio_pdrv_genirq_probe()
Duio_sercos3.c115 info->mem[n].memtype = UIO_MEM_PHYS; in sercos3_setup_iomem()
Duio.c696 if (idev->info->mem[mi].memtype == UIO_MEM_LOGICAL) in uio_vma_fault()
798 switch (idev->info->mem[mi].memtype) { in uio_mmap()
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dpriv.h28 bool (*memtype_valid)(struct nvkm_fb *, u32 memtype);
37 bool nv04_fb_memtype_valid(struct nvkm_fb *, u32 memtype);
Dgf100.c35 u8 memtype = (tile_flags & 0x0000ff00) >> 8; in gf100_fb_memtype_valid() local
36 return likely((gf100_pte_storage_type_map[memtype] != 0xff)); in gf100_fb_memtype_valid()
Dbase.c35 nvkm_fb_memtype_valid(struct nvkm_fb *fb, u32 memtype) in nvkm_fb_memtype_valid() argument
37 return fb->func->memtype_valid(fb, memtype); in nvkm_fb_memtype_valid()
Dnv50.c51 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()
Dramnv50.c526 u32 memtype, struct nvkm_mem **pmem) in nv50_ram_get() argument
532 int comp = (memtype & 0x300) >> 8; in nv50_ram_get()
533 int type = (memtype & 0x07f); in nv50_ram_get()
534 int back = (memtype & 0x800); in nv50_ram_get()
559 mem->memtype = (comp << 7) | type; in nv50_ram_get()
Dramgf100.c444 u32 memtype, struct nvkm_mem **pmem) in gf100_ram_get() argument
450 int type = (memtype & 0x0ff); in gf100_ram_get()
451 int back = (memtype & 0x800); in gf100_ram_get()
478 mem->memtype = type; in gf100_ram_get()
/drivers/edac/
Dsynopsys_edac.c339 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()
Dpnd2_edac.c1277 int i, j, ranks_of_dimm[DNV_MAX_DIMMS], banks, rowbits, colbits, memtype; in dnv_get_dimm_config() local
1283 memtype = MEM_DDR4; in dnv_get_dimm_config()
1287 memtype = MEM_DDR3; in dnv_get_dimm_config()
1303 if (memtype == MEM_DDR3) { in dnv_get_dimm_config()
1331 dimm->mtype = memtype; in dnv_get_dimm_config()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h35 u32 memtype; member
66 bool nvkm_fb_memtype_valid(struct nvkm_fb *, u32 memtype);
/drivers/gpu/drm/nouveau/
Dnouveau_bo.c311 nouveau_bo_pin(struct nouveau_bo *nvbo, uint32_t memtype, bool contig) in nouveau_bo_pin() argument
323 memtype == TTM_PL_FLAG_VRAM && contig) { in nouveau_bo_pin()
336 if (!(memtype & (1 << bo->mem.mem_type)) || evict) { in nouveau_bo_pin()
339 1 << bo->mem.mem_type, memtype); in nouveau_bo_pin()
354 nouveau_bo_placement_set(nvbo, memtype, 0); in nouveau_bo_pin()
865 int src_tiled = !!mem->memtype; in nv50_bo_move_m2mf()
866 int dst_tiled = !!((struct nvkm_mem *)new_reg->mm_node)->memtype; in nv50_bo_move_m2mf()
1356 if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA || !mem->memtype) in nouveau_ttm_io_mem_reserve()
Dnouveau_ttm.c162 node->memtype = (nvbo->tile_flags & 0x7f00) >> 8; in nouveau_gart_manager_new()
168 node->memtype = (nvbo->tile_flags & 0xff00) >> 8; in nouveau_gart_manager_new()
/drivers/video/fbdev/matrox/
Dmatroxfb_DAC1064.c940 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()
Dmatroxfb_base.c1272 static int memtype = -1; /* "matroxfb:memtype:xxx" */ variable
2068 minfo->devflags.memtype = memtype; in matroxfb_probe()
2069 if (memtype != -1) in matroxfb_probe()
2412 memtype = simple_strtoul(this_opt+8, NULL, 0); in matroxfb_setup()
2502 module_param(memtype, int, 0);
2503 MODULE_PARM_DESC(memtype, "Memory type for G200/G400 (see Documentation/fb/matroxfb.txt for explana…
/drivers/video/fbdev/sis/
Dsis_main.c4311 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 …]

12