/u-boot/test/dm/ |
H A D | osd.c | 18 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 D | ddr.h | 47 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 D | ddr_cal.c | 35 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 D | ddr_init.c | 142 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 D | pitx_imx8m.c | 64 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 D | xxhash.h | 124 uint32_t memsize; member in struct:xxh32_state 137 uint32_t memsize; member in struct:xxh64_state
|
/u-boot/lib/ |
H A D | xxhash.c | 251 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 D | ini.c | 79 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 D | memory.c | 503 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 D | tlb.c | 306 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 D | sandbox_osd.c | 133 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 D | ddr.c | 154 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 D | spl.c | 294 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 D | dram.c | 90 param.memsize = 0;
|
/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | spd_sdram.c | 141 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 D | sdram_gen5.c | 61 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 D | cbfs_util.py | 363 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 D | Makefile | 87 obj-y += memsize.o
|