Home
last modified time | relevance | path

Searched refs:bytesleft (Results 1 – 3 of 3) sorted by relevance

/drivers/spi/
Dspi-xlp.c322 int bytesleft, sz; in xlp_spi_txrx_bufs() local
328 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()
Dspi-pl022.c863 int bytesleft = length; in setup_dma_scatter() local
876 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) in setup_dma_scatter()
877 mapbytes = bytesleft; in setup_dma_scatter()
883 bytesleft -= mapbytes; in setup_dma_scatter()
886 bufp, mapbytes, bytesleft); in setup_dma_scatter()
891 if (bytesleft < PAGE_SIZE) in setup_dma_scatter()
892 mapbytes = bytesleft; in setup_dma_scatter()
897 bytesleft -= mapbytes; in setup_dma_scatter()
900 mapbytes, bytesleft); in setup_dma_scatter()
904 BUG_ON(bytesleft); in setup_dma_scatter()
/drivers/usb/serial/
Dio_edgeport.c1118 int bytesleft; in edge_write() local
1152 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() local
1268 bytesleft = fifo->size - fifo->tail; in send_more_port_data()
1269 firsthalf = min(bytesleft, count); in send_more_port_data()