/linux-4.4.14/arch/blackfin/mm/ |
D | maccess.c | 22 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/ |
D | ttm_bo.c | 58 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 …]
|
D | ttm_bo_util.c | 55 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 …]
|
D | ttm_bo_vm.c | 101 &bdev->man[bo->mem.mem_type]; in ttm_bo_vm_fault()
|
/linux-4.4.14/arch/arm/include/asm/mach/ |
D | map.h | 53 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/ |
D | numa.c | 126 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/ |
D | qxl_object.h | 65 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()
|
D | qxl_object.c | 147 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()
|
D | qxl_ttm.c | 219 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()
|
D | qxl_cmd.c | 520 …_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/ |
D | sram.h | 15 u32 mem_type); 33 u32 mem_type); 46 u32 mem_type);
|
D | sram.c | 154 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/ |
D | mem.c | 63 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/ |
D | amdgpu_ttm.c | 192 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 …]
|
D | amdgpu_object.h | 40 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()
|
D | amdgpu_object.c | 66 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()
|
D | amdgpu_gem.c | 474 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()
|
D | amdgpu_atombios.h | 87 u8 mem_type; member
|
D | amdgpu_cs.c | 354 amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type); in amdgpu_cs_list_validate()
|
D | amdgpu_vm.c | 833 if (mem->mem_type != TTM_PL_TT) in amdgpu_vm_bo_update()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_object.c | 51 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 …]
|
D | radeon_ttm.c | 197 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 …]
|
D | radeon_object.h | 40 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,
|
D | radeon_gem.c | 450 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()
|
D | radeon_vm.c | 948 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()
|
D | ni.c | 637 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()
|
D | rv770_dpm.c | 1277 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()
|
D | radeon_mode.h | 643 u8 mem_type; member
|
D | cypress_dpm.c | 1563 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()
|
D | radeon_atombios.c | 3840 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()
|
D | radeon_pm.c | 152 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_unmap_vram_bos()
|
/linux-4.4.14/arch/unicore32/mm/ |
D | mm.h | 30 struct mem_type { struct 36 const struct mem_type *get_mem_type(unsigned int type); argument
|
D | ioremap.c | 49 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()
|
D | mmu.c | 91 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/ |
D | vmwgfx_dmabuf.c | 186 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()
|
D | vmwgfx_buffer.c | 221 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()
|
D | vmwgfx_cotable.c | 170 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()
|
D | vmwgfx_context.c | 347 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()
|
D | vmwgfx_shader.c | 254 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()
|
D | vmwgfx_fifo.c | 616 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()
|
D | vmwgfx_resource.c | 1497 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()
|
D | vmwgfx_surface.c | 1136 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()
|
D | vmwgfx_execbuf.c | 3470 switch (bo->mem.mem_type) { in vmw_apply_relocations()
|
/linux-4.4.14/arch/arm/mm/ |
D | ioremap.c | 107 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()
|
D | mm.h | 41 struct mem_type { struct 49 const struct mem_type *get_mem_type(unsigned int type); argument
|
D | mmu.c | 246 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/ |
D | pcmciamtd.c | 61 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/ |
D | ttm_bo_api.h | 124 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/ |
D | i40e_hmc.c | 48 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/ |
D | nouveau_bo.c | 322 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 …]
|
D | nouveau_gem.c | 119 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()
|
D | nouveau_chan.c | 143 if (chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) { in nouveau_channel_prep()
|
D | nouveau_abi16.c | 297 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/ |
D | mtrr.c | 457 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/ |
D | ram.c | 68 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/ |
D | drv_mshim_intf.h | 30 uint8_t mem_type; /**< Memory type, DDR2 or DDR3. */ member
|
/linux-4.4.14/drivers/cpufreq/ |
D | s5pv210-cpufreq.c | 506 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/ |
D | ramoops.txt | 22 * "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 = <...>,
|
D | edac.txt | 252 'mem_type'
|
/linux-4.4.14/include/xen/interface/hvm/ |
D | hvm_op.h | 58 uint16_t mem_type; member
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bna_enet.c | 1874 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 …]
|
D | bna_tx_rx.c | 2176 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 …]
|
D | bna_types.h | 276 enum bna_mem_type mem_type; member
|
D | bnad.c | 74 (_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/ |
D | pstore_ram.h | 80 unsigned int mem_type; member
|
D | edac.h | 202 enum mem_type { enum 555 enum mem_type mtype; /* memory dimm type */
|
/linux-4.4.14/drivers/edac/ |
D | i82443bxgx_edac.c | 189 enum mem_type mtype) in i82443bxgx_init_csrows() 240 enum mem_type mtype; in i82443bxgx_edacmc_probe1()
|
D | synopsys_edac.c | 336 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()
|
D | tile_edac.c | 103 switch (mem_info.mem_type) { in tile_edac_init_csrows()
|
D | sb_edac.c | 282 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()
|
D | ppc4xx_edac.c | 864 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()
|
D | amd64_edac.h | 337 enum mem_type dram_type;
|
D | edac_mc_sysfs.c | 274 DEVICE_ATTR_LEGACY(mem_type, S_IRUGO, csrow_mem_type_show, NULL);
|
D | mpc85xx_edac.c | 937 enum mem_type mtype; in mpc85xx_init_csrows()
|
D | i7core_edac.c | 505 enum mem_type mtype; in get_dimm_config()
|
/linux-4.4.14/drivers/usb/serial/ |
D | whiteheat.h | 149 __u8 mem_type; /* see WHITEHEAT_DUMP_* above */ member
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_ttm.c | 260 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/ |
D | cirrus_ttm.c | 159 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/ |
D | ast_ttm.c | 159 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/ |
D | mgag200_ttm.c | 159 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/ |
D | io.h | 183 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/ |
D | omapfb.h | 173 int mem_type, unsigned long *paddr);
|
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/ |
D | boot_param.h | 23 u32 mem_type; /* system memory, pci memory, pci io, etc. */ member
|
/linux-4.4.14/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 137 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/ |
D | echoaudio_dsp.c | 387 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/ |
D | sm501fb.c | 436 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/ |
D | mmu.c | 1227 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/ |
D | wm_adsp.c | 884 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/ |
D | mbox_defs.h | 343 uint8_t mem_type; member
|
/linux-4.4.14/fs/f2fs/ |
D | node.h | 120 enum mem_type { enum
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 588 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/ |
D | probe.c | 132 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/ |
D | megaraid.h | 237 u8 mem_type; /* EDO, FPM, SDRAM etc */ member
|
D | hpsa.c | 7261 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/ |
D | sal.h | 182 u8 mem_type; /* memory type */ member
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | atioctl.h | 799 u8 mem_type; member
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 3160 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/ |
D | netxen_nic.h | 1826 u8 mem_type; member
|
D | netxen_nic_main.c | 3073 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/ |
D | cciss.c | 3871 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/ |
D | mmu.c | 2730 switch (a.mem_type) { in xen_oldmem_pfn_is_ram()
|