Lines Matching refs:cur_len
155 int cur_len; in spi_sh_send() local
164 cur_len = min(SPI_SH_FIFO_SIZE, remain); in spi_sh_send()
165 for (i = 0; i < cur_len && in spi_sh_send()
179 cur_len = i; in spi_sh_send()
181 remain -= cur_len; in spi_sh_send()
182 data += cur_len; in spi_sh_send()
220 int cur_len; in spi_sh_receive() local
249 cur_len = min(SPI_SH_FIFO_SIZE, remain); in spi_sh_receive()
250 for (i = 0; i < cur_len; i++) { in spi_sh_receive()
256 remain -= cur_len; in spi_sh_receive()
257 data += cur_len; in spi_sh_receive()