Home
last modified time | relevance | path

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

12

/drivers/edac/
Dsynopsys_edac.c727 u32 memtype; in zynq_get_mtype() local
729 memtype = readl(base + T_ZQ_OFST); in zynq_get_mtype()
731 if (memtype & T_ZQ_DDRMODE_MASK) in zynq_get_mtype()
751 u32 memtype; in zynqmp_get_mtype() local
753 memtype = readl(base + CTRL_OFST); in zynqmp_get_mtype()
755 if ((memtype & MEM_TYPE_DDR3) || (memtype & MEM_TYPE_LPDDR3)) in zynqmp_get_mtype()
757 else if (memtype & MEM_TYPE_DDR2) in zynqmp_get_mtype()
759 else if ((memtype & MEM_TYPE_LPDDR4) || (memtype & MEM_TYPE_DDR4)) in zynqmp_get_mtype()
1119 u32 width, memtype; in setup_column_address_map() local
1122 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()
311 pdata->info.mem[RECV_BUF_MAP].memtype = UIO_MEM_VIRTUAL; in hv_uio_probe()
332 pdata->info.mem[SEND_BUF_MAP].memtype = UIO_MEM_VIRTUAL; in hv_uio_probe()
Duio_pruss.c192 p->mem[0].memtype = UIO_MEM_PHYS; in pruss_probe()
196 p->mem[1].memtype = UIO_MEM_PHYS; in pruss_probe()
200 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.c242 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
258 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
Duio_dfl.c30 uiomem->memtype = UIO_MEM_PHYS; in uio_dfl_probe()
Duio_pci_generic.c121 uiomem->memtype = UIO_MEM_PHYS; in 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.c207 uiomem->memtype = UIO_MEM_PHYS; in uio_pdrv_genirq_probe()
Duio_fsl_elbc_gpcm.c389 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
2079 minfo->devflags.memtype = memtype; in matroxfb_probe()
2080 if (memtype != -1) in matroxfb_probe()
2425 memtype = simple_strtoul(this_opt+8, NULL, 0); in matroxfb_setup()
2513 module_param(memtype, int, 0);
2514 MODULE_PARM_DESC(memtype, "Memory type for G200/G400 (see Documentation/fb/matroxfb.rst for explana…
Dmatroxfb_base.h454 int memtype; member
/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.h634 u32 memtype[MAX_XIN_COUNT]; member
Ddpu_vbif.c283 vbif, j, vbif->cap->memtype[j]); in dpu_vbif_init_memtypes()
/drivers/scsi/bfa/
Dbfa_ioc.c3757 bfa_trc(sfp, req->memtype); in bfa_sfp_getdata_send()
3771 bfa_sfp_getdata(struct bfa_sfp_s *sfp, enum bfi_sfp_mem_e memtype) in bfa_sfp_getdata() argument
3779 sfp->memtype = memtype; in bfa_sfp_getdata()
3780 req->memtype = memtype; in bfa_sfp_getdata()
3863 bfa_trc(sfp, sfp->memtype); in bfa_sfp_show_comp()
3864 if (sfp->memtype == BFI_SFP_MEM_DIAGEXT) { in bfa_sfp_show_comp()
3900 req->memtype = 0; in bfa_sfp_state_query()
Dbfi.h860 u8 memtype; member
/drivers/scsi/qedi/
Dqedi_main.c320 uinfo->mem[0].memtype = UIO_MEM_LOGICAL; in qedi_init_uio()
324 uinfo->mem[1].memtype = UIO_MEM_LOGICAL; in qedi_init_uio()
328 uinfo->mem[2].memtype = UIO_MEM_LOGICAL; in qedi_init_uio()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2267 u32 offset, memtype, memaddr; in cxgb4_read_tpte() local
2298 memtype = MEM_EDC0; in cxgb4_read_tpte()
2301 memtype = MEM_EDC1; in cxgb4_read_tpte()
2305 memtype = MEM_HMA; in cxgb4_read_tpte()
2308 memtype = MEM_MC0; in cxgb4_read_tpte()
2315 memtype = MEM_MC1; in cxgb4_read_tpte()
2328 ret = t4_memory_rw(adap, 0, memtype, memaddr, 32, tpte, T4_MEMORY_READ); in cxgb4_read_tpte()

12