Home
last modified time | relevance | path

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

12

/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 Dmemtype.c143 enum page_cache_mode memtype) in set_page_memtype() argument
149 switch (memtype) { in set_page_memtype()
176 enum page_cache_mode memtype) in set_page_memtype() argument
524 struct memtype *entry_new; in memtype_reserve()
577 entry_new = kzalloc_obj(struct memtype); in memtype_reserve()
610 struct memtype *entry_old; in memtype_free()
658 struct memtype *entry; in lookup_memtype()
964 static struct memtype *memtype_get_idx(loff_t pos) in memtype_get_idx()
966 struct memtype *entry_print; in memtype_get_idx()
969 entry_print = kzalloc_obj(struct memtype); in memtype_get_idx()
[all …]
H A DMakefile3 obj-y := set_memory.o memtype.o
/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/firmware/efi/libstub/
H A Dmem.c24 int memtype = install_cfg_tbl ? EFI_ACPI_RECLAIM_MEMORY in efi_get_memory_map() local
37 status = efi_bs_call(allocate_pool, memtype, sizeof(*m) + size, in efi_get_memory_map()
/linux/include/linux/mtd/
H A Dhyperbus.h42 enum hyperbus_memtype memtype; member
/linux/fs/pstore/
H A Dram_internal.h84 unsigned int memtype, u32 flags, char *label);
/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/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/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.c1277 static int memtype = -1; /* "matroxfb:memtype:xxx" */ variable
2087 minfo->devflags.memtype = memtype; in matroxfb_probe()
2088 if (memtype != -1) in matroxfb_probe()
2436 memtype = simple_strtoul(this_opt+8, NULL, 0); in matroxfb_setup()
2524 module_param(memtype, int, 0);
2525 MODULE_PARM_DESC(memtype, "Memory type for G200/G400 (see Documentation/fb/matroxfb.rst for explana…
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/chelsio/cxgb4/
H A Dcxgb4_main.c2257 u32 offset, memtype, memaddr; in cxgb4_read_tpte() local
2288 memtype = MEM_EDC0; in cxgb4_read_tpte()
2291 memtype = MEM_EDC1; in cxgb4_read_tpte()
2295 memtype = MEM_HMA; in cxgb4_read_tpte()
2298 memtype = MEM_MC0; in cxgb4_read_tpte()
2305 memtype = MEM_MC1; in cxgb4_read_tpte()
2318 ret = t4_memory_rw(adap, 0, memtype, memaddr, 32, tpte, T4_MEMORY_READ); in cxgb4_read_tpte()
H A Dt4_hw.c9341 dparams->memtype = PCIE_FW_PF_DEVLOG_MEMTYPE_G(pf_dparams); in t4_init_devlog_params()
9364 dparams->memtype = FW_DEVLOG_CMD_MEMTYPE_DEVLOG_G(devlog_meminfo); in t4_init_devlog_params()
H A Dcudbg_lib.c859 dparams->memtype, dparams->start, in cudbg_collect_fw_devlog()
/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()
/linux/Documentation/driver-api/
H A Duio-howto.rst276 - ``int memtype``: Required if the mapping is used. Set this to

12