Lines Matching refs:bytes_to_read
671 unsigned int bytes_to_read = 0; in cqspi_indirect_read_execute() local
710 bytes_to_read = cqspi_get_rd_sram_level(cqspi); in cqspi_indirect_read_execute()
712 if (ret && bytes_to_read == 0) { in cqspi_indirect_read_execute()
717 while (bytes_to_read != 0) { in cqspi_indirect_read_execute()
720 bytes_to_read *= cqspi->fifo_width; in cqspi_indirect_read_execute()
721 bytes_to_read = bytes_to_read > remaining ? in cqspi_indirect_read_execute()
722 remaining : bytes_to_read; in cqspi_indirect_read_execute()
723 bytes_to_read = round_down(bytes_to_read, 4); in cqspi_indirect_read_execute()
725 if (bytes_to_read) { in cqspi_indirect_read_execute()
727 (bytes_to_read / 4)); in cqspi_indirect_read_execute()
731 bytes_to_read = mod_bytes; in cqspi_indirect_read_execute()
734 bytes_to_read)); in cqspi_indirect_read_execute()
736 rxbuf += bytes_to_read; in cqspi_indirect_read_execute()
737 remaining -= bytes_to_read; in cqspi_indirect_read_execute()
738 bytes_to_read = cqspi_get_rd_sram_level(cqspi); in cqspi_indirect_read_execute()