/linux-4.1.27/arch/x86/mm/ |
D | pat_rbtree.c | 39 static int is_node_overlap(struct memtype *node, u64 start, u64 end) in is_node_overlap() 51 struct memtype *data = container_of(node, struct memtype, rb); in get_subtree_max_end() 57 static u64 compute_subtree_max_end(struct memtype *data) in compute_subtree_max_end() 72 RB_DECLARE_CALLBACKS(static, memtype_rb_augment_cb, struct memtype, rb, in RB_DECLARE_CALLBACKS() argument 76 static struct memtype *memtype_rb_lowest_match(struct rb_root *root, in RB_DECLARE_CALLBACKS() 80 struct memtype *last_lower = NULL; in RB_DECLARE_CALLBACKS() 83 struct memtype *data = container_of(node, struct memtype, rb); in RB_DECLARE_CALLBACKS() 101 static struct memtype *memtype_rb_exact_match(struct rb_root *root, in memtype_rb_exact_match() 104 struct memtype *match; in memtype_rb_exact_match() 115 match = container_of(node, struct memtype, rb); in memtype_rb_exact_match() [all …]
|
D | pat_internal.h | 9 struct memtype { struct 31 extern int rbt_memtype_check_insert(struct memtype *new, argument 33 extern struct memtype *rbt_memtype_erase(u64 start, u64 end); 34 extern struct memtype *rbt_memtype_lookup(u64 addr); 35 extern int rbt_memtype_copy_nth_element(struct memtype *out, loff_t pos); 37 static inline int rbt_memtype_check_insert(struct memtype *new, in rbt_memtype_check_insert() 40 static inline struct memtype *rbt_memtype_erase(u64 start, u64 end) in rbt_memtype_erase() 42 static inline struct memtype *rbt_memtype_lookup(u64 addr) in rbt_memtype_lookup() 44 static inline int rbt_memtype_copy_nth_element(struct memtype *out, loff_t pos) in rbt_memtype_copy_nth_element()
|
D | pat.c | 102 enum page_cache_mode memtype) in set_page_memtype() argument 108 switch (memtype) { in set_page_memtype() 134 enum page_cache_mode memtype) in set_page_memtype() argument 396 struct memtype *new; in reserve_memtype() 442 new = kzalloc(sizeof(struct memtype), GFP_KERNEL); in reserve_memtype() 476 struct memtype *entry; in free_memtype() 525 struct memtype *entry; in lookup_memtype() 926 static struct memtype *memtype_get_idx(loff_t pos) in memtype_get_idx() 928 struct memtype *print_entry; in memtype_get_idx() 931 print_entry = kzalloc(sizeof(struct memtype), GFP_KERNEL); in memtype_get_idx() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | gf100.c | 92 gf100_vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in gf100_vm_addr() argument 101 phys |= ((u64)memtype << 36); in gf100_vm_addr() 111 phys = gf100_vm_addr(vma, phys, mem->memtype, 0); in gf100_vm_map() 136 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 | 65 vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in vm_addr() argument 68 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() 131 u64 phys = vm_addr(vma, (u64)*list++, mem->memtype, target); in nv50_vm_map_sg()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | gf100.c | 33 u8 memtype = (tile_flags & 0x0000ff00) >> 8; in gf100_fb_memtype_valid() local 34 return likely((gf100_pte_storage_type_map[memtype] != 0xff)); in gf100_fb_memtype_valid() 120 .memtype = gf100_fb_memtype_valid,
|
D | priv.h | 66 bool (*memtype)(struct nvkm_fb *, u32); member 69 bool nv04_fb_memtype_valid(struct nvkm_fb *, u32 memtype); 70 bool nv50_fb_memtype_valid(struct nvkm_fb *, u32 memtype);
|
D | nv50.c | 44 nv50_fb_memtype_valid(struct nvkm_fb *pfb, u32 memtype) in nv50_fb_memtype_valid() argument 46 return nv50_fb_memtype[(memtype & 0xff00) >> 8] != 0; in nv50_fb_memtype_valid() 317 .base.memtype = nv50_fb_memtype_valid,
|
D | ramnv50.c | 254 u32 memtype, struct nvkm_mem **pmem) in nv50_ram_get() argument 260 int comp = (memtype & 0x300) >> 8; in nv50_ram_get() 261 int type = (memtype & 0x07f); in nv50_ram_get() 262 int back = (memtype & 0x800); in nv50_ram_get() 288 mem->memtype = (comp << 7) | type; in nv50_ram_get()
|
D | gk104.c | 35 .memtype = gf100_fb_memtype_valid,
|
D | gm107.c | 35 .memtype = gf100_fb_memtype_valid,
|
D | mcp89.c | 35 .base.memtype = nv50_fb_memtype_valid,
|
D | mcp77.c | 35 .base.memtype = nv50_fb_memtype_valid,
|
D | gt215.c | 35 .base.memtype = nv50_fb_memtype_valid,
|
D | g84.c | 35 .base.memtype = nv50_fb_memtype_valid,
|
D | nv4e.c | 37 .base.memtype = nv04_fb_memtype_valid,
|
D | nv1a.c | 37 .base.memtype = nv04_fb_memtype_valid,
|
D | nv47.c | 37 .base.memtype = nv04_fb_memtype_valid,
|
D | nv49.c | 37 .base.memtype = nv04_fb_memtype_valid,
|
D | nv50.h | 27 u32 memtype, struct nvkm_mem **);
|
D | gk20a.c | 67 .memtype = gf100_fb_memtype_valid,
|
D | nv46.c | 51 .base.memtype = nv04_fb_memtype_valid,
|
D | nv25.c | 53 .base.memtype = nv04_fb_memtype_valid,
|
D | nv41.c | 61 .base.memtype = nv04_fb_memtype_valid,
|
D | nv36.c | 54 .base.memtype = nv04_fb_memtype_valid,
|
D | nv35.c | 54 .base.memtype = nv04_fb_memtype_valid,
|
D | nv10.c | 64 .base.memtype = nv04_fb_memtype_valid,
|
D | nv40.c | 68 .base.memtype = nv04_fb_memtype_valid,
|
D | nv44.c | 71 .base.memtype = nv04_fb_memtype_valid,
|
D | nv04.c | 85 .base.memtype = nv04_fb_memtype_valid,
|
D | nv20.c | 87 .base.memtype = nv04_fb_memtype_valid,
|
D | ramgf100.c | 445 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() 481 mem->memtype = type; in gf100_ram_get()
|
D | base.c | 135 pfb->memtype_valid = impl->memtype; in nvkm_fb_create_()
|
D | nv30.c | 133 .base.memtype = nv04_fb_memtype_valid,
|
/linux-4.1.27/fs/pstore/ |
D | ram_core.c | 384 unsigned int memtype) in persistent_ram_vmap() argument 396 if (memtype) in persistent_ram_vmap() 419 unsigned int memtype) in persistent_ram_iomap() argument 432 if (memtype) in persistent_ram_iomap() 441 struct persistent_ram_zone *prz, int memtype) in persistent_ram_buffer_map() argument 447 prz->vaddr = persistent_ram_vmap(start, size, memtype); in persistent_ram_buffer_map() 449 prz->vaddr = persistent_ram_iomap(start, size, memtype); in persistent_ram_buffer_map() 516 unsigned int memtype) in persistent_ram_new() argument 527 ret = persistent_ram_buffer_map(start, size, prz, memtype); in persistent_ram_new()
|
D | ram.c | 92 unsigned int memtype; member 401 cxt->memtype); in ramoops_init_przs() 431 *prz = persistent_ram_new(*paddr, sz, sig, &cxt->ecc_info, cxt->memtype); in ramoops_init_prz() 480 cxt->memtype = pdata->mem_type; in ramoops_probe()
|
/linux-4.1.27/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 | 190 p->mem[0].memtype = UIO_MEM_PHYS; in pruss_probe() 194 p->mem[1].memtype = UIO_MEM_PHYS; in pruss_probe() 198 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 | 226 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe() 242 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_sercos3.c | 115 info->mem[n].memtype = UIO_MEM_PHYS; in sercos3_setup_iomem()
|
D | uio_pdrv_genirq.c | 174 uiomem->memtype = UIO_MEM_PHYS; in uio_pdrv_genirq_probe()
|
D | uio.c | 609 if (idev->info->mem[mi].memtype == UIO_MEM_LOGICAL) in uio_vma_fault() 696 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()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 34 u32 memtype; member 51 bool (*memtype_valid)(struct nvkm_fb *, u32 memtype);
|
/linux-4.1.27/arch/arm/mach-at91/ |
D | pm_suspend.S | 99 str r0, .memtype 202 ldr r1, .memtype 321 .memtype: label
|
/linux-4.1.27/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()
|
/linux-4.1.27/include/linux/ |
D | pstore_ram.h | 57 unsigned int memtype);
|
D | uio_driver.h | 39 int memtype; member
|
/linux-4.1.27/Documentation/x86/ |
D | pat.txt | 97 In addition, step 2 internally tracks the region as UC or WC in memtype 133 With CONFIG_DEBUG_FS enabled, PAT memtype list can be examined by 137 PAT memtype list:
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 313 nouveau_bo_pin(struct nouveau_bo *nvbo, uint32_t memtype, bool contig) in nouveau_bo_pin() argument 325 memtype == TTM_PL_FLAG_VRAM && contig) { in nouveau_bo_pin() 338 if (!(memtype & (1 << bo->mem.mem_type)) || evict) { in nouveau_bo_pin() 341 1 << bo->mem.mem_type, memtype); in nouveau_bo_pin() 356 nouveau_bo_placement_set(nvbo, memtype, 0); in nouveau_bo_pin() 901 int src_tiled = !!node->memtype; in nv50_bo_move_m2mf() 902 int dst_tiled = !!((struct nvkm_mem *)new_mem->mm_node)->memtype; in nv50_bo_move_m2mf() 1381 if (drm->device.info.family < NV_DEVICE_INFO_V0_TESLA || !node->memtype) in nouveau_ttm_io_mem_reserve()
|
D | nouveau_ttm.c | 180 node->memtype = (nvbo->tile_flags & 0x7f00) >> 8; in nouveau_gart_manager_new() 184 node->memtype = (nvbo->tile_flags & 0xff00) >> 8; in nouveau_gart_manager_new()
|
/linux-4.1.27/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 | 1281 static int memtype = -1; /* "matroxfb:memtype:xxx" */ variable 2080 minfo->devflags.memtype = memtype; in matroxfb_probe() 2081 if (memtype != -1) in matroxfb_probe() 2424 memtype = simple_strtoul(this_opt+8, NULL, 0); in matroxfb_setup() 2516 module_param(memtype, int, 0); 2517 MODULE_PARM_DESC(memtype, "Memory type for G200/G400 (see Documentation/fb/matroxfb.txt for explana…
|
D | matroxfb_base.h | 479 int memtype; member
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
D | sis_main.c | 4314 u16 index, rindex, memtype = 0; in sisfb_post_sis300() local 4324 memtype = bios[0x52]; in sisfb_post_sis300() 4326 memtype = SiS_GetReg(SISSR, 0x3a); in sisfb_post_sis300() 4328 memtype &= 0x07; in sisfb_post_sis300() 4339 index = memtype * 5; in sisfb_post_sis300() 4367 memtype += 0xa5; in sisfb_post_sis300() 4368 v1 = bios[memtype]; in sisfb_post_sis300() 4369 v2 = bios[memtype + 8]; in sisfb_post_sis300() 4370 v3 = bios[memtype + 16]; in sisfb_post_sis300() 4371 v4 = bios[memtype + 24]; in sisfb_post_sis300() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | gk20a.c | 355 node->mem->memtype = 0; in gk20a_instobj_ctor()
|
/linux-4.1.27/drivers/target/ |
D | target_core_user.c | 726 if (info->mem[mi].memtype == UIO_MEM_LOGICAL) in tcmu_vma_fault() 867 info->mem[0].memtype = UIO_MEM_VIRTUAL; in tcmu_configure_device()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_ioc.c | 3770 bfa_trc(sfp, req->memtype); in bfa_sfp_getdata_send() 3784 bfa_sfp_getdata(struct bfa_sfp_s *sfp, enum bfi_sfp_mem_e memtype) in bfa_sfp_getdata() argument 3792 sfp->memtype = memtype; in bfa_sfp_getdata() 3793 req->memtype = memtype; in bfa_sfp_getdata() 3876 bfa_trc(sfp, sfp->memtype); in bfa_sfp_show_comp() 3877 if (sfp->memtype == BFI_SFP_MEM_DIAGEXT) { in bfa_sfp_show_comp() 3913 req->memtype = 0; in bfa_sfp_state_query()
|
D | bfi.h | 867 u8 memtype; member
|
D | bfa_ioc.h | 429 enum bfi_sfp_mem_e memtype; /* mem access type */ member
|
/linux-4.1.27/Documentation/fb/ |
D | matroxfb.txt | 149 memtype - specifies memory type, implies 'init'. This is valid only for G200 168 You should use sdram or sgram parameter in addition to memtype
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2067 u32 offset, memtype, memaddr; in cxgb4_read_tpte() local 2094 memtype = MEM_EDC0; in cxgb4_read_tpte() 2097 memtype = MEM_EDC1; in cxgb4_read_tpte() 2101 memtype = MEM_MC0; in cxgb4_read_tpte() 2111 memtype = MEM_MC1; in cxgb4_read_tpte() 2121 ret = t4_memory_rw(adap, 0, memtype, memaddr, 32, tpte, T4_MEMORY_READ); in cxgb4_read_tpte()
|
D | cxgb4.h | 290 u32 memtype; /* which memory (EDC0, EDC1, MC) */ member
|
D | t4_hw.c | 5213 dparams->memtype = PCIE_FW_PF_DEVLOG_MEMTYPE_G(pf_dparams); in t4_init_devlog_params() 5235 dparams->memtype = FW_DEVLOG_CMD_MEMTYPE_DEVLOG_G(devlog_meminfo); in t4_init_devlog_params()
|
D | cxgb4_debugfs.c | 915 ret = t4_memory_rw(adap, adap->params.drv_memwin, dparams->memtype, in devlog_open()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic.c | 1094 uinfo->mem[0].memtype = UIO_MEM_PHYS; in cnic_init_uio() 1117 uinfo->mem[1].memtype = UIO_MEM_LOGICAL; in cnic_init_uio() 1121 uinfo->mem[2].memtype = UIO_MEM_LOGICAL; in cnic_init_uio() 1125 uinfo->mem[3].memtype = UIO_MEM_LOGICAL; in cnic_init_uio()
|