Searched refs:read_len (Results 1 – 1 of 1) sorted by relevance
158 uint32_t read_len = 0, read_addr; in spi_flash_read() local171 read_len = MIN(flash->page_size, (len - read_len)); in spi_flash_read()174 ret = spi_flash_read_common(cmd, sizeof(cmd), data, read_len); in spi_flash_read()180 offset += read_len; in spi_flash_read()181 len -= read_len; in spi_flash_read()182 data += read_len; in spi_flash_read()