Home
last modified time | relevance | path

Searched refs:memory_type (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/u-boot/lib/efi_loader/
H A Defi_memory.c199 uint64_t efi_add_memory_map(uint64_t start, uint64_t pages, int memory_type, in efi_add_memory_map() argument
208 start, pages, memory_type, overlap_only_ram ? "yes" : "no"); in efi_add_memory_map()
210 if (memory_type >= EFI_MAX_MEMORY_TYPE) in efi_add_memory_map()
218 newlist->desc.type = memory_type; in efi_add_memory_map()
223 switch (memory_type) { in efi_add_memory_map()
345 efi_status_t efi_allocate_pages(int type, int memory_type, in efi_allocate_pages() argument
386 ret = efi_add_memory_map(addr, pages, memory_type, true); in efi_allocate_pages()
398 void *efi_alloc(uint64_t len, int memory_type) in efi_alloc() argument
404 r = efi_allocate_pages(EFI_ALLOCATE_ANY_PAGES, memory_type, pages, in efi_alloc()
H A Defi_device_path.c888 struct efi_device_path *efi_dp_from_mem(uint32_t memory_type, in efi_dp_from_mem() argument
903 mdp->memory_type = memory_type; in efi_dp_from_mem()
H A Defi_device_path_to_text.c57 mdp->memory_type, in dp_hardware()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dalignedmem.c26 int memory_type) in efi_allocate_pages_aligned() argument
42 memory_type, size / EFI_PAGE_SIZE + slack, in efi_allocate_pages_aligned()
H A Drandomalloc.c61 int memory_type, in efi_random_alloc() argument
130 memory_type, pages, &target); in efi_random_alloc()
/openbmc/u-boot/arch/arm/include/asm/arch-tegra20/
H A Dsdram_param.h16 enum memory_type { enum
28 enum memory_type memory_type; member
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_memory.c60 u64 addr, int memory_type) in find_in_memory_map() argument
76 if (memory_type != entry->type) { in find_in_memory_map()
79 entry->type, memory_type); in find_in_memory_map()
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Darb.c48 int memory_type; member
149 mclks += (arb->memory_type == 0 ? 2 : 1) in nv10_calc_arb()
218 sim_data.memory_type = (type >> 12) & 1; in nv04_update_arb()
223 sim_data.memory_type = nvif_rd32(device, NV04_PFB_CFG0) & 0x1; in nv04_update_arb()
/openbmc/linux/include/linux/
H A Dmemremap.h68 enum memory_type { enum
130 enum memory_type type;
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/
H A Dwarmboot.c96 u32 memory_type:3; member
167 scratch2.memory_type = sdram.memory_type; in warmboot_save_sdram_params()
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dcpu.c108 u32 memory_type) in set_pgsection() argument
113 value |= PMD_ATTRINDX(memory_type); in set_pgsection()
/openbmc/u-boot/include/
H A Defi_loader.h372 void *efi_alloc(uint64_t len, int memory_type);
374 efi_status_t efi_allocate_pages(int type, int memory_type, efi_uintn_t pages,
390 uint64_t efi_add_memory_map(uint64_t start, uint64_t pages, int memory_type,
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atomfirmware.c396 mem_type = vram_info->v30.memory_type; in amdgpu_atomfirmware_get_vram_info()
419 mem_type = vram_module->v9.memory_type; in amdgpu_atomfirmware_get_vram_info()
440 mem_type = vram_module->v10.memory_type; in amdgpu_atomfirmware_get_vram_info()
461 mem_type = vram_module->v11.memory_type; in amdgpu_atomfirmware_get_vram_info()
482 mem_type = vram_module->v9.memory_type; in amdgpu_atomfirmware_get_vram_info()
/openbmc/linux/drivers/edac/
H A Dghes_edac.c75 u8 memory_type; member
131 switch (entry->memory_type) { in assign_dmi_dimm_info()
196 entry->memory_type, entry->type_detail, in assign_dmi_dimm_info()
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dvmx.c28 uint64_t memory_type:3; member
40 uint64_t memory_type:3; member
203 .memory_type = VMX_BASIC_MEM_TYPE_WB, in init_vmcs_control_fields()
/openbmc/u-boot/arch/x86/include/asm/arch-braswell/fsp/
H A Dfsp_vpd.h26 u8 memory_type; /* Offset 0x0041 */ member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
H A Ddcn316_clk_mgr.c542 bw_params->vram_type = bios_info->memory_type; in dcn316_clk_mgr_helper_populate_bw_params()
544 bw_params->dram_channel_width_bytes = bios_info->memory_type == 0x22 ? 8 : 4; in dcn316_clk_mgr_helper_populate_bw_params()
633 if (ctx->dc_bios->integrated_info->memory_type == LpDdr5MemType) { in dcn316_clk_mgr_construct()
/openbmc/u-boot/arch/x86/cpu/braswell/
H A Dfsp_configs.c89 memory_upd->memory_type = fdtdec_get_int(blob, node, in update_fsp_configs()
/openbmc/linux/arch/parisc/include/asm/
H A Dpdcpat.h281 unsigned char memory_type; member
/openbmc/linux/drivers/video/fbdev/nvidia/
H A Dnv_hw.c132 u32 memory_type; member
457 if (arb->memory_type == 0) in nv10CalcArbitration()
634 sim_data.memory_type = (NV_RD32(par->PFB, 0x0200) & 0x01) ? 1 : 0; in nv10UpdateArbitrationSettings()
712 pci_read_config_dword(dev, 0x7C, &sim_data.memory_type); in nForceUpdateArbitrationSettings()
714 sim_data.memory_type = (sim_data.memory_type >> 12) & 1; in nForceUpdateArbitrationSettings()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_clk_mgr.c613 bw_params->vram_type = bios_info->memory_type; in dcn31_clk_mgr_helper_populate_bw_params()
615 bw_params->dram_channel_width_bytes = bios_info->memory_type == 0x22 ? 8 : 4; in dcn31_clk_mgr_helper_populate_bw_params()
726 if (ctx->dc_bios->integrated_info->memory_type == LpDdr5MemType) { in dcn31_clk_mgr_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
H A Ddcn315_clk_mgr.c567 bw_params->vram_type = bios_info->memory_type; in dcn315_clk_mgr_helper_populate_bw_params()
569 bw_params->dram_channel_width_bytes = bios_info->memory_type == 0x22 ? 8 : 4; in dcn315_clk_mgr_helper_populate_bw_params()
654 if (ctx->dc_bios->integrated_info->memory_type == LpDdr5MemType) { in dcn315_clk_mgr_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
H A Ddcn314_clk_mgr.c686 bw_params->vram_type = bios_info->memory_type; in dcn314_clk_mgr_helper_populate_bw_params()
688 bw_params->dram_channel_width_bytes = bios_info->memory_type == 0x22 ? 8 : 4; in dcn314_clk_mgr_helper_populate_bw_params()
770 if (ctx->dc_bios->integrated_info->memory_type == LpDdr5MemType) in dcn314_clk_mgr_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/include/
H A Dgrph_object_ctrl_defs.h343 uint8_t memory_type; member
/openbmc/qemu/include/hw/firmware/
H A Dsmbios.h280 uint8_t memory_type; member

123