Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 5 of 5) sorted by relevance

/u-boot/cmd/
A Davb.c44 size_t bytes, bytes_read = 0; in do_avb_read_part() local
61 buffer, &bytes_read) == in do_avb_read_part()
63 printf("Read %zu bytes\n", bytes_read); in do_avb_read_part()
77 size_t bytes, bytes_read = 0; in do_avb_read_part_hex() local
100 &bytes_read) == AVB_IO_RESULT_OK) { in do_avb_read_part_hex()
101 printf("Requested %zu, read %zu bytes\n", bytes, bytes_read); in do_avb_read_part_hex()
103 for (int i = 0; i < bytes_read; i++) in do_avb_read_part_hex()
356 size_t bytes_read; in do_avb_read_pvalue() local
378 &bytes_read) == AVB_IO_RESULT_OK) { in do_avb_read_pvalue()
379 printf("Read %zu bytes, value = %s\n", bytes_read, in do_avb_read_pvalue()
A Doptee_rpmb.c190 size_t bytes_read; in do_optee_rpmb_read() local
206 if (read_persistent_value(name, bytes, buffer, &bytes_read) == 0) { in do_optee_rpmb_read()
207 printf("Read %zu bytes, value = %s\n", bytes_read, in do_optee_rpmb_read()
/u-boot/fs/jffs2/
A Djffs2_1pass.c181 u32 bytes_read = 0; in read_nand_cached() local
189 while (bytes_read < size) { in read_nand_cached()
215 cpy_bytes = size - bytes_read; in read_nand_cached()
216 memcpy(buf + bytes_read, in read_nand_cached()
219 bytes_read += cpy_bytes; in read_nand_cached()
221 return bytes_read; in read_nand_cached()
284 u32 bytes_read = 0; in read_onenand_cached() local
288 while (bytes_read < size) { in read_onenand_cached()
315 memcpy(buf + bytes_read, in read_onenand_cached()
318 bytes_read += cpy_bytes; in read_onenand_cached()
[all …]
/u-boot/drivers/i2c/
A Dkona_i2c.c302 unsigned int bytes_read = 0; in bcm_kona_i2c_read_fifo() local
307 while (bytes_read < msg->len) { in bcm_kona_i2c_read_fifo()
308 if (msg->len - bytes_read <= MAX_RX_FIFO_SIZE) { in bcm_kona_i2c_read_fifo()
310 bytes_to_read = msg->len - bytes_read; in bcm_kona_i2c_read_fifo()
318 bytes_read += bytes_to_read; in bcm_kona_i2c_read_fifo()
/u-boot/drivers/usb/emul/
A Dsandbox_flash.c337 ulong bytes_read; in sandbox_flash_bulk() local
339 bytes_read = os_read(priv->fd, buff, len); in sandbox_flash_bulk()
340 if (bytes_read != len) in sandbox_flash_bulk()

Completed in 12 milliseconds