Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/x86/mm/
Dpat_rbtree.c39 static int is_node_overlap(struct memtype *node, u64 start, u64 end) in is_node_overlap()
51 struct memtype *data = rb_entry(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 = rb_entry(node, struct memtype, rb); in RB_DECLARE_CALLBACKS()
106 static struct memtype *memtype_rb_match(struct rb_root *root, in memtype_rb_match()
109 struct memtype *match; in memtype_rb_match()
125 match = rb_entry(node, struct memtype, rb); in memtype_rb_match()
[all …]
Dpat_internal.h10 struct memtype { struct
32 extern int rbt_memtype_check_insert(struct memtype *new, argument
34 extern struct memtype *rbt_memtype_erase(u64 start, u64 end);
35 extern struct memtype *rbt_memtype_lookup(u64 addr);
36 extern int rbt_memtype_copy_nth_element(struct memtype *out, loff_t pos);
38 static inline int rbt_memtype_check_insert(struct memtype *new, in rbt_memtype_check_insert()
41 static inline struct memtype *rbt_memtype_erase(u64 start, u64 end) in rbt_memtype_erase()
43 static inline struct memtype *rbt_memtype_lookup(u64 addr) in rbt_memtype_lookup()
45 static inline int rbt_memtype_copy_nth_element(struct memtype *out, loff_t pos) in rbt_memtype_copy_nth_element()
Dpat.c117 enum page_cache_mode memtype) in set_page_memtype() argument
123 switch (memtype) { in set_page_memtype()
150 enum page_cache_mode memtype) in set_page_memtype() argument
542 struct memtype *new; in reserve_memtype()
586 new = kzalloc(sizeof(struct memtype), GFP_KERNEL); in reserve_memtype()
620 struct memtype *entry; in free_memtype()
672 struct memtype *entry; in lookup_memtype()
1092 static struct memtype *memtype_get_idx(loff_t pos) in memtype_get_idx()
1094 struct memtype *print_entry; in memtype_get_idx()
1097 print_entry = kzalloc(sizeof(struct memtype), GFP_KERNEL); in memtype_get_idx()
[all …]
/Linux-v4.19/fs/pstore/
Dram_core.c401 unsigned int memtype) in persistent_ram_vmap() argument
413 if (memtype) in persistent_ram_vmap()
441 unsigned int memtype) in persistent_ram_iomap() argument
451 if (memtype) in persistent_ram_iomap()
465 struct persistent_ram_zone *prz, int memtype) in persistent_ram_buffer_map() argument
471 prz->vaddr = persistent_ram_vmap(start, size, memtype); in persistent_ram_buffer_map()
473 prz->vaddr = persistent_ram_iomap(start, size, memtype); in persistent_ram_buffer_map()
549 unsigned int memtype, u32 flags) in persistent_ram_new() argument
564 ret = persistent_ram_buffer_map(start, size, prz, memtype); in persistent_ram_new()
Dram.c93 unsigned int memtype; member
592 cxt->memtype, flags); in ramoops_init_przs()
633 cxt->memtype, 0); in ramoops_init_prz()
767 cxt->memtype = pdata->mem_type; in ramoops_probe()
/Linux-v4.19/drivers/uio/
Duio_hv_generic.c230 pdata->info.mem[TXRX_RING_MAP].memtype = UIO_MEM_LOGICAL; in hv_uio_probe()
236 pdata->info.mem[INT_PAGE_MAP].memtype = UIO_MEM_LOGICAL; in hv_uio_probe()
242 pdata->info.mem[MON_PAGE_MAP].memtype = UIO_MEM_LOGICAL; in hv_uio_probe()
262 pdata->info.mem[RECV_BUF_MAP].memtype = UIO_MEM_VIRTUAL; in hv_uio_probe()
282 pdata->info.mem[SEND_BUF_MAP].memtype = UIO_MEM_VIRTUAL; in hv_uio_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_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_dmem_genirq.c226 uiomem->memtype = UIO_MEM_PHYS; in uio_dmem_genirq_probe()
242 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.c141 mem->memtype = UIO_MEM_PHYS; in mf624_setup_mem()
Duio_sercos3.c116 info->mem[n].memtype = UIO_MEM_PHYS; in sercos3_setup_iomem()
Duio_pdrv_genirq.c174 uiomem->memtype = UIO_MEM_PHYS; in uio_pdrv_genirq_probe()
/Linux-v4.19/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.c1274 int i, j, ranks_of_dimm[DNV_MAX_DIMMS], banks, rowbits, colbits, memtype; in dnv_get_dimm_config() local
1280 memtype = MEM_DDR4; in dnv_get_dimm_config()
1284 memtype = MEM_DDR3; in dnv_get_dimm_config()
1300 if (memtype == MEM_DDR3) { in dnv_get_dimm_config()
1328 dimm->mtype = memtype; in dnv_get_dimm_config()
/Linux-v4.19/arch/arm/mach-at91/
Dpm_suspend.S106 str tmp1, .memtype
331 ldr r1, .memtype
454 .memtype: label
/Linux-v4.19/include/linux/
Dpstore_ram.h68 unsigned int memtype, u32 flags);
Duio_driver.h43 int memtype; member
/Linux-v4.19/Documentation/x86/
Dpat.txt104 In addition, step 2 internally tracks the region as UC or WC in memtype
171 With CONFIG_DEBUG_FS enabled, PAT memtype list can be examined by
175 PAT memtype list:
/Linux-v4.19/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…
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_bo.c378 nouveau_bo_pin(struct nouveau_bo *nvbo, uint32_t memtype, bool contig) in nouveau_bo_pin() argument
390 memtype == TTM_PL_FLAG_VRAM && contig) { in nouveau_bo_pin()
399 if (!(memtype & (1 << bo->mem.mem_type)) || evict) { in nouveau_bo_pin()
402 1 << bo->mem.mem_type, memtype); in nouveau_bo_pin()
417 nouveau_bo_placement_set(nvbo, memtype, 0); in nouveau_bo_pin()
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_catalog.h616 u32 memtype[MAX_XIN_COUNT]; member
/Linux-v4.19/drivers/video/fbdev/sis/
Dsis_main.c4366 u16 index, rindex, memtype = 0; in sisfb_post_sis300() local
4376 memtype = bios[0x52]; in sisfb_post_sis300()
4378 memtype = SiS_GetReg(SISSR, 0x3a); in sisfb_post_sis300()
4380 memtype &= 0x07; in sisfb_post_sis300()
4391 index = memtype * 5; in sisfb_post_sis300()
4419 memtype += 0xa5; in sisfb_post_sis300()
4420 v1 = bios[memtype]; in sisfb_post_sis300()
4421 v2 = bios[memtype + 8]; in sisfb_post_sis300()
4422 v3 = bios[memtype + 16]; in sisfb_post_sis300()
4423 v4 = bios[memtype + 24]; in sisfb_post_sis300()
[all …]
/Linux-v4.19/arch/arm64/boot/dts/hisilicon/
Dhip07.dtsi1173 smmu-cb-memtype = <0x0 0x1>;
1188 /* smmu-cb-memtype = <0x0 0x1>;*/
1201 /* smmu-cb-memtype = <0x0 0x1>;*/
1214 /* smmu-cb-memtype = <0x0 0x1>;*/
1227 /* smmu-cb-memtype = <0x0 0x1>;*/

12