Searched refs:memsize (Results 1 - 18 of 18) sorted by relevance

/u-boot/test/dm/
H A Dosd.c18 const uint memsize = 2 * 10 * 10; variable
33 const uint memsize = 2 * 10 * 10; local
34 u8 colors[memsize / 2];
35 u8 text[memsize / 2];
38 split(mem, memsize / 2, text, colors);
58 u8 mem[memsize + 1];
59 u8 colors[memsize / 2];
60 u8 text[memsize / 2];
72 ut_assertok(sandbox_osd_get_mem(dev, mem, memsize));
73 split(mem, memsize /
[all...]
/u-boot/arch/mips/mach-mtmips/include/mach/
H A Dddr.h47 u32 memsize; member in struct:mc_ddr_init_param
54 void ddr_calibrate(void __iomem *memc, u32 memsize, u32 bw);
/u-boot/arch/mips/mach-mtmips/
H A Dddr_cal.c35 static inline bool dqs_test_error(void __iomem *memc, u32 memsize, u32 dqsval, argument
42 for (off = 0; off < memsize - TEST_PAT_SIZE; off += (memsize >> 6)) {
74 static inline int dqs_find_max(void __iomem *memc, u32 memsize, int initval, argument
82 if (dqs_test_error(memc, memsize, dqsval, 3))
89 static inline int dqs_find_min(void __iomem *memc, u32 memsize, int initval, argument
97 if (dqs_test_error(memc, memsize, dqsval, 1))
104 void ddr_calibrate(void __iomem *memc, u32 memsize, u32 bw) argument
150 dqs_coarse_max = dqs_find_max(memc, memsize, COARSE_MAX_START,
155 test_dqs = dqs_find_max(memc, memsize, FINE_MAX_STAR
[all...]
H A Dddr_init.c142 param->memsize = dram_size[sz];
199 param->memsize = dram_size[sz];
252 param->memsize = dram_size[sz];
/u-boot/board/kontron/pitx_imx8m/
H A Dpitx_imx8m.c64 int board_phys_sdram_size(phys_size_t *memsize) argument
72 *memsize = 0x80000000;
75 *memsize = 0x100000000;
79 *memsize = 0x40000000;
83 debug("Memsize: %d MiB\n", (int)(*memsize >> 20));
/u-boot/include/linux/
H A Dxxhash.h124 uint32_t memsize; member in struct:xxh32_state
137 uint32_t memsize; member in struct:xxh64_state
/u-boot/lib/
H A Dxxhash.c251 if (state->memsize + len < 16) { /* fill in tmp buffer */
252 memcpy((uint8_t *)(state->mem32) + state->memsize, input, len);
253 state->memsize += (uint32_t)len;
257 if (state->memsize) { /* some data left from previous update */
260 memcpy((uint8_t *)(state->mem32) + state->memsize, input,
261 16 - state->memsize);
272 p += 16-state->memsize;
273 state->memsize = 0;
302 state->memsize = (uint32_t)(b_end-p);
313 state->memsize;
[all...]
/u-boot/cmd/
H A Dini.c79 static char *memgets(char *str, int num, char **mem, size_t *memsize) argument
85 end = memchr(*mem, '\n', *memsize);
87 if (*memsize == 0)
89 end = *mem + *memsize;
98 *memsize -= (end - *mem) + newline;
/u-boot/post/drivers/
H A Dmemory.c503 u32 memsize, vstart; local
505 arch_memory_test_prepare(&vstart, &memsize, &phys_offset);
507 ret = memory_post_test_lines(vstart, memsize);
509 ret = memory_post_test_regions(vstart, memsize);
518 u32 memsize, vstart; local
520 arch_memory_test_prepare(&vstart, &memsize, &phys_offset);
524 ret = memory_post_tests(vstart, memsize);
526 ret = memory_post_test_regions(vstart, memsize);
529 !arch_memory_test_advance(&vstart, &memsize, &phys_offset));
531 arch_memory_test_cleanup(&vstart, &memsize,
[all...]
/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dtlb.c306 u64 memsize = (u64)memsize_in_meg << 20; local
309 size = min(memsize, (u64)CFG_MAX_MEM_MAPPED);
312 if (size || memsize > CFG_MAX_MEM_MAPPED) {
313 print_size(memsize > CFG_MAX_MEM_MAPPED ?
314 memsize - CFG_MAX_MEM_MAPPED + size : size,
338 u64 memsize = (u64)memsize_in_meg << 20; local
342 while (ptr < (vstart + memsize)) {
/u-boot/drivers/video/
H A Dsandbox_osd.c133 uint memsize = 2 * (priv->width * priv->height); local
135 if (buflen < memsize)
138 memcpy(buf, priv->buf, memsize);
/u-boot/arch/mips/mach-mtmips/mt7628/
H A Dddr.c154 param.memsize = 0;
171 ddr_calibrate(param.memc, param.memsize, param.bus_width);
173 gd->ram_size = param.memsize;
/u-boot/board/ge/b1x5v2/
H A Dspl.c294 static void spl_dram_init(u8 width, u32 memsize) { argument
317 switch(memsize) {
329 switch(memsize) {
340 switch(memsize) {
/u-boot/arch/mips/mach-mtmips/mt7620/
H A Ddram.c90 param.memsize = 0;
/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspd_sdram.c141 unsigned int memsize; local
281 memsize = n_ranks * banksize(spd.row_dens) / 0x100000;
286 law_size = 19 + __ilog2(memsize);
844 return memsize; /*in MBytes*/
/u-boot/drivers/ddr/altera/
H A Dsdram_gen5.c61 const unsigned long long memsize = MEMSIZE_4G; local
79 debug("workaround rows - memsize %lld\n", memsize);
86 newrows = lldiv(memsize, cs * (width / 8));
/u-boot/tools/binman/
H A Dcbfs_util.py363 elf_data.entry - elf_data.load, elf_data.memsize)
827 atag, alen, load, entry_offset, memsize = struct.unpack(
829 attrs = (load, entry_offset, memsize)
/u-boot/common/
H A DMakefile87 obj-y += memsize.o

Completed in 114 milliseconds