Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 173) sorted by relevance

1234567

/u-boot/test/lib/
A Dhexdump.c40 u8 dst[4]; in lib_test_hex2bin() local
42 hex2bin(dst, "649421de", 4); in lib_test_hex2bin()
44 hex2bin(dst, "aa2e7545", 4); in lib_test_hex2bin()
46 hex2bin(dst, "75453bc5", 4); in lib_test_hex2bin()
48 hex2bin(dst, "a16884c3", 4); in lib_test_hex2bin()
50 hex2bin(dst, "156b2e5e", 4); in lib_test_hex2bin()
52 hex2bin(dst, "2e035fff", 4); in lib_test_hex2bin()
54 hex2bin(dst, "0ffce99f", 4); in lib_test_hex2bin()
56 hex2bin(dst, "d3999443", 4); in lib_test_hex2bin()
58 hex2bin(dst, "91dd87bc", 4); in lib_test_hex2bin()
[all …]
/u-boot/post/lib_powerpc/
A Dstring.c38 char src [31], dst [31]; in cpu_post_test_string() local
50 dst[i] = 0; in cpu_post_test_string()
53 cpu_post_exec_02(code, (ulong)src, (ulong)dst); in cpu_post_test_string()
55 ret = memcmp(src, dst, sizeof(dst)) == 0 ? 0 : -1; in cpu_post_test_string()
60 char src [95], dst [95]; in cpu_post_test_string() local
72 dst[i] = 0; in cpu_post_test_string()
75 cpu_post_exec_04(code, (ulong)src, (ulong)dst, 0, sizeof(src)); in cpu_post_test_string()
77 ret = memcmp(src, dst, sizeof(dst)) == 0 ? 0 : -1; in cpu_post_test_string()
A Dmulti.c32 ulong src[27], dst[27]; in cpu_post_test_multi() local
43 dst[i] = 0; in cpu_post_test_multi()
46 cpu_post_exec_02(code, (ulong) src, (ulong) dst); in cpu_post_test_multi()
48 ret = memcmp(src, dst, sizeof(dst)) == 0 ? 0 : -1; in cpu_post_test_multi()
/u-boot/cmd/
A Dconfig.c17 char *dst; in do_config() local
21 dst = malloc(data_size + 1); in do_config()
22 if (!dst) in do_config()
25 ret = gunzip(dst, data_size, (unsigned char *)data_gz, &len); in do_config()
32 dst[data_size] = 0; in do_config()
33 puts(dst); in do_config()
36 free(dst); in do_config()
A Dlicense.c18 char *dst; in do_license() local
22 dst = malloc(data_size + 1); in do_license()
23 if (!dst) in do_license()
26 ret = gunzip(dst, data_size, (unsigned char *)data_gz, &len); in do_license()
33 dst[data_size] = 0; in do_license()
34 puts(dst); in do_license()
37 free(dst); in do_license()
/u-boot/lib/
A Dcharset.c147 if (!dst || !*dst) in utf8_put()
161 ++*dst; in utf8_put()
164 ++*dst; in utf8_put()
167 ++*dst; in utf8_put()
170 ++*dst; in utf8_put()
197 if (!src || !dst || !*dst) in utf8_utf16_strncpy()
207 **dst = 0; in utf8_utf16_strncpy()
241 if (!dst || !*dst) in utf16_put()
250 ++*dst; in utf16_put()
253 ++*dst; in utf16_put()
[all …]
A Dlz4_wrapper.c15 static void LZ4_copy4(void *dst, const void *src) { *(u32 *)dst = *(u32 *)src; } in LZ4_copy4() argument
16 static void LZ4_copy8(void *dst, const void *src) { *(u64 *)dst = *(u64 *)src; } in LZ4_copy8() argument
31 int ulz4fn(const void *src, size_t srcn, void *dst, size_t *dstn) in ulz4fn() argument
33 const void *end = dst + *dstn; in ulz4fn()
35 void *out = dst; in ulz4fn()
119 *dstn = out - dst; in ulz4fn()
A Dgzip.c39 int gzip(void *dst, unsigned long *lenp, in gzip() argument
42 return zzip(dst, lenp, src, srclen, 1, NULL); in gzip()
48 int zzip(void *dst, unsigned long *lenp, unsigned char *src, in zzip() argument
89 s.next_out = dst; in zzip()
98 dst += (left_len - s.avail_out); in zzip()
101 r = func((unsigned long)dst, in zzip()
/u-boot/drivers/mtd/nand/raw/
A Dnand_spl_loaders.c1 int nand_spl_load_image(uint32_t offs, unsigned int size, void *dst) in nand_spl_load_image() argument
16 nand_read_page(block, page, dst); in nand_spl_load_image()
24 memmove(dst, dst + page_offset, in nand_spl_load_image()
26 dst = (void *)((int)dst - page_offset); in nand_spl_load_image()
29 dst += CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image()
102 int nand_spl_read_block(int block, int offset, int len, void *dst) in nand_spl_read_block() argument
120 memcpy(dst, scratch_buf + offset, read); in nand_spl_read_block()
123 nand_read_page(block, page, dst); in nand_spl_read_block()
128 dst += read; in nand_spl_read_block()
/u-boot/common/
A Dlcd_console_rotation.c17 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in lcd_putc_xy90() local
34 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in console_setrow90() local
40 *dst-- = clr; in console_setrow90()
49 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in console_moverow90() local
59 *dst-- = *src--; in console_moverow90()
69 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in lcd_putc_xy180() local
89 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in console_setrow180() local
94 *dst++ = clr; in console_setrow180()
110 *dst++ = *src++; in console_moverow180()
141 *dst++ = clr; in console_setrow270()
[all …]
/u-boot/drivers/video/
A Dconsole_rotate.c32 *dst++ = clr; in console_set_row_1()
40 *dst++ = clr; in console_set_row_1()
48 *dst++ = clr; in console_set_row_1()
68 void *dst; in console_move_rows_1() local
173 *dst++ = clr; in console_set_row_2()
174 end = dst; in console_set_row_2()
182 *dst++ = clr; in console_set_row_2()
183 end = dst; in console_set_row_2()
192 end = dst; in console_set_row_2()
209 void *dst; in console_move_rows_2() local
[all …]
A Dconsole_normal.c28 uint8_t *dst = line; in console_normal_set_row() local
31 *dst++ = clr; in console_normal_set_row()
32 end = dst; in console_normal_set_row()
37 uint16_t *dst = line; in console_normal_set_row() local
40 *dst++ = clr; in console_normal_set_row()
41 end = dst; in console_normal_set_row()
46 uint32_t *dst = line; in console_normal_set_row() local
49 *dst++ = clr; in console_normal_set_row()
50 end = dst; in console_normal_set_row()
67 void *dst; in console_normal_move_rows() local
[all …]
A Dconsole_truetype.c141 *dst++ = clr; in console_truetype_set_row()
142 end = dst; in console_truetype_set_row()
151 *dst++ = clr; in console_truetype_set_row()
152 end = dst; in console_truetype_set_row()
161 *dst++ = clr; in console_truetype_set_row()
162 end = dst; in console_truetype_set_row()
181 void *dst; in console_truetype_move_rows() local
299 end = dst; in console_truetype_putc_xy()
321 end = dst; in console_truetype_putc_xy()
372 *dst++ = clr; in console_truetype_erase()
[all …]
/u-boot/drivers/crypto/fsl/
A Dfsl_blob.c31 int blob_decap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_decap() argument
38 !IS_ALIGNED((uintptr_t)dst, ARCH_DMA_MINALIGN)) { in blob_decap()
74 invalidate_dcache_range((unsigned long)dst, in blob_decap()
75 (unsigned long)dst + size); in blob_decap()
139 invalidate_dcache_range((unsigned long)dst, in blob_encap()
140 (unsigned long)dst + size); in blob_encap()
150 int blob_dek(const u8 *src, u8 *dst, u8 len) in blob_dek() argument
174 flush_dcache_range((unsigned long)dst, in blob_dek()
175 (unsigned long)dst + size); in blob_dek()
186 invalidate_dcache_range((unsigned long)dst, (unsigned long)dst+size); in blob_dek()
[all …]
/u-boot/lib/zstd/
A Dhuf.h75 size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc,…
77 size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, s…
79 size_t HUF_decompress4X4_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, s…
101 size_t HUF_compress4X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const…
153 size_t HUF_decompress4X_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize…
154 size_t HUF_decompress4X2_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSiz…
155 size_t HUF_decompress4X4_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSiz…
161 size_t HUF_compress1X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const…
177 size_t HUF_decompress1X_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize,
179 size_t HUF_decompress1X2_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSiz…
[all …]
/u-boot/arch/mips/mach-mtmips/
A Dcpu.c26 void *src, *dst; in last_stage_init() local
29 dst = malloc(SZ_64K); in last_stage_init()
30 if (!src || !dst) { in last_stage_init()
43 memcpy(dst, src, SZ_64K); in last_stage_init()
45 free(dst); in last_stage_init()
/u-boot/test/dm/
A Dsf.c27 u8 *src, *dst; in dm_test_spi_flash() local
37 dst = map_sysmem(0x20000 + full_size, full_size); in dm_test_spi_flash()
38 ut_assertok(spi_flash_read_dm(dev, 0, size, dst)); in dm_test_spi_flash()
39 ut_asserteq_mem(src, dst, size); in dm_test_spi_flash()
43 ut_assertok(spi_flash_read_dm(dev, 0, size, dst)); in dm_test_spi_flash()
45 ut_asserteq(dst[i], 0xff); in dm_test_spi_flash()
51 ut_assertok(spi_flash_read_dm(dev, 0, size, dst)); in dm_test_spi_flash()
52 ut_asserteq_mem(src, dst, size); in dm_test_spi_flash()
/u-boot/fs/zfs/
A Dzfs_lzjb.c49 uint8_t *dst = d_start; in lzjb_decompress() local
55 while (dst < d_end && src < s_end) { in lzjb_decompress()
68 cpy = dst - offset; in lzjb_decompress()
73 while (--mlen >= 0 && dst < d_end) in lzjb_decompress()
74 *dst++ = *cpy++; in lzjb_decompress()
76 *dst++ = *src++; in lzjb_decompress()
79 if (dst < d_end) { in lzjb_decompress()
/u-boot/include/
A Dhexdump.h55 static inline int hex2bin(u8 *dst, const char *src, size_t count) in hex2bin() argument
64 *dst++ = (hi << 4) | lo; in hex2bin()
75 static inline char *bin2hex(char *dst, const void *src, size_t count) in bin2hex() argument
80 dst = hex_byte_pack(dst, *_src++); in bin2hex()
81 return dst; in bin2hex()
A Dgzip.h32 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp);
45 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp,
89 int gzip(void *dst, unsigned long *lenp, unsigned char *src, ulong srclen);
102 int zzip(void *dst, ulong *lenp, unsigned char *src, ulong srclen,
/u-boot/drivers/remoteproc/
A Drproc-elf-loader.c188 dst = ops->device_to_virt(dev, (ulong)dst,
192 i, dst, phdr->p_filesz);
194 memcpy(dst, src, phdr->p_filesz);
379 void *src, *dst; local
395 dst = (void *)rsc_addr;
398 (ulong)dst, *rsc_size);
400 memcpy(dst, src, *rsc_size);
488 void *src, *dst; local
504 dst = (void *)rsc_addr;
507 (ulong)dst, *rsc_size);
[all …]
/u-boot/arch/riscv/lib/
A Dfdt_fixup.c27 int riscv_fdt_copy_resv_mem_node(const void *src, void *dst) in riscv_fdt_copy_resv_mem_node() argument
53 err = fdt_open_into(dst, dst, fdt_totalsize(dst) + 1024); in riscv_fdt_copy_resv_mem_node()
78 err = fdtdec_add_reserved_memory(dst, basename, &pmp_mem, in riscv_fdt_copy_resv_mem_node()
87 rmem_offset = fdt_node_offset_by_phandle(dst, phandle); in riscv_fdt_copy_resv_mem_node()
88 fdt_setprop_empty(dst, rmem_offset, "no-map"); in riscv_fdt_copy_resv_mem_node()
/u-boot/include/linux/
A Dbitmap.h23 __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument
30 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
90 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero() argument
93 *dst = 0UL; in bitmap_zero()
97 memset(dst, 0, len); in bitmap_zero()
162 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill() argument
165 *dst = ~0UL; in bitmap_fill()
169 memset(dst, 0xff, len); in bitmap_fill()
173 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
177 *dst = *src1 | *src2; in bitmap_or()
[all …]
/u-boot/drivers/dma/
A Dti-edma3.c109 __raw_writel(dst, &rg->dst); in edma3_set_dest()
143 void edma3_set_dest_addr(u32 base, int slot, u32 dst) in edma3_set_dest_addr() argument
148 __raw_writel(dst, &rg->dst); in edma3_set_dest_addr()
327 __raw_writel(cfg->dst, &rg->dst); in edma3_slot_configure()
441 edma_channel.trigger_slot_word = EDMA3_TWORD(dst); in __edma3_transfer()
474 edma_channel.trigger_slot_word = EDMA3_TWORD(dst); in __edma3_transfer()
486 void *dst, u8 val, size_t len) in __edma3_fill() argument
502 dst += xfer_len; in __edma3_fill()
509 void *dst, void *src, size_t len) in edma3_transfer() argument
515 void *dst, u8 val, size_t len) in edma3_fill() argument
[all …]
/u-boot/tools/
A Dsunxi-spl-image-builder.c114 FILE *src, FILE *rnd, FILE *dst, in write_page() argument
119 off_t pos = ftell(dst); in write_page()
173 fseek(dst, pos + offs, SEEK_SET); in write_page()
174 fwrite(buffer + offs, cnt, 1, dst); in write_page()
221 fseek(dst, pos + data_offs, SEEK_SET); in write_page()
223 fseek(dst, pos + ecc_offs - 4, SEEK_SET); in write_page()
224 fwrite(ecc - 4, eccbytes + 4, 1, dst); in write_page()
230 fwrite(buffer, 2, 1, dst); in write_page()
242 FILE *src, *dst, *rnd; in create_image() local
266 dst = fopen(info->dest, "w"); in create_image()
[all …]

Completed in 37 milliseconds

1234567