Home
last modified time | relevance | path

Searched refs:mem_type (Results 1 – 19 of 19) sorted by relevance

/arch/blackfin/mm/
Dmaccess.c22 int mem_type; in probe_kernel_read() local
24 mem_type = validate_memory_access_address(lsrc, size); in probe_kernel_read()
25 if (mem_type < 0) in probe_kernel_read()
26 return mem_type; in probe_kernel_read()
39 switch (mem_type) { in probe_kernel_read()
61 int mem_type; in probe_kernel_write() local
63 mem_type = validate_memory_access_address(ldst, size); in probe_kernel_write()
64 if (mem_type < 0) in probe_kernel_write()
65 return mem_type; in probe_kernel_write()
80 switch (mem_type) { in probe_kernel_write()
/arch/arm/include/asm/mach/
Dmap.h53 struct mem_type;
54 extern const struct mem_type *get_mem_type(unsigned int type);
59 const struct mem_type *mtype);
/arch/mips/loongson/common/
Dmem.c63 u32 mem_type; in prom_init_memory() local
68 mem_type = loongson_memmap->map[i].mem_type; in prom_init_memory()
71 switch (mem_type) { in prom_init_memory()
/arch/mips/loongson/loongson-3/
Dnuma.c126 u32 i, mem_type; in szmem() local
136 mem_type = loongson_memmap->map[i].mem_type; in szmem()
140 switch (mem_type) { in szmem()
147 (u32)node_id, mem_type, mem_start, mem_size); in szmem()
161 (u32)node_id, mem_type, mem_start, mem_size); in szmem()
171 (u32)node_id, mem_type, mem_start, mem_size); in szmem()
/arch/unicore32/mm/
Dmm.h30 struct mem_type { struct
36 const struct mem_type *get_mem_type(unsigned int type); argument
Dioremap.c49 const struct mem_type *mtype) in ioremap_page()
103 size_t size, const struct mem_type *type) in remap_area_sections()
132 const struct mem_type *type; in __uc32_ioremap_pfn_caller()
Dmmu.c91 static struct mem_type mem_types[] = {
126 const struct mem_type *get_mem_type(unsigned int type) in get_mem_type()
165 const struct mem_type *type) in alloc_init_pte()
176 const struct mem_type *type) in alloc_init_section()
211 const struct mem_type *type; in create_mapping()
/arch/arm/mach-msm/
Dio.c33 #define MSM_CHIP_DEVICE_TYPE(name, chip, mem_type) { \ argument
37 .type = mem_type, \
40 #define MSM_DEVICE_TYPE(name, mem_type) \ argument
41 MSM_CHIP_DEVICE_TYPE(name, MSM, mem_type)
/arch/arm/mach-omap2/
Dsram.h15 u32 mem_type);
39 u32 mem_type);
52 u32 mem_type);
Dsram.c154 u32 mem_type);
156 void omap2_sram_reprogram_sdrc(u32 perf_level, u32 dll_val, u32 mem_type) in omap2_sram_reprogram_sdrc() argument
159 _omap2_sram_reprogram_sdrc(perf_level, dll_val, mem_type); in omap2_sram_reprogram_sdrc()
/arch/arm/mm/
Dmm.h41 struct mem_type { struct
49 const struct mem_type *get_mem_type(unsigned int type); argument
Dioremap.c107 const struct mem_type *mtype) in ioremap_page()
187 size_t size, const struct mem_type *type) in remap_area_sections()
219 size_t size, const struct mem_type *type) in remap_area_supersections()
261 const struct mem_type *type; in __arm_ioremap_pfn_caller()
443 void pci_ioremap_set_mem_type(int mem_type) in pci_ioremap_set_mem_type() argument
445 pci_ioremap_mem_type = mem_type; in pci_ioremap_set_mem_type()
Dmmu.c245 static struct mem_type mem_types[] = {
354 const struct mem_type *get_mem_type(unsigned int type) in get_mem_type()
698 struct mem_type *t = &mem_types[i]; in build_mem_type_table()
745 const struct mem_type *type) in alloc_init_pte()
756 const struct mem_type *type) in __map_init_section()
783 const struct mem_type *type) in alloc_init_pmd()
814 const struct mem_type *type) in alloc_init_pud()
828 const struct mem_type *type) in create_36bit_mapping()
899 const struct mem_type *type; in create_mapping()
/arch/tile/include/hv/
Ddrv_mshim_intf.h30 uint8_t mem_type; /**< Memory type, DDR2 or DDR3. */ member
/arch/mips/include/asm/mach-loongson/
Dboot_param.h22 u32 mem_type; /* system memory, pci memory, pci io, etc. */ member
/arch/arm/kvm/
Dmmu.c1026 pgprot_t mem_type = PAGE_S2; in user_mem_abort() local
1086 mem_type = PAGE_S2_DEVICE; in user_mem_abort()
1097 pmd_t new_pmd = pfn_pmd(pfn, mem_type); in user_mem_abort()
1106 pte_t new_pte = pfn_pte(pfn, mem_type); in user_mem_abort()
1113 pgprot_val(mem_type) == pgprot_val(PAGE_S2_DEVICE)); in user_mem_abort()
/arch/arm/include/asm/
Dio.h184 void pci_ioremap_set_mem_type(int mem_type);
186 static inline void pci_ioremap_set_mem_type(int mem_type) {} in pci_ioremap_set_mem_type() argument
/arch/ia64/include/asm/
Dsal.h182 u8 mem_type; /* memory type */ member
/arch/x86/xen/
Dmmu.c2420 switch (a.mem_type) { in xen_oldmem_pfn_is_ram()