Searched refs:bytesleft (Results 1 – 3 of 3) sorted by relevance
321 int bytesleft, sz; in xlp_spi_txrx_bufs() local327 bytesleft = t->len; in xlp_spi_txrx_bufs()328 while (bytesleft) { in xlp_spi_txrx_bufs()329 if (bytesleft > XLP_SPI_XFER_SIZE) in xlp_spi_txrx_bufs()334 bytesleft, xs->cmd_cont); in xlp_spi_txrx_bufs()337 bytesleft -= sz; in xlp_spi_txrx_bufs()343 return bytesleft; in xlp_spi_txrx_bufs()
750 int bytesleft = length; in setup_dma_scatter() local763 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) in setup_dma_scatter()764 mapbytes = bytesleft; in setup_dma_scatter()770 bytesleft -= mapbytes; in setup_dma_scatter()773 bufp, mapbytes, bytesleft); in setup_dma_scatter()778 if (bytesleft < PAGE_SIZE) in setup_dma_scatter()779 mapbytes = bytesleft; in setup_dma_scatter()784 bytesleft -= mapbytes; in setup_dma_scatter()787 mapbytes, bytesleft); in setup_dma_scatter()791 BUG_ON(bytesleft); in setup_dma_scatter()
1118 int bytesleft; in edge_write() local1152 bytesleft = fifo->size - fifo->head; in edge_write()1153 firsthalf = min(bytesleft, copySize); in edge_write()1155 firsthalf, bytesleft); in edge_write()1218 int bytesleft; in send_more_port_data() local1268 bytesleft = fifo->size - fifo->tail; in send_more_port_data()1269 firsthalf = min(bytesleft, count); in send_more_port_data()