Lines Matching refs:cur_len
166 int cur_len; in spi_sh_send() local
175 cur_len = min(SPI_SH_FIFO_SIZE, remain); in spi_sh_send()
176 for (i = 0; i < cur_len && in spi_sh_send()
190 cur_len = i; in spi_sh_send()
192 remain -= cur_len; in spi_sh_send()
193 data += cur_len; in spi_sh_send()
231 int cur_len; in spi_sh_receive() local
260 cur_len = min(SPI_SH_FIFO_SIZE, remain); in spi_sh_receive()
261 for (i = 0; i < cur_len; i++) { in spi_sh_receive()
267 remain -= cur_len; in spi_sh_receive()
268 data += cur_len; in spi_sh_receive()