Home
last modified time | relevance | path

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

123

/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dspd_sdram.c104 printf ("Memory type: %d\n", spd->mem_type); in spd_debug()
167 if (spd.mem_type != SPD_MEMTYPE_DDR && spd.mem_type != SPD_MEMTYPE_DDR2) { in spd_sdram()
168 debug("DDR: Module mem type is %02X\n", spd.mem_type); in spd_sdram()
173 if (spd.mem_type == SPD_MEMTYPE_DDR) { in spd_sdram()
202 if(spd.mem_type == SPD_MEMTYPE_DDR2) { in spd_sdram()
213 if (spd.mem_type == SPD_MEMTYPE_DDR2) { in spd_sdram()
306 if ((spd.mem_type == SPD_MEMTYPE_DDR) in spd_sdram()
310 } else if (spd.mem_type == SPD_MEMTYPE_DDR2 in spd_sdram()
429 if(PVR_MAJ(pvr) <= 1 && spd.mem_type == SPD_MEMTYPE_DDR){ in spd_sdram()
446 if (spd.mem_type == SPD_MEMTYPE_DDR) { in spd_sdram()
[all …]
/external/mesa3d/src/gallium/state_trackers/va/
Dbuffer.c248 uint32_t mem_type; in vlVaAcquireBufferHandle() local
277 if (!out_buf_info->mem_type) in vlVaAcquireBufferHandle()
278 mem_type = mem_types[0]; in vlVaAcquireBufferHandle()
280 mem_type = 0; in vlVaAcquireBufferHandle()
282 if (out_buf_info->mem_type & mem_types[i]) { in vlVaAcquireBufferHandle()
283 mem_type = out_buf_info->mem_type; in vlVaAcquireBufferHandle()
287 if (!mem_type) in vlVaAcquireBufferHandle()
295 if (buf->export_state.mem_type != mem_type) in vlVaAcquireBufferHandle()
300 switch (mem_type) { in vlVaAcquireBufferHandle()
327 buf_info->mem_type = mem_type; in vlVaAcquireBufferHandle()
[all …]
/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/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/u-boot/drivers/ddr/fsl/
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()
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()
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/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()
Dclock_init.h40 enum ddr_mode mem_type; /* Memory type */ member
/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
Dremoteproc.h43 enum rproc_mem_type mem_type; member
/external/libxcam/wrapper/gstreamer/
Dgstxcamsrc.h36 #define GST_XCAM_SRC_MEM_MODE(src) ((GST_XCAM_SRC_CAST(src))->mem_type)
110 enum v4l2_memory mem_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/tensorflow/tensorflow/core/platform/default/
Ddevice_tracer.cc210 CUmemorytype mem_type; in GetMemoryType() local
212 cuPointerGetAttribute(&mem_type, CU_POINTER_ATTRIBUTE_MEMORY_TYPE, ptr); in GetMemoryType()
218 return mem_type; in GetMemoryType()
540 auto get_memory_type = [](CUmemorytype mem_type) { in GetMemcpyName() argument
541 switch (mem_type) { in GetMemcpyName()
551 LOG(ERROR) << "Unknown memory type: " << mem_type; in GetMemcpyName()
/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/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c1271 struct lp_type mem_type; in convert_to_blend_type() local
1339 lp_mem_type_from_format_desc(src_fmt, &mem_type); in convert_to_blend_type()
1343 is_arith = blend_type.length * blend_type.width != mem_type.width * mem_type.length; in convert_to_blend_type()
1344 is_arith &= !(mem_type.width == 16 && mem_type.floating); in convert_to_blend_type()
1356 if (mem_type.width == 16 && mem_type.floating) { in convert_to_blend_type()
1368 src_type.length *= pixels / (src_type.length / mem_type.length); in convert_to_blend_type()
1438 struct lp_type mem_type; in convert_from_blend_type() local
1516 lp_mem_type_from_format_desc(src_fmt, &mem_type); in convert_from_blend_type()
1519 is_arith = (blend_type.length * blend_type.width != mem_type.width * mem_type.length); in convert_from_blend_type()
1522 if (mem_type.width == 16 && mem_type.floating) { in convert_from_blend_type()
[all …]
/external/u-boot/arch/x86/include/asm/fsp/
Dfsp_hob.h58 enum efi_mem_type mem_type; member

123