Searched refs:read_size (Results 1 - 5 of 5) sorted by relevance

/u-boot/tools/
H A Dmkexynosspl.c81 int var_size_flag, read_size, count; local
127 read_size = len;
137 read_size = len;
148 if (read(ifd, buffer, read_size) != read_size) {
155 if (read_size < count)
156 memset((char *)buffer + read_size, 0xff, count - read_size);
/u-boot/common/
H A Dsplash_source.c30 static int splash_sf_read_raw(u32 bmp_load_addr, int offset, size_t read_size) argument
41 return spi_flash_read(sf, offset, read_size, (void *)(uintptr_t)bmp_load_addr);
44 static int splash_sf_read_raw(u32 bmp_load_addr, int offset, size_t read_size) argument
52 static int splash_nand_read_raw(u32 bmp_load_addr, int offset, size_t read_size) argument
56 &read_size, NULL,
61 static int splash_nand_read_raw(u32 bmp_load_addr, int offset, size_t read_size) argument
69 size_t read_size)
86 blkcnt = DIV_ROUND_UP(read_size, partition.blksz);
93 u32 bmp_load_addr, size_t read_size)
103 return splash_mmc_read_raw(bmp_load_addr, location, read_size);
68 splash_mmc_read_raw(u32 bmp_load_addr, struct splash_location *location, size_t read_size) argument
92 splash_storage_read_raw(struct splash_location *location, u32 bmp_load_addr, size_t read_size) argument
[all...]
/u-boot/drivers/serial/
H A Dserial_octeon_pcie_console.c121 int read_size; local
144 read_size = min_t(int, avail, buffer_size);
147 if (cons_ptr->input_read_index + read_size >= cons_ptr->buf_size)
148 read_size = cons_ptr->buf_size - cons_ptr->input_read_index;
150 memcpy(buffer, buf_ptr + cons_ptr->input_read_index, read_size);
152 (cons_ptr->input_read_index + read_size) % cons_ptr->buf_size;
153 bytes_read += read_size;
/u-boot/fs/fat/
H A Dfat.c873 u32 read_size; local
891 read_size = min_t(u32, itr->fsdata->clust_size,
895 read_size = itr->fsdata->clust_size;
898 log_debug("FAT read(sect=%d), clust_size=%d, read_size=%u\n",
899 sect, itr->fsdata->clust_size, read_size);
910 ret = disk_read(sect, read_size, itr->block);
916 *nbytes = read_size * itr->fsdata->sect_size;
/u-boot/include/
H A Dec_commands.h3309 uint8_t read_size; /* Either 8 or 16. */ member in struct:ec_params_i2c_read

Completed in 160 milliseconds