Home
last modified time | relevance | path

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

123

/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dspd_sdram.c108 printf ("Memory type: %d\n", spd->mem_type); in spd_debug()
171 if (spd.mem_type != SPD_MEMTYPE_DDR && spd.mem_type != SPD_MEMTYPE_DDR2) { in spd_sdram()
172 debug("DDR: Module mem type is %02X\n", spd.mem_type); in spd_sdram()
177 if (spd.mem_type == SPD_MEMTYPE_DDR) { in spd_sdram()
206 if(spd.mem_type == SPD_MEMTYPE_DDR2) { in spd_sdram()
217 if (spd.mem_type == SPD_MEMTYPE_DDR2) { in spd_sdram()
310 if ((spd.mem_type == SPD_MEMTYPE_DDR) in spd_sdram()
314 } else if (spd.mem_type == SPD_MEMTYPE_DDR2 in spd_sdram()
433 if(PVR_MAJ(pvr) <= 1 && spd.mem_type == SPD_MEMTYPE_DDR){ in spd_sdram()
450 if (spd.mem_type == SPD_MEMTYPE_DDR) { in spd_sdram()
[all …]
/external/mesa3d/src/gallium/frontends/va/
Dbuffer.c252 uint32_t mem_type; in vlVaAcquireBufferHandle() local
281 if (!out_buf_info->mem_type) in vlVaAcquireBufferHandle()
282 mem_type = mem_types[0]; in vlVaAcquireBufferHandle()
284 mem_type = 0; in vlVaAcquireBufferHandle()
286 if (out_buf_info->mem_type & mem_types[i]) { in vlVaAcquireBufferHandle()
287 mem_type = out_buf_info->mem_type; in vlVaAcquireBufferHandle()
291 if (!mem_type) in vlVaAcquireBufferHandle()
299 if (buf->export_state.mem_type != mem_type) in vlVaAcquireBufferHandle()
304 switch (mem_type) { in vlVaAcquireBufferHandle()
331 buf_info->mem_type = mem_type; in vlVaAcquireBufferHandle()
[all …]
/external/autotest/server/site_tests/brillo_MemorySizeTest/
Dbrillo_MemorySizeTest.py42 for mem_type, min_mem in (('MemTotal', min_total), ('MemFree', min_free)):
43 actual_mem = meminfo_dict.get(mem_type)
46 'Failed to read %s from /proc/meminfo' % mem_type)
51 (mem_type, actual_mem, min_mem))
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc125 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument
132 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno, raw_report); in MmapOrDie()
151 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) { in MmapAlignedOrDie() argument
155 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie()
168 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument
177 ReportMmapFailureAndDie(size, mem_type, "allocate noreserve", reserrno); in MmapNoReserveOrDie()
191 char mem_type[30]; in MmapFixedOrDie() local
192 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
194 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno); in MmapFixedOrDie()
Dsanitizer_win.cc88 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument
91 ReportMmapFailureAndDie(size, mem_type, "allocate", in MmapOrDie()
117 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) { in MmapAlignedOrDie() argument
127 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", GetLastError()); in MmapAlignedOrDie()
134 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDie()
147 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", in MmapAlignedOrDie()
155 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDie()
166 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", GetLastError()); in MmapAlignedOrDie()
197 char mem_type[30]; in MmapFixedOrDie() local
198 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
[all …]
Dsanitizer_common.h83 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
84 INLINE void *MmapOrDieQuietly(uptr size, const char *mem_type) { in MmapOrDieQuietly() argument
85 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
90 void *MmapNoReserveOrDie(uptr size, const char *mem_type);
95 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type);
340 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
/external/arm-trusted-firmware/lib/xlat_tables/
Dxlat_tables_common.c193 int mem_type; in mmap_desc() local
223 mem_type = MT_TYPE(attr); in mmap_desc()
224 if (mem_type == MT_DEVICE) { in mmap_desc()
254 if (mem_type == MT_MEMORY) { in mmap_desc()
257 assert(mem_type == MT_NON_CACHEABLE); in mmap_desc()
262 debug_print((mem_type == MT_MEMORY) ? "MEM" : in mmap_desc()
263 ((mem_type == MT_NON_CACHEABLE) ? "NC" : "DEV")); in mmap_desc()
/external/u-boot/drivers/ddr/fsl/
Dddr2_dimm_params.c33 compute_ranksize(unsigned int mem_type, unsigned char row_dens) in compute_ranksize() argument
210 if (spd->mem_type) { in ddr_compute_dimm_parameters()
211 if (spd->mem_type != SPD_MEMTYPE_DDR2) { in ddr_compute_dimm_parameters()
236 pdimm->rank_density = compute_ranksize(spd->mem_type, spd->rank_dens); in ddr_compute_dimm_parameters()
Dddr1_dimm_params.c34 compute_ranksize(unsigned int mem_type, unsigned char row_dens) in compute_ranksize() argument
227 if (spd->mem_type) { in ddr_compute_dimm_parameters()
228 if (spd->mem_type != SPD_MEMTYPE_DDR) { in ddr_compute_dimm_parameters()
253 pdimm->rank_density = compute_ranksize(spd->mem_type, spd->bank_dens); in ddr_compute_dimm_parameters()
Dddr3_dimm_params.c93 if (spd->mem_type) { in ddr_compute_dimm_parameters()
94 if (spd->mem_type != SPD_MEMTYPE_DDR3) { in ddr_compute_dimm_parameters()
Dddr4_dimm_params.c143 if (spd->mem_type) { in ddr_compute_dimm_parameters()
144 if (spd->mem_type != SPD_MEMTYPE_DDR4) { in ddr_compute_dimm_parameters()
/external/u-boot/drivers/core/
Dof_extra.c70 int ofnode_decode_memory_region(ofnode config_node, const char *mem_type, in ofnode_decode_memory_region() argument
90 snprintf(prop_name, sizeof(prop_name), "%s-memory%s", mem_type, in ofnode_decode_memory_region()
115 snprintf(prop_name, sizeof(prop_name), "%s-offset%s", mem_type, in ofnode_decode_memory_region()
/external/u-boot/arch/arm/mach-exynos/
Dclock_init_exynos5.c140 .mem_type = DDR_MODE_DDR3,
266 .mem_type = DDR_MODE_DDR3,
369 .mem_type = DDR_MODE_DDR3,
484 static void clock_get_mem_selection(enum ddr_mode *mem_type, in clock_get_mem_selection() argument
491 *mem_type = params->mem_type; in clock_get_mem_selection()
501 enum ddr_mode mem_type; in get_arm_ratios() local
506 clock_get_mem_selection(&mem_type, &frequency_mhz, in get_arm_ratios()
525 enum ddr_mode mem_type; in clock_get_mem_timings() local
530 clock_get_mem_selection(&mem_type, &frequency_mhz, in clock_get_mem_timings()
534 if (mem->mem_type == mem_type && in clock_get_mem_timings()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_memory_test.cpp4049 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
4053 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
4054 if (mem_type != "struct") { in TEST_P()
4056 if (mem_type != "matrix" && base_type == "float") { in TEST_P()
4059 if (mem_type == "scalar") { in TEST_P()
4064 generator.after_types_ += "%ld = OpLoad %" + mem_type + " %ld_gep\n"; in TEST_P()
4067 if (mem_type == "struct") { in TEST_P()
4082 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
4086 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
4087 if (mem_type != "struct") { in TEST_P()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_memory_test.cpp4051 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
4055 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
4056 if (mem_type != "struct") { in TEST_P()
4058 if (mem_type != "matrix" && base_type == "float") { in TEST_P()
4061 if (mem_type == "scalar") { in TEST_P()
4066 generator.after_types_ += "%ld = OpLoad %" + mem_type + " %ld_gep\n"; in TEST_P()
4069 if (mem_type == "struct") { in TEST_P()
4084 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
4088 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
4089 if (mem_type != "struct") { in TEST_P()
[all …]
/external/angle/third_party/spirv-tools/src/test/val/
Dval_memory_test.cpp4051 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
4055 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
4056 if (mem_type != "struct") { in TEST_P()
4058 if (mem_type != "matrix" && base_type == "float") { in TEST_P()
4061 if (mem_type == "scalar") { in TEST_P()
4066 generator.after_types_ += "%ld = OpLoad %" + mem_type + " %ld_gep\n"; in TEST_P()
4069 if (mem_type == "struct") { in TEST_P()
4084 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
4088 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
4089 if (mem_type != "struct") { in TEST_P()
[all …]
/external/u-boot/drivers/remoteproc/
Drproc-uclass.c131 uc_pdata->mem_type = RPROC_INTERNAL_MEMORY_MAPPED; in rproc_pre_probe()
135 uc_pdata->mem_type = RPROC_INTERNAL_MEMORY_MAPPED; in rproc_pre_probe()
147 uc_pdata->mem_type = pdata->mem_type; in rproc_pre_probe()
/external/u-boot/include/
Dddr_spd.h16 unsigned char mem_type; /* 2 Fundamental memory type */ member
79 unsigned char mem_type; /* 2 Fundamental memory type */ member
180 unsigned char mem_type; /* 2 Key Byte / Fundamental mem type */ member
295 uint8_t mem_type; /* 2 Key Byte / mem type */ member
Dspd.h17 unsigned char mem_type; /* 2 Fundamental memory type */ member
/external/u-boot/arch/arm/cpu/arm1136/mx35/
Dgeneric.c490 u32 mem_type, mem_ctl; in spl_boot_device() local
497 mem_type = (rcsr >> 23) & 0x03; in spl_boot_device()
501 switch (mem_type) { in spl_boot_device()
512 switch (mem_type) { in spl_boot_device()
/external/u-boot/board/samsung/smdk5420/
Dsmdk5420_spl.c22 .mem_type = DDR_MODE_DDR3,
/external/u-boot/board/samsung/smdk5250/
Dsmdk5250_spl.c22 .mem_type = DDR_MODE_DDR3,
/external/u-boot/board/samsung/arndale/
Darndale_spl.c20 .mem_type = DDR_MODE_DDR3,
/external/u-boot/arch/arm/mach-exynos/include/mach/
Dspl.h42 enum ddr_mode mem_type; /* Type of on-board memory */ member
/external/u-boot/include/dm/
Dof_extra.h85 int ofnode_decode_memory_region(ofnode config_node, const char *mem_type,

123