Home
last modified time | relevance | path

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

/linux-4.1.27/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()
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_bo.c58 uint32_t *mem_type) in ttm_mem_type_from_place() argument
64 *mem_type = i; in ttm_mem_type_from_place()
70 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) in ttm_mem_type_debug() argument
72 struct ttm_mem_type_manager *man = &bdev->man[mem_type]; in ttm_mem_type_debug()
81 if (mem_type != TTM_PL_SYSTEM) in ttm_mem_type_debug()
88 int i, ret, mem_type; in ttm_bo_mem_space_debug() local
95 &mem_type); in ttm_bo_mem_space_debug()
99 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug()
100 ttm_mem_type_debug(bo->bdev, mem_type); in ttm_bo_mem_space_debug()
175 man = &bdev->man[bo->mem.mem_type]; in ttm_bo_add_to_lru()
[all …]
Dttm_bo_util.c55 if (old_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
60 old_mem->mem_type = TTM_PL_SYSTEM; in ttm_bo_move_ttm()
67 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
122 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_io_reserve()
147 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_io_free()
167 &bo->bdev->man[mem->mem_type]; in ttm_mem_io_reserve_vm()
194 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_reg_ioremap()
228 man = &bdev->man[mem->mem_type]; in ttm_mem_reg_iounmap()
328 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; in ttm_bo_move_memcpy()
375 if ((old_mem->mem_type == new_mem->mem_type) && in ttm_bo_move_memcpy()
[all …]
Dttm_bo_vm.c101 &bdev->man[bo->mem.mem_type]; in ttm_bo_vm_fault()
/linux-4.1.27/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);
/linux-4.1.27/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()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_object.h65 static inline int qxl_bo_wait(struct qxl_bo *bo, u32 *mem_type, in qxl_bo_wait() argument
79 if (mem_type) in qxl_bo_wait()
80 *mem_type = bo->tbo.mem.mem_type; in qxl_bo_wait()
Dqxl_object.c147 struct ttm_mem_type_manager *man = &bo->tbo.bdev->man[bo->tbo.mem.mem_type]; in qxl_bo_kmap_atomic_page()
152 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in qxl_bo_kmap_atomic_page()
154 else if (bo->tbo.mem.mem_type == TTM_PL_PRIV0) in qxl_bo_kmap_atomic_page()
189 struct ttm_mem_type_manager *man = &bo->tbo.bdev->man[bo->tbo.mem.mem_type]; in qxl_bo_kunmap_atomic_page()
192 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in qxl_bo_kunmap_atomic_page()
194 else if (bo->tbo.mem.mem_type == TTM_PL_PRIV0) in qxl_bo_kunmap_atomic_page()
Dqxl_ttm.c219 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in qxl_ttm_io_mem_reserve()
229 switch (mem->mem_type) { in qxl_ttm_io_mem_reserve()
353 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
371 if (bo->mem.mem_type == TTM_PL_PRIV0 && qbo->surface_id) in qxl_bo_move_notify()
Dqxl_cmd.c520 …_create.data |= (new_mem->start << PAGE_SHIFT) + surf->tbo.bdev->man[new_mem->mem_type].gpu_offset; in qxl_hw_surface_alloc()
/linux-4.1.27/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()
/linux-4.1.27/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()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_object.c51 unsigned mem_type, int sign) in radeon_update_memory_usage() argument
56 switch (mem_type) { in radeon_update_memory_usage()
78 radeon_update_memory_usage(bo, bo->tbo.mem.mem_type, -1); in radeon_ttm_bo_destroy()
399 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_bo_unpin()
537 radeon_mem_type_to_domain(bo->tbo.mem.mem_type); in radeon_bo_list_validate()
742 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) { in radeon_bo_check_tiling()
773 radeon_update_memory_usage(rbo, bo->mem.mem_type, -1); in radeon_bo_move_notify()
774 radeon_update_memory_usage(rbo, new_mem->mem_type, 1); in radeon_bo_move_notify()
789 if (bo->mem.mem_type != TTM_PL_VRAM) in radeon_bo_fault_reserve_notify()
822 int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait) in radeon_bo_wait() argument
[all …]
Dradeon_ttm.c197 switch (bo->mem.mem_type) { in radeon_evict_flags()
269 switch (old_mem->mem_type) { in radeon_move_blit()
277 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit()
280 switch (new_mem->mem_type) { in radeon_move_blit()
288 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit()
406 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in radeon_bo_move()
410 if ((old_mem->mem_type == TTM_PL_TT && in radeon_bo_move()
411 new_mem->mem_type == TTM_PL_SYSTEM) || in radeon_bo_move()
412 (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
413 new_mem->mem_type == TTM_PL_TT)) { in radeon_bo_move()
[all …]
Dradeon_object.h40 static inline unsigned radeon_mem_type_to_domain(u32 mem_type) in radeon_mem_type_to_domain() argument
42 switch (mem_type) { in radeon_mem_type_to_domain()
122 extern int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type,
Dradeon_gem.c475 cur_placement = ACCESS_ONCE(robj->tbo.mem.mem_type); in radeon_gem_wait_idle_ioctl()
559 domain = radeon_mem_type_to_domain(entry->bo->mem.mem_type); in radeon_gem_va_update_vm()
776 domain = radeon_mem_type_to_domain(rbo->tbo.mem.mem_type); in radeon_debugfs_gem_info()
Dradeon_vm.c942 if (mem->mem_type != TTM_PL_SYSTEM) { in radeon_vm_bo_update()
945 if (mem->mem_type == TTM_PL_TT) { in radeon_vm_bo_update()
Dni.c612 u32 mem_type, running, blackout = 0; in ni_mc_load_microcode() local
643 mem_type = (RREG32(MC_SEQ_MISC0) & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT; in ni_mc_load_microcode()
646 if ((mem_type == MC_SEQ_MISC0_GDDR5_VALUE) && (running == 0)) { in ni_mc_load_microcode()
Drv770_dpm.c1277 if (memory_info->mem_type == MEM_TYPE_GDDR3) in rv770_get_mclk_split_point()
1684 if (memory_info.mem_type == MEM_TYPE_DDR2 || in rv770_get_mclk_odt_threshold()
1685 memory_info.mem_type == MEM_TYPE_DDR3) in rv770_get_mclk_odt_threshold()
Dradeon_mode.h641 u8 mem_type; member
Dcypress_dpm.c1563 if ((memory_info->mem_type == MEM_TYPE_GDDR3) || in cypress_get_mclk_split_point()
1564 (memory_info->mem_type == MEM_TYPE_DDR3)) in cypress_get_mclk_split_point()
Dradeon_atombios.c3840 mem_info->mem_type = vram_module->asMemory.ucMemoryType & 0xf0; in radeon_atom_get_memory_info()
3857 mem_info->mem_type = vram_module->ucMemoryType & 0xf0; in radeon_atom_get_memory_info()
3881 mem_info->mem_type = vram_module->ucMemoryType & 0xf0; in radeon_atom_get_memory_info()
Dradeon_pm.c152 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_unmap_vram_bos()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_dmabuf.c226 if (bo->mem.mem_type == TTM_PL_VRAM && in vmw_dmabuf_to_start_of_vram()
283 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_bo_get_guest_ptr()
304 uint32_t old_mem_type = bo->mem.mem_type; in vmw_bo_pin()
322 BUG_ON(ret != 0 || bo->mem.mem_type != old_mem_type); in vmw_bo_pin()
Dvmwgfx_buffer.c208 int mem_type; member
558 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind()
560 switch (bo_mem->mem_type) { in vmw_ttm_bind()
586 switch (vmw_be->mem_type) { in vmw_ttm_unbind()
769 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in vmw_ttm_io_mem_reserve()
779 switch (mem->mem_type) { in vmw_ttm_io_mem_reserve()
Dvmwgfx_shader.c188 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_shader_bind()
219 BUG_ON(res->backup->base.mem.mem_type != VMW_PL_MOB); in vmw_gb_shader_unbind()
Dvmwgfx_fifo.c566 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_fifo_emit_dummy_legacy_query()
614 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_fifo_emit_dummy_gb_query()
Dvmwgfx_context.c304 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_context_bind()
346 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_context_unbind()
Dvmwgfx_surface.c1095 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_surface_bind()
1146 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_surface_unbind()
Dvmwgfx_resource.c1489 if (mem->mem_type != VMW_PL_MOB) { in vmw_resource_move_notify()
Dvmwgfx_execbuf.c2165 switch (bo->mem.mem_type) { in vmw_apply_relocations()
/linux-4.1.27/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()
/linux-4.1.27/arch/arm/mm/
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()
Dmm.h41 struct mem_type { struct
49 const struct mem_type *get_mem_type(unsigned int type); argument
Dmmu.c245 static struct mem_type mem_types[] = {
354 const struct mem_type *get_mem_type(unsigned int type) in get_mem_type()
650 struct mem_type *t = &mem_types[i]; in build_mem_type_table()
697 const struct mem_type *type) in alloc_init_pte()
708 const struct mem_type *type) in __map_init_section()
735 const struct mem_type *type) in alloc_init_pmd()
766 const struct mem_type *type) in alloc_init_pud()
780 const struct mem_type *type) in create_36bit_mapping()
848 const struct mem_type *type; in create_mapping()
/linux-4.1.27/drivers/mtd/maps/
Dpcmciamtd.c61 static int mem_type; variable
76 module_param(mem_type, int, 0);
77 MODULE_PARM_DESC(mem_type, "Set Memory type (0=Flash, 1=RAM, 2=ROM, default=0)");
567 if(mem_type == 1) { in pcmciamtd_config()
569 } else if(mem_type == 2) { in pcmciamtd_config()
738 if(mem_type && mem_type != 1 && mem_type != 2) { in init_pcmciamtd()
739 info("bad mem_type (%d), using default", mem_type); in init_pcmciamtd()
740 mem_type = 0; in init_pcmciamtd()
/linux-4.1.27/include/drm/ttm/
Dttm_bo_api.h124 uint32_t mem_type; member
573 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type);
594 extern int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_bo.c327 if (bo->mem.mem_type == TTM_PL_VRAM) { 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()
368 switch (bo->mem.mem_type) { in nouveau_bo_pin()
406 switch (bo->mem.mem_type) { in nouveau_bo_unpin()
668 switch (bo->mem.mem_type) { in nouveau_bo_evict_flags()
984 if (mem->mem_type == TTM_PL_TT) in nouveau_bo_mem_ctxdma()
1243 if (new_mem && new_mem->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy()
1244 (new_mem->mem_type == TTM_PL_VRAM || in nouveau_bo_move_ntfy()
1263 if (new_mem->mem_type != TTM_PL_VRAM) in nouveau_bo_vm_bind()
[all …]
Dnouveau_gem.c117 const bool mapped = nvbo->bo.mem.mem_type != TTM_PL_SYSTEM; in nouveau_gem_object_unmap()
232 else if (nvbo->bo.mem.mem_type == TTM_PL_TT) in nouveau_gem_info()
306 bo->mem.mem_type == TTM_PL_VRAM) in nouveau_gem_set_domain()
310 bo->mem.mem_type == TTM_PL_TT) in nouveau_gem_set_domain()
500 ((nvbo->bo.mem.mem_type == TTM_PL_VRAM && in validate_list()
502 (nvbo->bo.mem.mem_type == TTM_PL_TT && in validate_list()
506 if (nvbo->bo.mem.mem_type == TTM_PL_TT) in validate_list()
Dnouveau_chan.c141 if (chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) { in nouveau_channel_prep()
Dnouveau_abi16.c294 if (chan->chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) in nouveau_abi16_ioctl_channel_alloc()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_hmc.c48 enum i40e_memory_type mem_type __attribute__((unused)); in i40e_add_sd_table_entry() local
70 mem_type = i40e_mem_pd; in i40e_add_sd_table_entry()
73 mem_type = i40e_mem_bp_jumbo; in i40e_add_sd_table_entry()
78 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len, in i40e_add_sd_table_entry()
/linux-4.1.27/arch/tile/include/hv/
Ddrv_mshim_intf.h30 uint8_t mem_type; /**< Memory type, DDR2 or DDR3. */ member
/linux-4.1.27/drivers/cpufreq/
Ds5pv210-cpufreq.c506 unsigned long mem_type; in s5pv210_cpu_init() local
534 mem_type = check_mem_type(dmc_base[0]); in s5pv210_cpu_init()
536 if ((mem_type != LPDDR) && (mem_type != LPDDR2)) { in s5pv210_cpu_init()
/linux-4.1.27/Documentation/
Dramoops.txt22 * "mem_type" to specifiy if the memory type (default is pgprot_writecombine).
24 Typically the default value of mem_type=0 should be used as that sets the pstore
25 mapping to pgprot_writecombine. Setting mem_type=1 attempts to use
66 .mem_type = <...>,
Dedac.txt285 'mem_type'
/linux-4.1.27/fs/pstore/
Dram.c68 static unsigned int mem_type; variable
69 module_param(mem_type, uint, 0600);
70 MODULE_PARM_DESC(mem_type,
480 cxt->memtype = pdata->mem_type; in ramoops_probe()
611 dummy_data->mem_type = 0; in ramoops_register_dummy()
/linux-4.1.27/include/xen/interface/hvm/
Dhvm_op.h58 uint16_t mem_type; member
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbna_enet.c1925 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1934 res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1941 res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mem_type = BNA_MEM_T_KVA; in bna_res_req()
1947 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1961 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1969 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1977 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1985 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1993 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
2001 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
[all …]
Dbna_tx_rx.c2421 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
2427 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
2433 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2439 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
2445 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2451 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2457 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
2463 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2469 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2475 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
[all …]
Dbna_types.h283 enum bna_mem_type mem_type; member
Dbnad.c73 (_res_info)->res_u.mem_info.mem_type = BNA_MEM_T_KVA; \
1334 if (mem_info->mem_type == BNA_MEM_T_DMA) { in bnad_mem_free()
1365 if (mem_info->mem_type == BNA_MEM_T_DMA) { in bnad_mem_alloc()
/linux-4.1.27/include/linux/
Dpstore_ram.h80 unsigned int mem_type; member
Dedac.h202 enum mem_type { enum
555 enum mem_type mtype; /* memory dimm type */
/linux-4.1.27/drivers/edac/
Di82443bxgx_edac.c189 enum mem_type mtype) in i82443bxgx_init_csrows()
240 enum mem_type mtype; in i82443bxgx_edacmc_probe1()
Dsynopsys_edac.c336 static enum mem_type synps_edac_get_mtype(const void __iomem *base) in synps_edac_get_mtype()
338 enum mem_type mt; in synps_edac_get_mtype()
Dtile_edac.c103 switch (mem_info.mem_type) { in tile_edac_init_csrows()
Dsb_edac.c285 enum mem_type (*get_memory_type)(struct sbridge_pvt *pvt);
685 static enum mem_type get_memory_type(struct sbridge_pvt *pvt) in get_memory_type()
688 enum mem_type mtype; in get_memory_type()
704 static enum mem_type haswell_get_memory_type(struct sbridge_pvt *pvt) in haswell_get_memory_type()
708 enum mem_type mtype = MEM_UNKNOWN; in haswell_get_memory_type()
857 enum mem_type mtype; in get_dimm_config()
Dppc4xx_edac.c863 static enum mem_type ppc4xx_edac_get_mtype(u32 mcopt1) in ppc4xx_edac_get_mtype()
897 enum mem_type mtype; in ppc4xx_edac_init_csrows()
Damd64_edac.h389 enum mem_type dram_type;
Dmpc85xx_edac.c933 enum mem_type mtype; in mpc85xx_init_csrows()
Dedac_mc_sysfs.c267 DEVICE_ATTR_LEGACY(mem_type, S_IRUGO, csrow_mem_type_show, NULL);
Di7core_edac.c505 enum mem_type mtype; in get_dimm_config()
/linux-4.1.27/drivers/usb/serial/
Dwhiteheat.h149 __u8 mem_type; /* see WHITEHEAT_DUMP_* above */ member
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c159 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in cirrus_ttm_io_mem_reserve()
169 switch (mem->mem_type) { in cirrus_ttm_io_mem_reserve()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c159 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in mgag200_ttm_io_mem_reserve()
169 switch (mem->mem_type) { in mgag200_ttm_io_mem_reserve()
/linux-4.1.27/arch/arm/include/asm/
Dio.h190 void pci_ioremap_set_mem_type(int mem_type);
192 static inline void pci_ioremap_set_mem_type(int mem_type) {} in pci_ioremap_set_mem_type() argument
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_ttm.c159 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ast_ttm_io_mem_reserve()
169 switch (mem->mem_type) { in ast_ttm_io_mem_reserve()
/linux-4.1.27/drivers/video/fbdev/omap/
Domapfb.h173 int mem_type, unsigned long *paddr);
/linux-4.1.27/arch/mips/include/asm/mach-loongson/
Dboot_param.h23 u32 mem_type; /* system memory, pci memory, pci io, etc. */ member
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_mm.c137 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in bochs_ttm_io_mem_reserve()
147 switch (mem->mem_type) { in bochs_ttm_io_mem_reserve()
/linux-4.1.27/sound/pci/echoaudio/
Dechoaudio_dsp.c387 int block_type, mem_type; in load_dsp() local
400 mem_type = code[index++]; in load_dsp()
421 if (write_dsp(chip, mem_type) < 0) { in load_dsp()
/linux-4.1.27/drivers/video/fbdev/
Dsm501fb.c436 unsigned int mem_type; in sm501fb_set_par_common() local
447 mem_type = SM501_MEMF_CRT; in sm501fb_set_par_common()
453 mem_type = SM501_MEMF_PANEL; in sm501fb_set_par_common()
459 mem_type = 0; /* stop compiler warnings */ in sm501fb_set_par_common()
485 if (sm501_alloc_mem(fbi, &par->screen, mem_type, smem_len, smem_len)) { in sm501fb_set_par_common()
/linux-4.1.27/arch/arm/kvm/
Dmmu.c1226 pgprot_t mem_type = PAGE_S2; in user_mem_abort() local
1288 mem_type = PAGE_S2_DEVICE; in user_mem_abort()
1317 pmd_t new_pmd = pfn_pmd(pfn, mem_type); in user_mem_abort()
1326 pte_t new_pte = pfn_pte(pfn, mem_type); in user_mem_abort()
/linux-4.1.27/drivers/scsi/megaraid/
Dmbox_defs.h343 uint8_t mem_type; member
/linux-4.1.27/fs/f2fs/
Dnode.h118 enum mem_type { enum
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c588 static struct kobj_type mem_type = { variable
876 ret = kobject_init_and_add(mem->kobj, &mem_type, in kfd_build_sysfs_node_entry()
/linux-4.1.27/drivers/pci/
Dprobe.c129 u32 mem_type; in decode_bar() local
143 mem_type = bar & PCI_BASE_ADDRESS_MEM_TYPE_MASK; in decode_bar()
144 switch (mem_type) { in decode_bar()
/linux-4.1.27/arch/ia64/include/asm/
Dsal.h182 u8 mem_type; /* memory type */ member
/linux-4.1.27/drivers/scsi/
Dmegaraid.h237 u8 mem_type; /* EDO, FPM, SDRAM etc */ member
Dhpsa.c5900 int i, offset, mem_type, bar_type; in find_PCI_BAR_index() local
5910 mem_type = pci_resource_flags(pdev, i) & in find_PCI_BAR_index()
5912 switch (mem_type) { in find_PCI_BAR_index()
/linux-4.1.27/drivers/scsi/esas2r/
Datioctl.h799 u8 mem_type; member
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c3160 static int mc7_init(struct mc7 *mc7, unsigned int mc7_clock, int mem_type) in mc7_init() argument
3176 const struct mc7_timing_params *p = &mc7_timings[mem_type]; in mc7_init()
3234 mc7_mode[mem_type]) || in mc7_init()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic.h1826 u8 mem_type; member
Dnetxen_nic_main.c3073 dimm.mem_type = NETXEN_DIMM_MEM_DDR2_SDRAM; in netxen_sysfs_read_dimm()
3075 dimm.mem_type = NETXEN_DIMM_MEMTYPE(val); in netxen_sysfs_read_dimm()
/linux-4.1.27/drivers/block/
Dcciss.c3855 int i, offset, mem_type, bar_type; in find_PCI_BAR_index() local
3864 mem_type = pci_resource_flags(pdev, i) & in find_PCI_BAR_index()
3866 switch (mem_type) { in find_PCI_BAR_index()
/linux-4.1.27/arch/x86/xen/
Dmmu.c2388 switch (a.mem_type) { in xen_oldmem_pfn_is_ram()