Home
last modified time | relevance | path

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

12

/linux/mm/
H A Dmemory-tiers.c34 struct memory_dev_type *memtype; member
151 struct memory_dev_type *memtype; in get_memtier_nodemask() local
153 list_for_each_entry(memtype, &memtier->memory_types, tier_sibling) in get_memtier_nodemask()
154 nodes_or(nodes, nodes, memtype->nodes); in get_memtier_nodemask()
197 static struct memory_tier *find_create_memory_tier(struct memory_dev_type *memtype) in find_create_memory_tier() argument
202 int adistance = memtype->adistance; in find_create_memory_tier()
212 if (!list_empty(&memtype->tier_sibling)) { in find_create_memory_tier()
256 list_add(&memtype->tier_sibling, &memtier->memory_types); in find_create_memory_tier()
514 static inline void __init_node_memory_type(int node, struct memory_dev_type *memtype) in __init_node_memory_type() argument
516 if (!node_memory_types[node].memtype) in __init_node_memory_type()
[all …]
/linux/arch/x86/mm/pat/
H A Dmemtype.h10 struct memtype { struct
32 extern int memtype_check_insert(struct memtype *entry_new, argument
34 extern struct memtype *memtype_erase(u64 start, u64 end);
35 extern struct memtype *memtype_lookup(u64 addr);
36 extern int memtype_copy_nth_element(struct memtype *entry_out, loff_t pos);
38 static inline int memtype_check_insert(struct memtype *entry_new, in memtype_check_insert()
41 static inline struct memtype *memtype_erase(u64 start, u64 end) in memtype_erase()
43 static inline struct memtype *memtype_lookup(u64 addr) in memtype_lookup()
45 static inline int memtype_copy_nth_element(struct memtype *out, loff_t pos) in memtype_copy_nth_element()
H A Dmemtype_interval.c36 static inline u64 interval_start(struct memtype *entry) in interval_start()
41 static inline u64 interval_end(struct memtype *entry) in interval_end()
46 INTERVAL_TREE_DEFINE(struct memtype, rb, u64, subtree_max_end,
56 struct memtype *entry_match; in memtype_check_conflict()
90 int memtype_check_insert(struct memtype *entry_new, enum page_cache_mode *ret_type) in memtype_check_insert()
105 struct memtype *memtype_erase(u64 start, u64 end) in memtype_erase()
107 struct memtype *entry = interval_iter_first(&memtype_rbroot, start, end - 1); in memtype_erase()
119 struct memtype *memtype_lookup(u64 addr) in memtype_lookup()
130 int memtype_copy_nth_element(struct memtype *entry_out, loff_t pos) in memtype_copy_nth_element()
132 struct memtype *entry_match; in memtype_copy_nth_element()
H A DMakefile3 obj-y := set_memory.o memtype.o
/linux/fs/pstore/
H A Dram_core.c404 unsigned int memtype) in persistent_ram_vmap() argument
416 switch (memtype) { in persistent_ram_vmap()
427 pr_err("invalid mem_type=%d\n", memtype); in persistent_ram_vmap()
458 unsigned int memtype, char *label) in persistent_ram_iomap() argument
469 if (memtype) in persistent_ram_iomap()
483 struct persistent_ram_zone *prz, int memtype) in persistent_ram_buffer_map() argument
489 prz->vaddr = persistent_ram_vmap(start, size, memtype); in persistent_ram_buffer_map()
491 prz->vaddr = persistent_ram_iomap(start, size, memtype, in persistent_ram_buffer_map()
586 unsigned int memtype, u32 flags, char *label) in persistent_ram_new() argument
604 ret = persistent_ram_buffer_map(start, size, prz, memtype); in persistent_ram_new()
H A Dram_internal.h84 unsigned int memtype, u32 flags, char *label);
H A Dram.c91 unsigned int memtype; member
556 cxt->memtype, flags, label); in ramoops_init_przs()
603 cxt->memtype, PRZ_FLAG_ZAP_OLD, label); in ramoops_init_prz()
777 cxt->memtype = pdata->mem_type; in ramoops_probe()
/linux/drivers/edac/
H A Dsynopsys_edac.c791 u32 memtype; in zynq_get_mtype() local
793 memtype = readl(base + T_ZQ_OFST); in zynq_get_mtype()
795 if (memtype & T_ZQ_DDRMODE_MASK) in zynq_get_mtype()
815 u32 memtype; in zynqmp_get_mtype() local
817 memtype = readl(base + CTRL_OFST); in zynqmp_get_mtype()
819 if ((memtype & MEM_TYPE_DDR3) || (memtype & MEM_TYPE_LPDDR3)) in zynqmp_get_mtype()
821 else if (memtype & MEM_TYPE_DDR2) in zynqmp_get_mtype()
823 else if ((memtype & MEM_TYPE_LPDDR4) || (memtype & MEM_TYPE_DDR4)) in zynqmp_get_mtype()
1195 u32 width, memtype; in setup_column_address_map() local
1198 memtype = readl(priv->baseaddr + CTRL_OFST); in setup_column_address_map()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_catalog.c534 .memtype = {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},
554 .memtype = {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
574 .memtype = {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
594 .memtype = {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
H A Ddpu_hw_catalog.h598 u32 memtype[MAX_XIN_COUNT]; member
/linux/include/linux/mtd/
H A Dhyperbus.h42 enum hyperbus_memtype memtype; member
/linux/drivers/uio/
H A Duio_dfl.c30 uiomem->memtype = UIO_MEM_PHYS; in uio_dfl_probe()
H A Duio_pci_generic.c121 uiomem->memtype = UIO_MEM_PHYS; in probe()
H A Duio_mf624.c128 mem->memtype = UIO_MEM_PHYS; in mf624_setup_mem()
H A Duio_pci_generic_sva.c120 uiomem->memtype = UIO_MEM_PHYS; in probe()
H A Duio_fsl_elbc_gpcm.c394 info->mem[0].memtype = UIO_MEM_PHYS; in uio_fsl_elbc_gpcm_probe()
/linux/include/linux/
H A Duio_driver.h48 int memtype; member
/linux/Documentation/arch/x86/
H A Dpat.rst112 In addition, step 2 internally tracks the region as UC or WC in memtype
177 With CONFIG_DEBUG_FS enabled, PAT memtype list can be examined by::
181 PAT memtype list:
/linux/drivers/mtd/hyperbus/
H A Dhyperbus-core.c79 hbdev->memtype = HYPERFLASH; in hyperbus_register_device()
/linux/arch/x86/include/asm/
H A Dvmx.h154 static inline u64 vmx_basic_encode_vmcs_info(u32 revision, u16 size, u8 memtype) in vmx_basic_encode_vmcs_info() argument
156 return revision | ((u64)size << 32) | ((u64)memtype << 50); in vmx_basic_encode_vmcs_info()
/linux/arch/arm/mach-at91/
H A Dpm_suspend.S318 ldr r1, .memtype
404 ldr r1, .memtype
1085 str tmp1, .memtype
1171 .memtype: label
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.h453 int memtype; member
/linux/Documentation/fb/
H A Dmatroxfb.rst158 memtype specifies memory type, implies 'init'. This is valid only for G200
181 You should use sdram or sgram parameter in addition to memtype
/linux/drivers/scsi/qedi/
H A 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()
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c1104 uinfo->mem[0].memtype = UIO_MEM_PHYS; in cnic_init_uio()
1130 uinfo->mem[1].memtype = UIO_MEM_DMA_COHERENT; in cnic_init_uio()
1136 uinfo->mem[2].memtype = UIO_MEM_DMA_COHERENT; in cnic_init_uio()
1142 uinfo->mem[3].memtype = UIO_MEM_DMA_COHERENT; in cnic_init_uio()

12