mem_type 177 arch/arm/include/asm/io.h void pci_ioremap_set_mem_type(int mem_type); mem_type 179 arch/arm/include/asm/io.h static inline void pci_ioremap_set_mem_type(int mem_type) {} mem_type 52 arch/arm/include/asm/mach/map.h struct mem_type; mem_type 53 arch/arm/include/asm/mach/map.h extern const struct mem_type *get_mem_type(unsigned int type); mem_type 58 arch/arm/include/asm/mach/map.h const struct mem_type *mtype); mem_type 151 arch/arm/mach-omap2/sram.c u32 mem_type); mem_type 153 arch/arm/mach-omap2/sram.c void omap2_sram_reprogram_sdrc(u32 perf_level, u32 dll_val, u32 mem_type) mem_type 156 arch/arm/mach-omap2/sram.c _omap2_sram_reprogram_sdrc(perf_level, dll_val, mem_type); mem_type 12 arch/arm/mach-omap2/sram.h u32 mem_type); mem_type 30 arch/arm/mach-omap2/sram.h u32 mem_type); mem_type 43 arch/arm/mach-omap2/sram.h u32 mem_type); mem_type 109 arch/arm/mm/ioremap.c const struct mem_type *mtype) mem_type 189 arch/arm/mm/ioremap.c size_t size, const struct mem_type *type) mem_type 221 arch/arm/mm/ioremap.c size_t size, const struct mem_type *type) mem_type 263 arch/arm/mm/ioremap.c const struct mem_type *type; mem_type 470 arch/arm/mm/ioremap.c void pci_ioremap_set_mem_type(int mem_type) mem_type 472 arch/arm/mm/ioremap.c pci_ioremap_mem_type = mem_type; mem_type 52 arch/arm/mm/mm.h const struct mem_type *get_mem_type(unsigned int type); mem_type 245 arch/arm/mm/mmu.c static struct mem_type mem_types[] __ro_after_init = { mem_type 354 arch/arm/mm/mmu.c const struct mem_type *get_mem_type(unsigned int type) mem_type 696 arch/arm/mm/mmu.c struct mem_type *t = &mem_types[i]; mem_type 759 arch/arm/mm/mmu.c const struct mem_type *type, mem_type 773 arch/arm/mm/mmu.c const struct mem_type *type, bool ng) mem_type 800 arch/arm/mm/mmu.c const struct mem_type *type, mem_type 832 arch/arm/mm/mmu.c const struct mem_type *type, mem_type 848 arch/arm/mm/mmu.c const struct mem_type *type, mem_type 913 arch/arm/mm/mmu.c const struct mem_type *type; mem_type 184 arch/ia64/include/asm/sal.h u8 mem_type; /* memory type */ mem_type 24 arch/mips/include/asm/mach-loongson64/boot_param.h u32 mem_type; /* system memory, pci memory, pci io, etc. */ mem_type 61 arch/mips/loongson64/common/mem.c u32 mem_type; mem_type 66 arch/mips/loongson64/common/mem.c mem_type = loongson_memmap->map[i].mem_type; mem_type 71 arch/mips/loongson64/common/mem.c switch (mem_type) { mem_type 121 arch/mips/loongson64/loongson-3/numa.c u32 i, mem_type; mem_type 131 arch/mips/loongson64/loongson-3/numa.c mem_type = loongson_memmap->map[i].mem_type; mem_type 135 arch/mips/loongson64/loongson-3/numa.c switch (mem_type) { mem_type 142 arch/mips/loongson64/loongson-3/numa.c (u32)node_id, mem_type, mem_start, mem_size); mem_type 154 arch/mips/loongson64/loongson-3/numa.c (u32)node_id, mem_type, mem_start, mem_size); mem_type 162 arch/mips/loongson64/loongson-3/numa.c (u32)node_id, mem_type, mem_start, mem_size); mem_type 45 arch/unicore32/mm/ioremap.c const struct mem_type *mtype) mem_type 99 arch/unicore32/mm/ioremap.c size_t size, const struct mem_type *type) mem_type 128 arch/unicore32/mm/ioremap.c const struct mem_type *type; mem_type 33 arch/unicore32/mm/mm.h const struct mem_type *get_mem_type(unsigned int type); mem_type 87 arch/unicore32/mm/mmu.c static struct mem_type mem_types[] = { mem_type 122 arch/unicore32/mm/mmu.c const struct mem_type *get_mem_type(unsigned int type) mem_type 160 arch/unicore32/mm/mmu.c const struct mem_type *type) mem_type 171 arch/unicore32/mm/mmu.c const struct mem_type *type) mem_type 206 arch/unicore32/mm/mmu.c const struct mem_type *type; mem_type 451 arch/x86/kvm/mtrr.c int mem_type; mem_type 595 arch/x86/kvm/mtrr.c iter->mem_type = iter->mtrr_state->fixed_ranges[iter->index]; mem_type 600 arch/x86/kvm/mtrr.c iter->mem_type = iter->range->base & 0xff; mem_type 632 arch/x86/kvm/mtrr.c int curr_type = iter.mem_type; mem_type 707 arch/x86/kvm/mtrr.c type = iter.mem_type; mem_type 711 arch/x86/kvm/mtrr.c if (type != iter.mem_type) mem_type 32 arch/x86/xen/mmu_hvm.c switch (a.mem_type) { mem_type 500 drivers/cpufreq/s5pv210-cpufreq.c unsigned long mem_type; mem_type 528 drivers/cpufreq/s5pv210-cpufreq.c mem_type = check_mem_type(dmc_base[0]); mem_type 530 drivers/cpufreq/s5pv210-cpufreq.c if ((mem_type != LPDDR) && (mem_type != LPDDR2)) { mem_type 383 drivers/edac/amd64_edac.h enum mem_type dram_type; mem_type 252 drivers/edac/edac_mc_sysfs.c DEVICE_ATTR_LEGACY(mem_type, S_IRUGO, csrow_mem_type_show, NULL); mem_type 398 drivers/edac/fsl_ddr_edac.c enum mem_type mtype; mem_type 493 drivers/edac/i7core_edac.c enum mem_type mtype; mem_type 187 drivers/edac/i82443bxgx_edac.c enum mem_type mtype) mem_type 238 drivers/edac/i82443bxgx_edac.c enum mem_type mtype; mem_type 859 drivers/edac/ppc4xx_edac.c static enum mem_type ppc4xx_edac_get_mtype(u32 mcopt1) mem_type 893 drivers/edac/ppc4xx_edac.c enum mem_type mtype; mem_type 328 drivers/edac/sb_edac.c enum mem_type (*get_memory_type)(struct sbridge_pvt *pvt); mem_type 875 drivers/edac/sb_edac.c static enum mem_type get_memory_type(struct sbridge_pvt *pvt) mem_type 878 drivers/edac/sb_edac.c enum mem_type mtype; mem_type 894 drivers/edac/sb_edac.c static enum mem_type haswell_get_memory_type(struct sbridge_pvt *pvt) mem_type 898 drivers/edac/sb_edac.c enum mem_type mtype = MEM_UNKNOWN; mem_type 975 drivers/edac/sb_edac.c static enum mem_type knl_get_memory_type(struct sbridge_pvt *pvt) mem_type 1591 drivers/edac/sb_edac.c enum mem_type mtype; mem_type 345 drivers/edac/synopsys_edac.c enum mem_type (*get_mtype)(const void __iomem *base); mem_type 718 drivers/edac/synopsys_edac.c static enum mem_type zynq_get_mtype(const void __iomem *base) mem_type 720 drivers/edac/synopsys_edac.c enum mem_type mt; mem_type 742 drivers/edac/synopsys_edac.c static enum mem_type zynqmp_get_mtype(const void __iomem *base) mem_type 744 drivers/edac/synopsys_edac.c enum mem_type mt; mem_type 1355 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c bo->tbo.mem.mem_type == TTM_PL_SYSTEM) mem_type 87 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h u8 mem_type; mem_type 234 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c u8 mem_type; mem_type 250 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c mem_type = igp_info->v11.memorytype; mem_type 251 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c return convert_atom_mem_type_to_vram_type(adev, mem_type); mem_type 260 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c mem_type = vram_info->v23.vram_module[0].memory_type; mem_type 261 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c return convert_atom_mem_type_to_vram_type(adev, mem_type); mem_type 263 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c mem_type = vram_info->v24.vram_module[0].memory_type; mem_type 264 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c return convert_atom_mem_type_to_vram_type(adev, mem_type); mem_type 480 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c other = amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type); mem_type 3408 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (shadow->tbo.mem.mem_type != TTM_PL_TT || mem_type 3410 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c shadow->parent->tbo.mem.mem_type != TTM_PL_VRAM) mem_type 805 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c domain = amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type); mem_type 47 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c switch (bo->tbo.mem.mem_type) { mem_type 229 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c if ((&tbo->mem == mem || tbo->mem.mem_type != TTM_PL_TT) && mem_type 66 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (bo->tbo.mem.mem_type == TTM_PL_VRAM) { mem_type 70 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c } else if (bo->tbo.mem.mem_type == TTM_PL_TT) { mem_type 582 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c bo->tbo.mem.mem_type == TTM_PL_VRAM && mem_type 909 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c uint32_t mem_type = bo->tbo.mem.mem_type; mem_type 911 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (!(domain & amdgpu_mem_type_to_domain(mem_type))) mem_type 917 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c u64 domain_start = bo->tbo.bdev->man[mem_type].gpu_offset; mem_type 952 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c domain = amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type); mem_type 1280 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type); mem_type 1304 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (bo->mem.mem_type != TTM_PL_VRAM || !bo->mem.mm_node || mem_type 1346 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (bo->mem.mem_type != TTM_PL_VRAM) mem_type 1373 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (bo->mem.mem_type == TTM_PL_VRAM && mem_type 1435 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c WARN_ON_ONCE(bo->tbo.mem.mem_type == TTM_PL_SYSTEM); mem_type 1439 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c WARN_ON_ONCE(bo->tbo.mem.mem_type == TTM_PL_VRAM && mem_type 122 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h static inline unsigned amdgpu_mem_type_to_domain(u32 mem_type) mem_type 124 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h switch (mem_type) { mem_type 207 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h if (bo->tbo.mem.mem_type != TTM_PL_VRAM) mem_type 131 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->type = bo->tbo.mem.mem_type; mem_type 169 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c switch (bo->mem.mem_type) { mem_type 269 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c addr += bo->bdev->man[mem->mem_type].gpu_offset; mem_type 449 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (old_mem->mem_type == TTM_PL_VRAM && mem_type 598 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (mem->mem_type == TTM_PL_SYSTEM || mem_type 599 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c mem->mem_type == TTM_PL_TT) mem_type 601 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (mem->mem_type != TTM_PL_VRAM) mem_type 633 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { mem_type 637 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if ((old_mem->mem_type == TTM_PL_TT && mem_type 638 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->mem_type == TTM_PL_SYSTEM) || mem_type 639 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c (old_mem->mem_type == TTM_PL_SYSTEM && mem_type 640 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->mem_type == TTM_PL_TT)) { mem_type 645 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (old_mem->mem_type == AMDGPU_PL_GDS || mem_type 646 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c old_mem->mem_type == AMDGPU_PL_GWS || mem_type 647 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c old_mem->mem_type == AMDGPU_PL_OA || mem_type 648 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->mem_type == AMDGPU_PL_GDS || mem_type 649 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->mem_type == AMDGPU_PL_GWS || mem_type 650 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->mem_type == AMDGPU_PL_OA) { mem_type 661 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (old_mem->mem_type == TTM_PL_VRAM && mem_type 662 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->mem_type == TTM_PL_SYSTEM) { mem_type 664 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c } else if (old_mem->mem_type == TTM_PL_SYSTEM && mem_type 665 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->mem_type == TTM_PL_VRAM) { mem_type 687 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->mem_type == TTM_PL_VRAM && mem_type 688 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c old_mem->mem_type != TTM_PL_VRAM) { mem_type 707 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 718 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c switch (mem->mem_type) { mem_type 1067 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (bo_mem->mem_type == AMDGPU_PL_GDS || mem_type 1068 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c bo_mem->mem_type == AMDGPU_PL_GWS || mem_type 1069 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c bo_mem->mem_type == AMDGPU_PL_OA) mem_type 1145 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c bo->bdev->man[bo->mem.mem_type].gpu_offset; mem_type 1430 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (mem && mem->mem_type != TTM_PL_SYSTEM) mem_type 1433 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (mem && mem->mem_type == TTM_PL_TT) { mem_type 1504 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c switch (bo->mem.mem_type) { mem_type 1551 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (bo->mem.mem_type != TTM_PL_VRAM) mem_type 2058 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (bo->tbo.mem.mem_type == TTM_PL_TT) { mem_type 315 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type)) mem_type 1705 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (mem->mem_type == TTM_PL_TT) { mem_type 1751 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c uint32_t mem_type = bo->tbo.mem.mem_type; mem_type 1753 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!(bo->preferred_domains & amdgpu_mem_type_to_domain(mem_type))) mem_type 321 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static struct kobj_type mem_type = { mem_type 661 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = kobject_init_and_add(mem->kobj, &mem_type, mem_type 104 drivers/gpu/drm/drm_vram_mm_helper.c struct ttm_mem_type_manager *man = bdev->man + mem->mem_type; mem_type 113 drivers/gpu/drm/drm_vram_mm_helper.c switch (mem->mem_type) { mem_type 860 drivers/gpu/drm/i915/gvt/kvmgt.c u32 mem_type; mem_type 864 drivers/gpu/drm/i915/gvt/kvmgt.c mem_type = (*(u32 *)(vgpu->cfg_space.virtual_cfg_space + bar)) & mem_type 867 drivers/gpu/drm/i915/gvt/kvmgt.c switch (mem_type) { mem_type 314 drivers/gpu/drm/nouveau/nouveau_abi16.c if (chan->chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) mem_type 429 drivers/gpu/drm/nouveau/nouveau_bo.c if (!(memtype & (1 << bo->mem.mem_type)) || evict) { mem_type 432 drivers/gpu/drm/nouveau/nouveau_bo.c 1 << bo->mem.mem_type, memtype); mem_type 459 drivers/gpu/drm/nouveau/nouveau_bo.c switch (bo->mem.mem_type) { mem_type 497 drivers/gpu/drm/nouveau/nouveau_bo.c switch (bo->mem.mem_type) { mem_type 724 drivers/gpu/drm/nouveau/nouveau_bo.c switch (bo->mem.mem_type) { mem_type 1040 drivers/gpu/drm/nouveau/nouveau_bo.c if (reg->mem_type == TTM_PL_TT) mem_type 1315 drivers/gpu/drm/nouveau/nouveau_bo.c if (mem && new_reg->mem_type != TTM_PL_SYSTEM && mem_type 1338 drivers/gpu/drm/nouveau/nouveau_bo.c if (new_reg->mem_type != TTM_PL_VRAM) mem_type 1387 drivers/gpu/drm/nouveau/nouveau_bo.c if (old_reg->mem_type == TTM_PL_SYSTEM && !bo->ttm) { mem_type 1396 drivers/gpu/drm/nouveau/nouveau_bo.c if (new_reg->mem_type == TTM_PL_SYSTEM) mem_type 1400 drivers/gpu/drm/nouveau/nouveau_bo.c else if (old_reg->mem_type == TTM_PL_SYSTEM) mem_type 1440 drivers/gpu/drm/nouveau/nouveau_bo.c struct ttm_mem_type_manager *man = &bdev->man[reg->mem_type]; mem_type 1452 drivers/gpu/drm/nouveau/nouveau_bo.c switch (reg->mem_type) { mem_type 1523 drivers/gpu/drm/nouveau/nouveau_bo.c switch (reg->mem_type) { mem_type 1549 drivers/gpu/drm/nouveau/nouveau_bo.c if (bo->mem.mem_type != TTM_PL_VRAM) { mem_type 1554 drivers/gpu/drm/nouveau/nouveau_bo.c if (bo->mem.mem_type == TTM_PL_SYSTEM) { mem_type 183 drivers/gpu/drm/nouveau/nouveau_chan.c if (chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) { mem_type 231 drivers/gpu/drm/nouveau/nouveau_gem.c else if (nvbo->bo.mem.mem_type == TTM_PL_TT) mem_type 306 drivers/gpu/drm/nouveau/nouveau_gem.c bo->mem.mem_type == TTM_PL_VRAM) mem_type 310 drivers/gpu/drm/nouveau/nouveau_gem.c bo->mem.mem_type == TTM_PL_TT) mem_type 523 drivers/gpu/drm/nouveau/nouveau_gem.c ((nvbo->bo.mem.mem_type == TTM_PL_VRAM && mem_type 525 drivers/gpu/drm/nouveau/nouveau_gem.c (nvbo->bo.mem.mem_type == TTM_PL_TT && mem_type 529 drivers/gpu/drm/nouveau/nouveau_gem.c if (nvbo->bo.mem.mem_type == TTM_PL_TT) mem_type 99 drivers/gpu/drm/nouveau/nouveau_vmm.c if (nvbo->bo.mem.mem_type != TTM_PL_SYSTEM && mem_type 310 drivers/gpu/drm/qxl/qxl_drv.h (bo->tbo.mem.mem_type == TTM_PL_VRAM) mem_type 151 drivers/gpu/drm/qxl/qxl_object.c struct ttm_mem_type_manager *man = &bo->tbo.bdev->man[bo->tbo.mem.mem_type]; mem_type 156 drivers/gpu/drm/qxl/qxl_object.c if (bo->tbo.mem.mem_type == TTM_PL_VRAM) mem_type 158 drivers/gpu/drm/qxl/qxl_object.c else if (bo->tbo.mem.mem_type == TTM_PL_PRIV) mem_type 196 drivers/gpu/drm/qxl/qxl_object.c struct ttm_mem_type_manager *man = &bo->tbo.bdev->man[bo->tbo.mem.mem_type]; mem_type 198 drivers/gpu/drm/qxl/qxl_object.c if ((bo->tbo.mem.mem_type != TTM_PL_VRAM) && mem_type 199 drivers/gpu/drm/qxl/qxl_object.c (bo->tbo.mem.mem_type != TTM_PL_PRIV)) mem_type 66 drivers/gpu/drm/qxl/qxl_object.h static inline int qxl_bo_wait(struct qxl_bo *bo, u32 *mem_type, mem_type 81 drivers/gpu/drm/qxl/qxl_object.h if (mem_type) mem_type 82 drivers/gpu/drm/qxl/qxl_object.h *mem_type = bo->tbo.mem.mem_type; mem_type 165 drivers/gpu/drm/qxl/qxl_ttm.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 175 drivers/gpu/drm/qxl/qxl_ttm.c switch (mem->mem_type) { mem_type 283 drivers/gpu/drm/qxl/qxl_ttm.c if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { mem_type 302 drivers/gpu/drm/qxl/qxl_ttm.c if (bo->mem.mem_type == TTM_PL_PRIV && qbo->surface_id) mem_type 1564 drivers/gpu/drm/radeon/cypress_dpm.c if ((memory_info->mem_type == MEM_TYPE_GDDR3) || mem_type 1565 drivers/gpu/drm/radeon/cypress_dpm.c (memory_info->mem_type == MEM_TYPE_DDR3)) mem_type 640 drivers/gpu/drm/radeon/ni.c u32 mem_type, running, blackout = 0; mem_type 671 drivers/gpu/drm/radeon/ni.c mem_type = (RREG32(MC_SEQ_MISC0) & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT; mem_type 674 drivers/gpu/drm/radeon/ni.c if ((mem_type == MC_SEQ_MISC0_GDDR5_VALUE) && (running == 0)) { mem_type 3853 drivers/gpu/drm/radeon/radeon_atombios.c mem_info->mem_type = vram_module->asMemory.ucMemoryType & 0xf0; mem_type 3870 drivers/gpu/drm/radeon/radeon_atombios.c mem_info->mem_type = vram_module->ucMemoryType & 0xf0; mem_type 3894 drivers/gpu/drm/radeon/radeon_atombios.c mem_info->mem_type = vram_module->ucMemoryType & 0xf0; mem_type 460 drivers/gpu/drm/radeon/radeon_gem.c cur_placement = READ_ONCE(robj->tbo.mem.mem_type); mem_type 490 drivers/gpu/drm/radeon/radeon_gem.c cur_placement = READ_ONCE(robj->tbo.mem.mem_type); mem_type 574 drivers/gpu/drm/radeon/radeon_gem.c domain = radeon_mem_type_to_domain(entry->bo->mem.mem_type); mem_type 793 drivers/gpu/drm/radeon/radeon_gem.c domain = radeon_mem_type_to_domain(rbo->tbo.mem.mem_type); mem_type 639 drivers/gpu/drm/radeon/radeon_mode.h u8 mem_type; mem_type 54 drivers/gpu/drm/radeon/radeon_object.c unsigned mem_type, int sign) mem_type 59 drivers/gpu/drm/radeon/radeon_object.c switch (mem_type) { mem_type 81 drivers/gpu/drm/radeon/radeon_object.c radeon_update_memory_usage(bo, bo->tbo.mem.mem_type, -1); mem_type 412 drivers/gpu/drm/radeon/radeon_object.c if (bo->tbo.mem.mem_type == TTM_PL_VRAM) mem_type 556 drivers/gpu/drm/radeon/radeon_object.c radeon_mem_type_to_domain(bo->tbo.mem.mem_type); mem_type 761 drivers/gpu/drm/radeon/radeon_object.c if (bo->tbo.mem.mem_type != TTM_PL_VRAM) { mem_type 793 drivers/gpu/drm/radeon/radeon_object.c radeon_update_memory_usage(rbo, bo->mem.mem_type, -1); mem_type 794 drivers/gpu/drm/radeon/radeon_object.c radeon_update_memory_usage(rbo, new_mem->mem_type, 1); mem_type 810 drivers/gpu/drm/radeon/radeon_object.c if (bo->mem.mem_type != TTM_PL_VRAM) mem_type 847 drivers/gpu/drm/radeon/radeon_object.c int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait) mem_type 854 drivers/gpu/drm/radeon/radeon_object.c if (mem_type) mem_type 855 drivers/gpu/drm/radeon/radeon_object.c *mem_type = bo->tbo.mem.mem_type; mem_type 40 drivers/gpu/drm/radeon/radeon_object.h static inline unsigned radeon_mem_type_to_domain(u32 mem_type) mem_type 42 drivers/gpu/drm/radeon/radeon_object.h switch (mem_type) { mem_type 122 drivers/gpu/drm/radeon/radeon_object.h extern int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, mem_type 157 drivers/gpu/drm/radeon/radeon_pm.c if (bo->tbo.mem.mem_type == TTM_PL_VRAM) mem_type 144 drivers/gpu/drm/radeon/radeon_ttm.c switch (bo->mem.mem_type) { mem_type 217 drivers/gpu/drm/radeon/radeon_ttm.c switch (old_mem->mem_type) { mem_type 225 drivers/gpu/drm/radeon/radeon_ttm.c DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); mem_type 228 drivers/gpu/drm/radeon/radeon_ttm.c switch (new_mem->mem_type) { mem_type 236 drivers/gpu/drm/radeon/radeon_ttm.c DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); mem_type 358 drivers/gpu/drm/radeon/radeon_ttm.c if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { mem_type 362 drivers/gpu/drm/radeon/radeon_ttm.c if ((old_mem->mem_type == TTM_PL_TT && mem_type 363 drivers/gpu/drm/radeon/radeon_ttm.c new_mem->mem_type == TTM_PL_SYSTEM) || mem_type 364 drivers/gpu/drm/radeon/radeon_ttm.c (old_mem->mem_type == TTM_PL_SYSTEM && mem_type 365 drivers/gpu/drm/radeon/radeon_ttm.c new_mem->mem_type == TTM_PL_TT)) { mem_type 376 drivers/gpu/drm/radeon/radeon_ttm.c if (old_mem->mem_type == TTM_PL_VRAM && mem_type 377 drivers/gpu/drm/radeon/radeon_ttm.c new_mem->mem_type == TTM_PL_SYSTEM) { mem_type 380 drivers/gpu/drm/radeon/radeon_ttm.c } else if (old_mem->mem_type == TTM_PL_SYSTEM && mem_type 381 drivers/gpu/drm/radeon/radeon_ttm.c new_mem->mem_type == TTM_PL_VRAM) { mem_type 404 drivers/gpu/drm/radeon/radeon_ttm.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 414 drivers/gpu/drm/radeon/radeon_ttm.c switch (mem->mem_type) { mem_type 950 drivers/gpu/drm/radeon/radeon_vm.c if (mem->mem_type != TTM_PL_SYSTEM) { mem_type 953 drivers/gpu/drm/radeon/radeon_vm.c if (mem->mem_type == TTM_PL_TT) { mem_type 1276 drivers/gpu/drm/radeon/rv770_dpm.c if (memory_info->mem_type == MEM_TYPE_GDDR3) mem_type 1683 drivers/gpu/drm/radeon/rv770_dpm.c if (memory_info.mem_type == MEM_TYPE_DDR2 || mem_type 1684 drivers/gpu/drm/radeon/rv770_dpm.c memory_info.mem_type == MEM_TYPE_DDR3) mem_type 67 drivers/gpu/drm/ttm/ttm_bo.c uint32_t *mem_type) mem_type 75 drivers/gpu/drm/ttm/ttm_bo.c *mem_type = pos - 1; mem_type 80 drivers/gpu/drm/ttm/ttm_bo.c int mem_type) mem_type 82 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bdev->man[mem_type]; mem_type 91 drivers/gpu/drm/ttm/ttm_bo.c if (mem_type != TTM_PL_SYSTEM) mem_type 99 drivers/gpu/drm/ttm/ttm_bo.c int i, ret, mem_type; mem_type 106 drivers/gpu/drm/ttm/ttm_bo.c &mem_type); mem_type 110 drivers/gpu/drm/ttm/ttm_bo.c i, placement->placement[i].flags, mem_type); mem_type 111 drivers/gpu/drm/ttm/ttm_bo.c ttm_mem_type_debug(bo->bdev, &p, mem_type); mem_type 184 drivers/gpu/drm/ttm/ttm_bo.c man = &bdev->man[mem->mem_type]; mem_type 254 drivers/gpu/drm/ttm/ttm_bo.c switch (bo->mem.mem_type) { mem_type 327 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *old_man = &bdev->man[bo->mem.mem_type]; mem_type 328 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *new_man = &bdev->man[mem->mem_type]; mem_type 356 drivers/gpu/drm/ttm/ttm_bo.c if (mem->mem_type != TTM_PL_SYSTEM) { mem_type 362 drivers/gpu/drm/ttm/ttm_bo.c if (bo->mem.mem_type == TTM_PL_SYSTEM) { mem_type 404 drivers/gpu/drm/ttm/ttm_bo.c bdev->man[bo->mem.mem_type].gpu_offset; mem_type 412 drivers/gpu/drm/ttm/ttm_bo.c new_man = &bdev->man[bo->mem.mem_type]; mem_type 676 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bdev->man[bo->mem.mem_type]; mem_type 841 drivers/gpu/drm/ttm/ttm_bo.c uint32_t mem_type, mem_type 848 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bdev->man[mem_type]; mem_type 919 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bo->bdev->man[mem->mem_type]; mem_type 970 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 981 drivers/gpu/drm/ttm/ttm_bo.c ret = ttm_mem_evict_first(bdev, mem->mem_type, place, ctx, mem_type 1016 drivers/gpu/drm/ttm/ttm_bo.c uint32_t mem_type, mem_type 1020 drivers/gpu/drm/ttm/ttm_bo.c uint32_t cur_flags = ttm_bo_type_flags(mem_type); mem_type 1051 drivers/gpu/drm/ttm/ttm_bo.c uint32_t mem_type = TTM_PL_SYSTEM; mem_type 1056 drivers/gpu/drm/ttm/ttm_bo.c ret = ttm_mem_type_from_place(place, &mem_type); mem_type 1060 drivers/gpu/drm/ttm/ttm_bo.c man = &bdev->man[mem_type]; mem_type 1064 drivers/gpu/drm/ttm/ttm_bo.c if (!ttm_bo_mt_compatible(man, mem_type, place, &cur_flags)) mem_type 1074 drivers/gpu/drm/ttm/ttm_bo.c mem->mem_type = mem_type; mem_type 1077 drivers/gpu/drm/ttm/ttm_bo.c if (bo->mem.mem_type < mem_type && !list_empty(&bo->lru)) { mem_type 1121 drivers/gpu/drm/ttm/ttm_bo.c if (mem->mem_type == TTM_PL_SYSTEM) mem_type 1124 drivers/gpu/drm/ttm/ttm_bo.c man = &bdev->man[mem->mem_type]; mem_type 1154 drivers/gpu/drm/ttm/ttm_bo.c if (mem->mem_type == TTM_PL_SYSTEM) mem_type 1172 drivers/gpu/drm/ttm/ttm_bo.c if (bo->mem.mem_type == TTM_PL_SYSTEM && !list_empty(&bo->lru)) { mem_type 1278 drivers/gpu/drm/ttm/ttm_bo.c if (bo->mem.mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { mem_type 1338 drivers/gpu/drm/ttm/ttm_bo.c bo->mem.mem_type = TTM_PL_SYSTEM; mem_type 1486 drivers/gpu/drm/ttm/ttm_bo.c unsigned mem_type) mem_type 1493 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bdev->man[mem_type]; mem_type 1507 drivers/gpu/drm/ttm/ttm_bo.c ret = ttm_mem_evict_first(bdev, mem_type, NULL, &ctx, mem_type 1530 drivers/gpu/drm/ttm/ttm_bo.c int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) mem_type 1535 drivers/gpu/drm/ttm/ttm_bo.c if (mem_type >= TTM_NUM_MEM_TYPES) { mem_type 1536 drivers/gpu/drm/ttm/ttm_bo.c pr_err("Illegal memory type %d\n", mem_type); mem_type 1539 drivers/gpu/drm/ttm/ttm_bo.c man = &bdev->man[mem_type]; mem_type 1543 drivers/gpu/drm/ttm/ttm_bo.c mem_type); mem_type 1551 drivers/gpu/drm/ttm/ttm_bo.c if (mem_type > 0) { mem_type 1552 drivers/gpu/drm/ttm/ttm_bo.c ret = ttm_bo_force_list_clean(bdev, mem_type); mem_type 1568 drivers/gpu/drm/ttm/ttm_bo.c int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) mem_type 1570 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bdev->man[mem_type]; mem_type 1572 drivers/gpu/drm/ttm/ttm_bo.c if (mem_type == 0 || mem_type >= TTM_NUM_MEM_TYPES) { mem_type 1573 drivers/gpu/drm/ttm/ttm_bo.c pr_err("Illegal memory manager memory type %u\n", mem_type); mem_type 1578 drivers/gpu/drm/ttm/ttm_bo.c pr_err("Memory type %u has not been initialized\n", mem_type); mem_type 1582 drivers/gpu/drm/ttm/ttm_bo.c return ttm_bo_force_list_clean(bdev, mem_type); mem_type 1779 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 1782 drivers/gpu/drm/ttm/ttm_bo.c if (mem->mem_type == TTM_PL_SYSTEM) mem_type 1805 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_type_manager *man = &bdev->man[bo->mem.mem_type]; mem_type 1909 drivers/gpu/drm/ttm/ttm_bo.c if (bo->mem.mem_type != TTM_PL_SYSTEM || mem_type 1917 drivers/gpu/drm/ttm/ttm_bo.c evict_mem.mem_type = TTM_PL_SYSTEM; mem_type 61 drivers/gpu/drm/ttm/ttm_bo_util.c if (old_mem->mem_type != TTM_PL_SYSTEM) { mem_type 74 drivers/gpu/drm/ttm/ttm_bo_util.c old_mem->mem_type = TTM_PL_SYSTEM; mem_type 81 drivers/gpu/drm/ttm/ttm_bo_util.c if (new_mem->mem_type != TTM_PL_SYSTEM) { mem_type 136 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 161 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 181 drivers/gpu/drm/ttm/ttm_bo_util.c &bo->bdev->man[mem->mem_type]; mem_type 208 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 242 drivers/gpu/drm/ttm/ttm_bo_util.c man = &bdev->man[mem->mem_type]; mem_type 361 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; mem_type 412 drivers/gpu/drm/ttm/ttm_bo_util.c if ((old_mem->mem_type == new_mem->mem_type) && mem_type 624 drivers/gpu/drm/ttm/ttm_bo_util.c &bo->bdev->man[bo->mem.mem_type]; mem_type 654 drivers/gpu/drm/ttm/ttm_bo_util.c &bo->bdev->man[bo->mem.mem_type]; mem_type 687 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; mem_type 750 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_type_manager *from = &bdev->man[old_mem->mem_type]; mem_type 751 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_type_manager *to = &bdev->man[new_mem->mem_type]; mem_type 850 drivers/gpu/drm/ttm/ttm_bo_util.c bo->mem.mem_type = TTM_PL_SYSTEM; mem_type 125 drivers/gpu/drm/ttm/ttm_bo_vm.c &bdev->man[bo->mem.mem_type]; mem_type 372 drivers/gpu/drm/ttm/ttm_bo_vm.c switch (bo->mem.mem_type) { mem_type 162 drivers/gpu/drm/virtio/virtgpu_ttm.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 171 drivers/gpu/drm/virtio/virtgpu_ttm.c switch (mem->mem_type) { mem_type 246 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c if (bo->mem.mem_type == TTM_PL_VRAM && mem_type 318 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c if (bo->mem.mem_type == TTM_PL_VRAM) { mem_type 341 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c uint32_t old_mem_type = bo->mem.mem_type; mem_type 368 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c BUG_ON(ret != 0 || bo->mem.mem_type != old_mem_type); mem_type 1153 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c if (mem->mem_type == TTM_PL_VRAM || bo->mem.mem_type == TTM_PL_VRAM) mem_type 1161 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c if (mem->mem_type != VMW_PL_MOB && bo->mem.mem_type == VMW_PL_MOB) mem_type 344 drivers/gpu/drm/vmwgfx/vmwgfx_context.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 383 drivers/gpu/drm/vmwgfx/vmwgfx_context.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 511 drivers/gpu/drm/vmwgfx/vmwgfx_context.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 590 drivers/gpu/drm/vmwgfx/vmwgfx_context.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 173 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c WARN_ON_ONCE(bo->mem.mem_type != VMW_PL_MOB); mem_type 181 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c WARN_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 315 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c WARN_ON_ONCE(bo->mem.mem_type != VMW_PL_MOB); mem_type 3306 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c switch (bo->mem.mem_type) { mem_type 613 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c if (bo->mem.mem_type == TTM_PL_VRAM) { mem_type 658 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 808 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (mem->mem_type == TTM_PL_SYSTEM && bo->mem.mem_type == VMW_PL_MOB) { mem_type 257 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 285 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c BUG_ON(res->backup->base.mem.mem_type != VMW_PL_MOB); mem_type 453 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 516 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c BUG_ON(res->backup->base.mem.mem_type != VMW_PL_MOB); mem_type 1154 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 1202 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c BUG_ON(bo->mem.mem_type != VMW_PL_MOB); mem_type 244 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c int mem_type; mem_type 590 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c vmw_be->mem_type = bo_mem->mem_type; mem_type 592 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c switch (bo_mem->mem_type) { mem_type 618 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c switch (vmw_be->mem_type) { mem_type 799 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; mem_type 809 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c switch (mem->mem_type) { mem_type 96 drivers/i2c/busses/i2c-amd-mp2-pci.c i2c_cmd_base.s.mem_type = use_c2pmsg; mem_type 102 drivers/i2c/busses/i2c-amd-mp2-pci.c i2c_cmd_base.s.mem_type = use_dram; mem_type 86 drivers/i2c/busses/i2c-amd-mp2.h enum mem_type mem_type : 1; mem_type 129 drivers/i2c/busses/i2c-amd-mp2.h enum mem_type mem_type : 1; mem_type 61 drivers/mtd/maps/pcmciamtd.c static int mem_type; mem_type 76 drivers/mtd/maps/pcmciamtd.c module_param(mem_type, int, 0); mem_type 77 drivers/mtd/maps/pcmciamtd.c MODULE_PARM_DESC(mem_type, "Set Memory type (0=Flash, 1=RAM, 2=ROM, default=0)"); mem_type 567 drivers/mtd/maps/pcmciamtd.c if(mem_type == 1) { mem_type 569 drivers/mtd/maps/pcmciamtd.c } else if(mem_type == 2) { mem_type 739 drivers/mtd/maps/pcmciamtd.c if(mem_type && mem_type != 1 && mem_type != 2) { mem_type 740 drivers/mtd/maps/pcmciamtd.c info("bad mem_type (%d), using default", mem_type); mem_type 741 drivers/mtd/maps/pcmciamtd.c mem_type = 0; mem_type 1866 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mem_type = BNA_MEM_T_DMA; mem_type 1875 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mem_type = BNA_MEM_T_DMA; mem_type 1882 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mem_type = BNA_MEM_T_KVA; mem_type 1888 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mem_type = BNA_MEM_T_DMA; mem_type 1902 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.mem_type = mem_type 1910 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.mem_type = mem_type 1918 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mem_type = mem_type 1926 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mem_type = mem_type 1934 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mem_type = mem_type 1942 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mem_type = mem_type 1950 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mem_type = mem_type 1958 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mem_type = mem_type 2168 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_KVA; mem_type 2174 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_KVA; mem_type 2180 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 2186 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_KVA; mem_type 2192 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 2198 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 2204 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_KVA; mem_type 2210 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 2216 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 2222 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_KVA; mem_type 2228 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 2234 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 2240 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_KVA; mem_type 3324 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_KVA; mem_type 3334 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 3340 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_KVA; mem_type 3346 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 3352 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mem_info->mem_type = BNA_MEM_T_DMA; mem_type 268 drivers/net/ethernet/brocade/bna/bna_types.h enum bna_mem_type mem_type; mem_type 64 drivers/net/ethernet/brocade/bna/bnad.c (_res_info)->res_u.mem_info.mem_type = BNA_MEM_T_KVA; \ mem_type 1322 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mem_type == BNA_MEM_T_DMA) { mem_type 1353 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mem_type == BNA_MEM_T_DMA) { mem_type 3194 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static int mc7_init(struct mc7 *mc7, unsigned int mc7_clock, int mem_type) mem_type 3210 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c const struct mc7_timing_params *p = &mc7_timings[mem_type]; mem_type 3268 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c mc7_mode[mem_type]) || mem_type 737 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 mem_type, u8 *idx) mem_type 741 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c switch (mem_type) { mem_type 775 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 mem_type, const char *region_name, mem_type 782 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc); mem_type 832 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 mem_type, u32 *out_base, u32 *out_end) mem_type 837 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc_idx); mem_type 855 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c static int cudbg_get_payload_range(struct adapter *padap, u8 mem_type, mem_type 867 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_get_mem_region(padap, &meminfo, mem_type, region_name, mem_type 878 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c return cudbg_get_mem_relative(padap, &meminfo, mem_type, mem_type 965 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c struct cudbg_buffer *dbg_buff, u8 mem_type, mem_type 982 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_get_payload_range(padap, mem_type, region_name[i], mem_type 1021 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_memory_read(pdbg_init, MEMWIN_NIC, mem_type, mem_type 1059 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 mem_type, unsigned long *region_size) mem_type 1074 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_meminfo_get_mem_index(padap, &mem_info, mem_type, &mc_idx); mem_type 1090 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 mem_type) mem_type 1095 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_mem_region_size(pdbg_init, cudbg_err, mem_type, &size); mem_type 1099 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c return cudbg_read_fw_mem(pdbg_init, dbg_buff, mem_type, size, mem_type 1843 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 *mem_type) mem_type 1875 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c mem_type[i] = j; mem_type 1903 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 mem_type[CTXT_INGRESS + 1] = { 0 }; mem_type 1908 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_get_ctxt_region_info(padap, region_info, mem_type); mem_type 1980 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u8 mem_type[CTXT_INGRESS + 1] = { 0 }; mem_type 1989 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_get_ctxt_region_info(padap, region_info, mem_type); mem_type 2039 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = t4_memory_rw(padap, MEMWIN_NIC, mem_type[i], mem_type 26 drivers/net/ethernet/intel/i40e/i40e_hmc.c enum i40e_memory_type mem_type __attribute__((unused)); mem_type 48 drivers/net/ethernet/intel/i40e/i40e_hmc.c mem_type = i40e_mem_pd; mem_type 51 drivers/net/ethernet/intel/i40e/i40e_hmc.c mem_type = i40e_mem_bp_jumbo; mem_type 56 drivers/net/ethernet/intel/i40e/i40e_hmc.c ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len, mem_type 1810 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u8 mem_type; mem_type 3033 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c dimm.mem_type = NETXEN_DIMM_MEM_DDR2_SDRAM; mem_type 3035 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c dimm.mem_type = NETXEN_DIMM_MEMTYPE(val); mem_type 1572 drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c mem_type), mem_type 1644 drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c mem_type), mem_type 482 drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h u32 mem_type; mem_type 501 drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h u32 mem_type; mem_type 133 drivers/pci/probe.c u32 mem_type; mem_type 147 drivers/pci/probe.c mem_type = bar & PCI_BASE_ADDRESS_MEM_TYPE_MASK; mem_type 148 drivers/pci/probe.c switch (mem_type) { mem_type 799 drivers/scsi/esas2r/atioctl.h u8 mem_type; mem_type 7399 drivers/scsi/hpsa.c int i, offset, mem_type, bar_type; mem_type 7409 drivers/scsi/hpsa.c mem_type = pci_resource_flags(pdev, i) & mem_type 7411 drivers/scsi/hpsa.c switch (mem_type) { mem_type 238 drivers/scsi/megaraid.h u8 mem_type; /* EDO, FPM, SDRAM etc */ mem_type 338 drivers/scsi/megaraid/mbox_defs.h uint8_t mem_type; mem_type 275 drivers/scsi/myrb.h } mem_type; mem_type 109 drivers/scsi/myrs.h } __packed mem_type:5; /* Byte 0 Bits 0-4 */ mem_type 254 drivers/scsi/myrs.h struct myrs_mem_type mem_type; /* Byte 223 */ mem_type 226 drivers/soc/ti/wkup_m3_ipc.c static void wkup_m3_set_mem_type(struct wkup_m3_ipc *m3_ipc, int mem_type) mem_type 228 drivers/soc/ti/wkup_m3_ipc.c m3_ipc->mem_type = mem_type; mem_type 293 drivers/soc/ti/wkup_m3_ipc.c wkup_m3_ctrl_ipc_write(m3_ipc, m3_ipc->mem_type, 4); mem_type 145 drivers/usb/serial/whiteheat.h __u8 mem_type; /* see WHITEHEAT_DUMP_* above */ mem_type 160 drivers/video/fbdev/omap/omapfb.h int mem_type, unsigned long *paddr); mem_type 433 drivers/video/fbdev/sm501fb.c unsigned int mem_type; mem_type 444 drivers/video/fbdev/sm501fb.c mem_type = SM501_MEMF_CRT; mem_type 450 drivers/video/fbdev/sm501fb.c mem_type = SM501_MEMF_PANEL; mem_type 456 drivers/video/fbdev/sm501fb.c mem_type = 0; /* stop compiler warnings */ mem_type 482 drivers/video/fbdev/sm501fb.c if (sm501_alloc_mem(fbi, &par->screen, mem_type, smem_len, smem_len)) { mem_type 55 fs/pstore/ram.c static unsigned int mem_type; mem_type 56 fs/pstore/ram.c module_param(mem_type, uint, 0600); mem_type 57 fs/pstore/ram.c MODULE_PARM_DESC(mem_type, mem_type 689 fs/pstore/ram.c pdata->mem_type = of_property_read_bool(of_node, "unbuffered"); mem_type 783 fs/pstore/ram.c cxt->memtype = pdata->mem_type; mem_type 946 fs/pstore/ram.c pdata.mem_type = mem_type; mem_type 101 include/drm/ttm/ttm_bo_api.h uint32_t mem_type; mem_type 644 include/drm/ttm/ttm_bo_api.h int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type); mem_type 664 include/drm/ttm/ttm_bo_api.h int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type); mem_type 449 include/linux/edac.h enum mem_type mtype; /* memory dimm type */ mem_type 131 include/linux/pstore_ram.h unsigned int mem_type; mem_type 34 include/linux/wkup_m3_ipc.h int mem_type; mem_type 52 include/linux/wkup_m3_ipc.h void (*set_mem_type)(struct wkup_m3_ipc *m3_ipc, int mem_type); mem_type 327 include/trace/events/xdp.h __field(u32, mem_type) mem_type 334 include/trace/events/xdp.h __entry->mem_type = xa->mem.type; mem_type 340 include/trace/events/xdp.h __print_symbolic(__entry->mem_type, __MEM_TYPE_SYM_TAB), mem_type 355 include/trace/events/xdp.h __field(u32, mem_type) mem_type 364 include/trace/events/xdp.h __entry->mem_type = xa->mem.type; mem_type 373 include/trace/events/xdp.h __print_symbolic(__entry->mem_type, __MEM_TYPE_SYM_TAB), mem_type 389 include/trace/events/xdp.h __field(u32, mem_type) mem_type 395 include/trace/events/xdp.h __entry->mem_type = mem->type; mem_type 400 include/trace/events/xdp.h __print_symbolic(__entry->mem_type, __MEM_TYPE_SYM_TAB), mem_type 58 include/xen/interface/hvm/hvm_op.h uint16_t mem_type; mem_type 601 samples/vfio-mdev/mtty.c u32 mem_type; mem_type 612 samples/vfio-mdev/mtty.c mem_type = (*(u32 *)(mdev_state->vconfig + pos)) & mem_type 615 samples/vfio-mdev/mtty.c switch (mem_type) { mem_type 387 sound/pci/echoaudio/echoaudio_dsp.c int block_type, mem_type; mem_type 400 sound/pci/echoaudio/echoaudio_dsp.c mem_type = code[index++]; mem_type 421 sound/pci/echoaudio/echoaudio_dsp.c if (write_dsp(chip, mem_type) < 0) { mem_type 494 sound/soc/codecs/wm_adsp.c unsigned int mem_type; mem_type 499 sound/soc/codecs/wm_adsp.c unsigned int mem_type; mem_type 506 sound/soc/codecs/wm_adsp.c .mem_type = WMFW_ADSP2_XM, mem_type 511 sound/soc/codecs/wm_adsp.c .mem_type = WMFW_ADSP2_XM, mem_type 516 sound/soc/codecs/wm_adsp.c .mem_type = WMFW_ADSP2_YM, mem_type 1528 sound/soc/codecs/wm_adsp.c int mem_type; mem_type 1623 sound/soc/codecs/wm_adsp.c blk->mem_type = le16_to_cpu(raw->hdr.type); mem_type 1633 sound/soc/codecs/wm_adsp.c blk->mem_type = wm_coeff_parse_int(sizeof(raw->hdr.type), &tmp); mem_type 1647 sound/soc/codecs/wm_adsp.c adsp_dbg(dsp, "\tCoefficient type: %#x\n", blk->mem_type); mem_type 1723 sound/soc/codecs/wm_adsp.c alg_region.type = coeff_blk.mem_type; mem_type 3554 sound/soc/codecs/wm_adsp.c static int wm_adsp_read_data_block(struct wm_adsp *dsp, int mem_type, mem_type 3558 sound/soc/codecs/wm_adsp.c struct wm_adsp_region const *mem = wm_adsp_find_region(dsp, mem_type); mem_type 3578 sound/soc/codecs/wm_adsp.c static inline int wm_adsp_read_data_word(struct wm_adsp *dsp, int mem_type, mem_type 3581 sound/soc/codecs/wm_adsp.c return wm_adsp_read_data_block(dsp, mem_type, mem_addr, 1, data); mem_type 3584 sound/soc/codecs/wm_adsp.c static int wm_adsp_write_data_word(struct wm_adsp *dsp, int mem_type, mem_type 3587 sound/soc/codecs/wm_adsp.c struct wm_adsp_region const *mem = wm_adsp_find_region(dsp, mem_type); mem_type 3645 sound/soc/codecs/wm_adsp.c region->mem_type = caps->region_defs[i].mem_type; mem_type 3661 sound/soc/codecs/wm_adsp.c i, region->mem_type, region->base_addr, mem_type 4123 sound/soc/codecs/wm_adsp.c int mem_type, nwords, max_read; mem_type 4134 sound/soc/codecs/wm_adsp.c mem_type = buf->regions[i].mem_type; mem_type 4151 sound/soc/codecs/wm_adsp.c ret = wm_adsp_read_data_block(buf->dsp, mem_type, adsp_addr, mem_type 1682 virt/kvm/arm/mmu.c pgprot_t mem_type = PAGE_S2; mem_type 1751 virt/kvm/arm/mmu.c mem_type = PAGE_S2_DEVICE; mem_type 1811 virt/kvm/arm/mmu.c pud_t new_pud = kvm_pfn_pud(pfn, mem_type); mem_type 1822 virt/kvm/arm/mmu.c pmd_t new_pmd = kvm_pfn_pmd(pfn, mem_type); mem_type 1834 virt/kvm/arm/mmu.c pte_t new_pte = kvm_pfn_pte(pfn, mem_type);