Lines Matching refs:cur_len
167 int cur_len; in spi_sh_send() local
176 cur_len = min(SPI_SH_FIFO_SIZE, remain); in spi_sh_send()
177 for (i = 0; i < cur_len && in spi_sh_send()
191 cur_len = i; in spi_sh_send()
193 remain -= cur_len; in spi_sh_send()
194 data += cur_len; in spi_sh_send()
232 int cur_len; in spi_sh_receive() local
261 cur_len = min(SPI_SH_FIFO_SIZE, remain); in spi_sh_receive()
262 for (i = 0; i < cur_len; i++) { in spi_sh_receive()
268 remain -= cur_len; in spi_sh_receive()
269 data += cur_len; in spi_sh_receive()