Searched refs:bytes_left (Results 1 – 5 of 5) sorted by relevance
158 uint i, cmddata, bytes_left = 0; local196 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 …]
522 u32 bytes_left; in aux_common() local530 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()
697 int bytes_left = size; in nand_spl_load_image() local707 int block_bytes_left = bytes_left; in nand_spl_load_image()753 bytes_left -= block_bytes_left; in nand_spl_load_image()
405 unsigned long bytes_left = eb->len; in read_whole_eb() local407 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()
431 uint bytes_left = ALIGN(offset, page_size) - offset; in get_xfer_len() local433 if (bytes_left) in get_xfer_len()434 xfer_len = min(xfer_len, bytes_left); in get_xfer_len()
Completed in 17 milliseconds