Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/mips/loongson64/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.4.14/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.4.14/arch/arm/mach-omap2/
Dsram.h15 u32 mem_type);
33 u32 mem_type);
46 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.4.14/arch/mips/loongson64/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.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c192 switch (bo->mem.mem_type) { in amdgpu_evict_flags()
239 switch (old_mem->mem_type) { in amdgpu_move_blit()
247 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in amdgpu_move_blit()
250 switch (new_mem->mem_type) { in amdgpu_move_blit()
258 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in amdgpu_move_blit()
375 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in amdgpu_bo_move()
379 if ((old_mem->mem_type == TTM_PL_TT && in amdgpu_bo_move()
380 new_mem->mem_type == TTM_PL_SYSTEM) || in amdgpu_bo_move()
381 (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
382 new_mem->mem_type == TTM_PL_TT)) { in amdgpu_bo_move()
[all …]
Damdgpu_object.h40 static inline unsigned amdgpu_mem_type_to_domain(u32 mem_type) in amdgpu_mem_type_to_domain() argument
42 switch (mem_type) { in amdgpu_mem_type_to_domain()
Damdgpu_object.c66 switch (new_mem->mem_type) { in amdgpu_update_memory_usage()
79 switch (old_mem->mem_type) { in amdgpu_update_memory_usage()
453 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in amdgpu_bo_unpin()
618 if (bo->mem.mem_type != TTM_PL_VRAM) in amdgpu_bo_fault_reserve_notify()
Damdgpu_gem.c474 domain = amdgpu_mem_type_to_domain(entry->bo->mem.mem_type); in amdgpu_gem_va_update_vm()
481 domain = amdgpu_mem_type_to_domain(entry->bo->mem.mem_type); in amdgpu_gem_va_update_vm()
707 domain = amdgpu_mem_type_to_domain(rbo->tbo.mem.mem_type); in amdgpu_debugfs_gem_info()
Damdgpu_atombios.h87 u8 mem_type; member
Damdgpu_cs.c354 amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type); in amdgpu_cs_list_validate()
Damdgpu_vm.c833 if (mem->mem_type != TTM_PL_TT) in amdgpu_vm_bo_update()
/linux-4.4.14/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()
406 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_bo_unpin()
542 radeon_mem_type_to_domain(bo->tbo.mem.mem_type); in radeon_bo_list_validate()
747 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) { in radeon_bo_check_tiling()
778 radeon_update_memory_usage(rbo, bo->mem.mem_type, -1); in radeon_bo_move_notify()
779 radeon_update_memory_usage(rbo, new_mem->mem_type, 1); in radeon_bo_move_notify()
794 if (bo->mem.mem_type != TTM_PL_VRAM) in radeon_bo_fault_reserve_notify()
827 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.c450 cur_placement = ACCESS_ONCE(robj->tbo.mem.mem_type); in radeon_gem_busy_ioctl()
480 cur_placement = ACCESS_ONCE(robj->tbo.mem.mem_type); in radeon_gem_wait_idle_ioctl()
564 domain = radeon_mem_type_to_domain(entry->bo->mem.mem_type); in radeon_gem_va_update_vm()
781 domain = radeon_mem_type_to_domain(rbo->tbo.mem.mem_type); in radeon_debugfs_gem_info()
Dradeon_vm.c948 if (mem->mem_type != TTM_PL_SYSTEM) { in radeon_vm_bo_update()
951 if (mem->mem_type == TTM_PL_TT) { in radeon_vm_bo_update()
Dni.c637 u32 mem_type, running, blackout = 0; in ni_mc_load_microcode() local
668 mem_type = (RREG32(MC_SEQ_MISC0) & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT; in ni_mc_load_microcode()
671 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.h643 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.4.14/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.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_dmabuf.c186 if (bo->mem.mem_type == TTM_PL_VRAM && in vmw_dmabuf_pin_in_start_of_vram()
251 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_bo_get_guest_ptr()
273 uint32_t old_mem_type = bo->mem.mem_type; in vmw_bo_pin_reserved()
300 BUG_ON(ret != 0 || bo->mem.mem_type != old_mem_type); in vmw_bo_pin_reserved()
Dvmwgfx_buffer.c221 int mem_type; member
571 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind()
573 switch (bo_mem->mem_type) { in vmw_ttm_bind()
599 switch (vmw_be->mem_type) { in vmw_ttm_unbind()
782 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in vmw_ttm_io_mem_reserve()
792 switch (mem->mem_type) { in vmw_ttm_io_mem_reserve()
Dvmwgfx_cotable.c170 WARN_ON_ONCE(bo->mem.mem_type != VMW_PL_MOB); in vmw_cotable_unscrub()
181 WARN_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_cotable_unscrub()
318 WARN_ON_ONCE(bo->mem.mem_type != VMW_PL_MOB); in vmw_cotable_unbind()
Dvmwgfx_context.c347 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_context_bind()
388 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_context_unbind()
523 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_dx_context_bind()
605 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_dx_context_unbind()
Dvmwgfx_shader.c254 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_shader_bind()
285 BUG_ON(res->backup->base.mem.mem_type != VMW_PL_MOB); in vmw_gb_shader_unbind()
462 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_dx_shader_bind()
528 BUG_ON(res->backup->base.mem.mem_type != VMW_PL_MOB); in vmw_dx_shader_unbind()
Dvmwgfx_fifo.c616 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_fifo_emit_dummy_legacy_query()
664 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_fifo_emit_dummy_gb_query()
Dvmwgfx_resource.c1497 if (mem->mem_type != VMW_PL_MOB) { in vmw_resource_move_notify()
1595 if (mem->mem_type == TTM_PL_SYSTEM && bo->mem.mem_type == VMW_PL_MOB) { in vmw_query_move_notify()
Dvmwgfx_surface.c1136 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_surface_bind()
1187 BUG_ON(bo->mem.mem_type != VMW_PL_MOB); in vmw_gb_surface_unbind()
Dvmwgfx_execbuf.c3470 switch (bo->mem.mem_type) { in vmw_apply_relocations()
/linux-4.4.14/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()
456 void pci_ioremap_set_mem_type(int mem_type) in pci_ioremap_set_mem_type() argument
458 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.c246 static struct mem_type mem_types[] = {
355 const struct mem_type *get_mem_type(unsigned int type) in get_mem_type()
692 struct mem_type *t = &mem_types[i]; in build_mem_type_table()
739 const struct mem_type *type) in alloc_init_pte()
750 const struct mem_type *type) in __map_init_section()
777 const struct mem_type *type) in alloc_init_pmd()
808 const struct mem_type *type) in alloc_init_pud()
822 const struct mem_type *type) in create_36bit_mapping()
890 const struct mem_type *type; in create_mapping()
/linux-4.4.14/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()
739 if(mem_type && mem_type != 1 && mem_type != 2) { in init_pcmciamtd()
740 info("bad mem_type (%d), using default", mem_type); in init_pcmciamtd()
741 mem_type = 0; in init_pcmciamtd()
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/
Dnouveau_bo.c322 if (bo->mem.mem_type == TTM_PL_VRAM) { in nouveau_bo_pin()
333 if (!(memtype & (1 << bo->mem.mem_type)) || evict) { in nouveau_bo_pin()
336 1 << bo->mem.mem_type, memtype); in nouveau_bo_pin()
363 switch (bo->mem.mem_type) { in nouveau_bo_pin()
401 switch (bo->mem.mem_type) { in nouveau_bo_unpin()
662 switch (bo->mem.mem_type) { in nouveau_bo_evict_flags()
978 if (mem->mem_type == TTM_PL_TT) in nouveau_bo_mem_ctxdma()
1237 if (new_mem && new_mem->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy()
1238 (new_mem->mem_type == TTM_PL_VRAM || in nouveau_bo_move_ntfy()
1257 if (new_mem->mem_type != TTM_PL_VRAM) in nouveau_bo_vm_bind()
[all …]
Dnouveau_gem.c119 const bool mapped = nvbo->bo.mem.mem_type != TTM_PL_SYSTEM; in nouveau_gem_object_unmap()
234 else if (nvbo->bo.mem.mem_type == TTM_PL_TT) in nouveau_gem_info()
308 bo->mem.mem_type == TTM_PL_VRAM) in nouveau_gem_set_domain()
312 bo->mem.mem_type == TTM_PL_TT) in nouveau_gem_set_domain()
502 ((nvbo->bo.mem.mem_type == TTM_PL_VRAM && in validate_list()
504 (nvbo->bo.mem.mem_type == TTM_PL_TT && in validate_list()
508 if (nvbo->bo.mem.mem_type == TTM_PL_TT) in validate_list()
Dnouveau_chan.c143 if (chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) { in nouveau_channel_prep()
Dnouveau_abi16.c297 if (chan->chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) in nouveau_abi16_ioctl_channel_alloc()
/linux-4.4.14/arch/x86/kvm/
Dmtrr.c457 int mem_type; member
600 iter->mem_type = iter->mtrr_state->fixed_ranges[iter->index]; in mtrr_lookup_okay()
605 iter->mem_type = iter->range->base & 0xff; in mtrr_lookup_okay()
637 int curr_type = iter.mem_type; in kvm_mtrr_get_guest_memory_type()
712 type = iter.mem_type; in kvm_mtrr_check_gfn_range_consistency()
716 if (type != iter.mem_type) in kvm_mtrr_check_gfn_range_consistency()
/linux-4.4.14/fs/pstore/
Dram.c68 static unsigned int mem_type; variable
69 module_param(mem_type, uint, 0600);
70 MODULE_PARM_DESC(mem_type,
494 cxt->memtype = pdata->mem_type; in ramoops_probe()
622 dummy_data->mem_type = mem_type; in ramoops_register_dummy()
/linux-4.4.14/arch/tile/include/hv/
Ddrv_mshim_intf.h30 uint8_t mem_type; /**< Memory type, DDR2 or DDR3. */ member
/linux-4.4.14/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.4.14/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.txt252 'mem_type'
/linux-4.4.14/include/xen/interface/hvm/
Dhvm_op.h58 uint16_t mem_type; member
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbna_enet.c1874 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1883 res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1890 res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mem_type = BNA_MEM_T_KVA; in bna_res_req()
1896 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1910 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1918 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1926 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1934 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1942 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1950 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
[all …]
Dbna_tx_rx.c2176 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
2182 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
2188 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2194 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
2200 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2206 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2212 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
2218 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2224 mem_info->mem_type = BNA_MEM_T_DMA; in bna_rx_res_req()
2230 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req()
[all …]
Dbna_types.h276 enum bna_mem_type mem_type; member
Dbnad.c74 (_res_info)->res_u.mem_info.mem_type = BNA_MEM_T_KVA; \
1337 if (mem_info->mem_type == BNA_MEM_T_DMA) { in bnad_mem_free()
1368 if (mem_info->mem_type == BNA_MEM_T_DMA) { in bnad_mem_alloc()
/linux-4.4.14/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.4.14/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.c282 enum mem_type (*get_memory_type)(struct sbridge_pvt *pvt);
721 static enum mem_type get_memory_type(struct sbridge_pvt *pvt) in get_memory_type()
724 enum mem_type mtype; in get_memory_type()
740 static enum mem_type haswell_get_memory_type(struct sbridge_pvt *pvt) in haswell_get_memory_type()
744 enum mem_type mtype = MEM_UNKNOWN; in haswell_get_memory_type()
936 enum mem_type mtype; in get_dimm_config()
Dppc4xx_edac.c864 static enum mem_type ppc4xx_edac_get_mtype(u32 mcopt1) in ppc4xx_edac_get_mtype()
898 enum mem_type mtype; in ppc4xx_edac_init_csrows()
Damd64_edac.h337 enum mem_type dram_type;
Dedac_mc_sysfs.c274 DEVICE_ATTR_LEGACY(mem_type, S_IRUGO, csrow_mem_type_show, NULL);
Dmpc85xx_edac.c937 enum mem_type mtype; in mpc85xx_init_csrows()
Di7core_edac.c505 enum mem_type mtype; in get_dimm_config()
/linux-4.4.14/drivers/usb/serial/
Dwhiteheat.h149 __u8 mem_type; /* see WHITEHEAT_DUMP_* above */ member
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_ttm.c260 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in virtio_gpu_ttm_io_mem_reserve()
269 switch (mem->mem_type) { in virtio_gpu_ttm_io_mem_reserve()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/arm/include/asm/
Dio.h183 void pci_ioremap_set_mem_type(int mem_type);
185 static inline void pci_ioremap_set_mem_type(int mem_type) {} in pci_ioremap_set_mem_type() argument
/linux-4.4.14/drivers/video/fbdev/omap/
Domapfb.h173 int mem_type, unsigned long *paddr);
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/
Dboot_param.h23 u32 mem_type; /* system memory, pci memory, pci io, etc. */ member
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/arm/kvm/
Dmmu.c1227 pgprot_t mem_type = PAGE_S2; in user_mem_abort() local
1289 mem_type = PAGE_S2_DEVICE; in user_mem_abort()
1318 pmd_t new_pmd = pfn_pmd(pfn, mem_type); in user_mem_abort()
1327 pte_t new_pte = pfn_pte(pfn, mem_type); in user_mem_abort()
/linux-4.4.14/sound/soc/codecs/
Dwm_adsp.c884 int mem_type; member
979 blk->mem_type = le16_to_cpu(raw->hdr.type); in wm_coeff_parse_coeff()
989 blk->mem_type = wm_coeff_parse_int(sizeof(raw->hdr.type), &tmp); in wm_coeff_parse_coeff()
1003 adsp_dbg(dsp, "\tCoefficient type: %#x\n", blk->mem_type); in wm_coeff_parse_coeff()
1033 alg_region.type = coeff_blk.mem_type; in wm_adsp_parse_coeff()
/linux-4.4.14/drivers/scsi/megaraid/
Dmbox_defs.h343 uint8_t mem_type; member
/linux-4.4.14/fs/f2fs/
Dnode.h120 enum mem_type { enum
/linux-4.4.14/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.4.14/drivers/pci/
Dprobe.c132 u32 mem_type; in decode_bar() local
146 mem_type = bar & PCI_BASE_ADDRESS_MEM_TYPE_MASK; in decode_bar()
147 switch (mem_type) { in decode_bar()
/linux-4.4.14/drivers/scsi/
Dmegaraid.h237 u8 mem_type; /* EDO, FPM, SDRAM etc */ member
Dhpsa.c7261 int i, offset, mem_type, bar_type; in find_PCI_BAR_index() local
7271 mem_type = pci_resource_flags(pdev, i) & in find_PCI_BAR_index()
7273 switch (mem_type) { in find_PCI_BAR_index()
/linux-4.4.14/arch/ia64/include/asm/
Dsal.h182 u8 mem_type; /* memory type */ member
/linux-4.4.14/drivers/scsi/esas2r/
Datioctl.h799 u8 mem_type; member
/linux-4.4.14/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.4.14/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.4.14/drivers/block/
Dcciss.c3871 int i, offset, mem_type, bar_type; in find_PCI_BAR_index() local
3880 mem_type = pci_resource_flags(pdev, i) & in find_PCI_BAR_index()
3882 switch (mem_type) { in find_PCI_BAR_index()
/linux-4.4.14/arch/x86/xen/
Dmmu.c2730 switch (a.mem_type) { in xen_oldmem_pfn_is_ram()