Lines Matching refs:curr_dma_words
183 unsigned curr_dma_words;
281 tspi->curr_dma_words = max_len/tspi->bytes_per_word;
286 tspi->curr_dma_words = max_word;
309 written_words = min(fifo_words_left, tspi->curr_dma_words);
323 max_n_32bit = min(tspi->curr_dma_words, tx_empty_count);
357 len = tspi->curr_dma_words * tspi->bytes_per_word;
364 read_words += tspi->curr_dma_words;
365 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word;
396 unsigned len = tspi->curr_dma_words * tspi->bytes_per_word;
399 tspi->cur_tx_pos += tspi->curr_dma_words * tspi->bytes_per_word;
404 unsigned consume = tspi->curr_dma_words * tspi->bytes_per_word;
410 for (count = 0; count < tspi->curr_dma_words; count++) {
435 unsigned len = tspi->curr_dma_words * tspi->bytes_per_word;
438 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word;
444 unsigned consume = tspi->curr_dma_words * tspi->bytes_per_word;
450 for (count = 0; count < tspi->curr_dma_words; count++) {
544 val = SPI_DMA_BLK_SET(tspi->curr_dma_words - 1);
548 len = DIV_ROUND_UP(tspi->curr_dma_words * tspi->bytes_per_word,
551 len = tspi->curr_dma_words * 4;
638 cur_words = tspi->curr_dma_words;