Home
last modified time | relevance | path

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

12

/drivers/edac/
Dsynopsys_edac.c729 u32 memtype; in zynq_get_mtype() local
731 memtype = readl(base + T_ZQ_OFST); in zynq_get_mtype()
733 if (memtype & T_ZQ_DDRMODE_MASK) in zynq_get_mtype()
753 u32 memtype; in zynqmp_get_mtype() local
755 memtype = readl(base + CTRL_OFST); in zynqmp_get_mtype()
757 if ((memtype & MEM_TYPE_DDR3) || (memtype & MEM_TYPE_LPDDR3)) in zynqmp_get_mtype()
759 else if (memtype & MEM_TYPE_DDR2) in zynqmp_get_mtype()
761 else if ((memtype & MEM_TYPE_LPDDR4) || (memtype & MEM_TYPE_DDR4)) in zynqmp_get_mtype()
1121 u32 width, memtype; in setup_column_address_map() local
1124 memtype = readl(priv->baseaddr + CTRL_OFST); in setup_column_address_map()
[all …]
Dpnd2_edac.c1271 int i, j, ranks_of_dimm[DNV_MAX_DIMMS], banks, rowbits, colbits, memtype; in dnv_get_dimm_config() local
1277 memtype = MEM_DDR4; in dnv_get_dimm_config()
1281 memtype = MEM_DDR3; in dnv_get_dimm_config()
1297 if (memtype == MEM_DDR3) { in dnv_get_dimm_config()
1325 dimm->mtype = memtype; in dnv_get_dimm_config()
/drivers/uio/
Duio_hv_generic.c277 pdata->info.mem[TXRX_RING_MAP].memtype = UIO_MEM_IOVA; in hv_uio_probe()
283 pdata->info.mem[INT_PAGE_MAP].memtype = UIO_MEM_LOGICAL; in hv_uio_probe()
289 pdata->info.mem[MON_PAGE_MAP].memtype = UIO_MEM_LOGICAL; in hv_uio_probe()
309 pdata->info.mem[RECV_BUF_MAP].memtype = UIO_MEM_VIRTUAL; in hv_uio_probe()
328 pdata->info.mem[SEND_BUF_MAP].memtype = UIO_MEM_VIRTUAL; 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.c64 info->mem[0].memtype = UIO_MEM_PHYS; in hilscher_pci_probe()
67 info->mem[1].memtype = UIO_MEM_PHYS; in hilscher_pci_probe()
Duio_dmem_genirq.c222 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
238 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
Duio_netx.c91 info->mem[0].memtype = UIO_MEM_PHYS; in netx_pci_probe()
Duio_mf624.c128 mem->memtype = UIO_MEM_PHYS; in mf624_setup_mem()
Duio_sercos3.c116 info->mem[n].memtype = UIO_MEM_PHYS; in sercos3_setup_iomem()
Duio.c695 if (idev->info->mem[mi].memtype == UIO_MEM_LOGICAL) in uio_vma_fault()
741 if (idev->info->mem[mi].memtype == UIO_MEM_PHYS) in uio_mmap_physical()
798 switch (idev->info->mem[mi].memtype) { in uio_mmap()
Duio_pdrv_genirq.c180 uiomem->memtype = UIO_MEM_PHYS; in uio_pdrv_genirq_probe()
Duio_fsl_elbc_gpcm.c393 info->mem[0].memtype = UIO_MEM_PHYS; in uio_fsl_elbc_gpcm_probe()
/drivers/mtd/hyperbus/
Dhyperbus-core.c79 hbdev->memtype = HYPERFLASH; in hyperbus_register_device()
/drivers/video/fbdev/matrox/
Dmatroxfb_DAC1064.c941 if (minfo->devflags.memtype == -1) in MGAG100_preinit()
944 hw->MXoptionReg |= (minfo->devflags.memtype & 7) << 10; in MGAG100_preinit()
961 if (minfo->devflags.memtype == -1) in MGAG100_preinit()
964 hw->MXoptionReg |= (minfo->devflags.memtype & 7) << 10; in MGAG100_preinit()
Dmatroxfb_base.c1273 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.rst for explana…
Dmatroxfb_base.h454 int memtype; member
/drivers/gpu/drm/nouveau/
Dnouveau_bo.c408 nouveau_bo_pin(struct nouveau_bo *nvbo, uint32_t memtype, bool contig) in nouveau_bo_pin() argument
420 memtype == TTM_PL_FLAG_VRAM && contig) { in nouveau_bo_pin()
429 if (!(memtype & (1 << bo->mem.mem_type)) || evict) { in nouveau_bo_pin()
432 1 << bo->mem.mem_type, memtype); in nouveau_bo_pin()
447 nouveau_bo_placement_set(nvbo, memtype, 0); in nouveau_bo_pin()
/drivers/video/fbdev/sis/
Dsis_main.c4352 u16 index, rindex, memtype = 0; in sisfb_post_sis300() local
4362 memtype = bios[0x52]; in sisfb_post_sis300()
4364 memtype = SiS_GetReg(SISSR, 0x3a); in sisfb_post_sis300()
4366 memtype &= 0x07; in sisfb_post_sis300()
4377 index = memtype * 5; in sisfb_post_sis300()
4405 memtype += 0xa5; in sisfb_post_sis300()
4406 v1 = bios[memtype]; in sisfb_post_sis300()
4407 v2 = bios[memtype + 8]; in sisfb_post_sis300()
4408 v3 = bios[memtype + 16]; in sisfb_post_sis300()
4409 v4 = bios[memtype + 24]; in sisfb_post_sis300()
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_catalog.h552 u32 memtype[MAX_XIN_COUNT]; member
Ddpu_vbif.c290 vbif, j, vbif->cap->memtype[j]); in dpu_vbif_init_memtypes()
Ddpu_hw_catalog.c315 .memtype = {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
/drivers/scsi/bfa/
Dbfa_ioc.c3761 bfa_trc(sfp, req->memtype); in bfa_sfp_getdata_send()
3775 bfa_sfp_getdata(struct bfa_sfp_s *sfp, enum bfi_sfp_mem_e memtype) in bfa_sfp_getdata() argument
3783 sfp->memtype = memtype; in bfa_sfp_getdata()
3784 req->memtype = memtype; in bfa_sfp_getdata()
3867 bfa_trc(sfp, sfp->memtype); in bfa_sfp_show_comp()
3868 if (sfp->memtype == BFI_SFP_MEM_DIAGEXT) { in bfa_sfp_show_comp()
3904 req->memtype = 0; in bfa_sfp_state_query()
Dbfi.h860 u8 memtype; member
/drivers/staging/kpc2000/kpc2000/
Dcell_probe.c319 kudev->uioinfo.mem[0].memtype = UIO_MEM_PHYS; in probe_core_uio()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c1869 u32 offset, memtype, memaddr; in cxgb4_read_tpte() local
1900 memtype = MEM_EDC0; in cxgb4_read_tpte()
1903 memtype = MEM_EDC1; in cxgb4_read_tpte()
1907 memtype = MEM_HMA; in cxgb4_read_tpte()
1910 memtype = MEM_MC0; in cxgb4_read_tpte()
1917 memtype = MEM_MC1; in cxgb4_read_tpte()
1930 ret = t4_memory_rw(adap, 0, memtype, memaddr, 32, tpte, T4_MEMORY_READ); in cxgb4_read_tpte()

12