/drivers/edac/ |
D | synopsys_edac.c | 729 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 …]
|
D | pnd2_edac.c | 1271 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/ |
D | uio_hv_generic.c | 277 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()
|
D | uio_pruss.c | 199 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()
|
D | uio_cif.c | 64 info->mem[0].memtype = UIO_MEM_PHYS; in hilscher_pci_probe() 67 info->mem[1].memtype = UIO_MEM_PHYS; in hilscher_pci_probe()
|
D | uio_dmem_genirq.c | 222 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe() 238 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
|
D | uio_netx.c | 91 info->mem[0].memtype = UIO_MEM_PHYS; in netx_pci_probe()
|
D | uio_mf624.c | 128 mem->memtype = UIO_MEM_PHYS; in mf624_setup_mem()
|
D | uio_sercos3.c | 116 info->mem[n].memtype = UIO_MEM_PHYS; in sercos3_setup_iomem()
|
D | uio.c | 695 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()
|
D | uio_pdrv_genirq.c | 180 uiomem->memtype = UIO_MEM_PHYS; in uio_pdrv_genirq_probe()
|
D | uio_fsl_elbc_gpcm.c | 393 info->mem[0].memtype = UIO_MEM_PHYS; in uio_fsl_elbc_gpcm_probe()
|
/drivers/mtd/hyperbus/ |
D | hyperbus-core.c | 79 hbdev->memtype = HYPERFLASH; in hyperbus_register_device()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_DAC1064.c | 941 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()
|
D | matroxfb_base.c | 1273 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…
|
D | matroxfb_base.h | 454 int memtype; member
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 408 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/ |
D | sis_main.c | 4352 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/ |
D | dpu_hw_catalog.h | 552 u32 memtype[MAX_XIN_COUNT]; member
|
D | dpu_vbif.c | 290 vbif, j, vbif->cap->memtype[j]); in dpu_vbif_init_memtypes()
|
D | dpu_hw_catalog.c | 315 .memtype = {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
|
/drivers/scsi/bfa/ |
D | bfa_ioc.c | 3761 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()
|
D | bfi.h | 860 u8 memtype; member
|
/drivers/staging/kpc2000/kpc2000/ |
D | cell_probe.c | 319 kudev->uioinfo.mem[0].memtype = UIO_MEM_PHYS; in probe_core_uio()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 1869 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()
|