Searched refs:bytesleft (Results 1 – 3 of 3) sorted by relevance
322 int bytesleft, sz; in xlp_spi_txrx_bufs() local328 bytesleft = t->len; in xlp_spi_txrx_bufs()329 while (bytesleft) { in xlp_spi_txrx_bufs()330 if (bytesleft > XLP_SPI_XFER_SIZE) in xlp_spi_txrx_bufs()335 bytesleft, xs->cmd_cont); in xlp_spi_txrx_bufs()338 bytesleft -= sz; in xlp_spi_txrx_bufs()344 return bytesleft; in xlp_spi_txrx_bufs()
872 int bytesleft = length; in setup_dma_scatter() local885 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) in setup_dma_scatter()886 mapbytes = bytesleft; in setup_dma_scatter()892 bytesleft -= mapbytes; in setup_dma_scatter()895 bufp, mapbytes, bytesleft); in setup_dma_scatter()900 if (bytesleft < PAGE_SIZE) in setup_dma_scatter()901 mapbytes = bytesleft; in setup_dma_scatter()906 bytesleft -= mapbytes; in setup_dma_scatter()909 mapbytes, bytesleft); in setup_dma_scatter()913 BUG_ON(bytesleft); in setup_dma_scatter()
1194 int bytesleft; in edge_write() local1228 bytesleft = fifo->size - fifo->head; in edge_write()1229 firsthalf = min(bytesleft, copySize); in edge_write()1231 firsthalf, bytesleft); in edge_write()1294 int bytesleft; in send_more_port_data() local1344 bytesleft = fifo->size - fifo->tail; in send_more_port_data()1345 firsthalf = min(bytesleft, count); in send_more_port_data()