Home
last modified time | relevance | path

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

/u-boot/drivers/mmc/
A Ddavinci_mmc.c158 uint i, cmddata, bytes_left = 0; local
196 bytes_left = (data->blocksize * data->blocks);
222 for (i = 0; (i < fifo_words) && bytes_left; i++) {
226 bytes_left -= 4;
285 while (bytes_left) {
299 if (bytes_left > fifo_bytes)
301 else if (bytes_left == fifo_bytes) {
307 for (i = 0; bytes_left && (i < fifo_words); i++) {
311 bytes_left -= 4;
322 for (i = 0; bytes_left && (i < fifo_words); i++) {
[all …]
/u-boot/drivers/video/
A Dlogicore_dp_tx.c522 u32 bytes_left; in aux_common() local
530 bytes_left = num_bytes; in aux_common()
531 while (bytes_left) { in aux_common()
539 request.address = address + (num_bytes - bytes_left); in aux_common()
543 request.data = &data[num_bytes - bytes_left]; in aux_common()
545 request.num_bytes = (bytes_left > 16) ? 16 : bytes_left; in aux_common()
546 bytes_left -= request.num_bytes; in aux_common()
548 if (cmd_type == AUX_CMD_I2C_READ && bytes_left) { in aux_common()
554 } else if ((cmd_type == AUX_CMD_I2C_WRITE) && bytes_left) { in aux_common()
/u-boot/drivers/mtd/nand/raw/
A Dlpc32xx_nand_mlc.c697 int bytes_left = size; in nand_spl_load_image() local
707 int block_bytes_left = bytes_left; in nand_spl_load_image()
753 bytes_left -= block_bytes_left; in nand_spl_load_image()
/u-boot/fs/btrfs/
A Ddisk-io.c405 unsigned long bytes_left = eb->len; in read_whole_eb() local
407 while (bytes_left) { in read_whole_eb()
408 read_len = bytes_left; in read_whole_eb()
425 if (read_len > bytes_left) in read_whole_eb()
426 read_len = bytes_left; in read_whole_eb()
437 bytes_left -= read_len; in read_whole_eb()
/u-boot/drivers/spi/
A Dich.c431 uint bytes_left = ALIGN(offset, page_size) - offset; in get_xfer_len() local
433 if (bytes_left) in get_xfer_len()
434 xfer_len = min(xfer_len, bytes_left); in get_xfer_len()

Completed in 17 milliseconds