Searched refs:bytesleft (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/isdn/gigaset/ |
D | common.c | 569 unsigned n, head, tail, bytesleft; in gigaset_fill_inbuf() local 576 bytesleft = numbytes; in gigaset_fill_inbuf() 581 while (bytesleft) { in gigaset_fill_inbuf() 591 bytesleft); in gigaset_fill_inbuf() 594 if (n > bytesleft) in gigaset_fill_inbuf() 595 n = bytesleft; in gigaset_fill_inbuf() 597 bytesleft -= n; in gigaset_fill_inbuf() 603 return numbytes != bytesleft; in gigaset_fill_inbuf()
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx-842.c | 337 int ret = 0, max_sync_size, i, bytesleft, size, hdrsize; in nx842_compress() local 370 bytesleft = *outlen - hdrsize; in nx842_compress() 396 bytesleft -= padding; in nx842_compress() 401 if (bytesleft <= 0) { in nx842_compress() 432 min(bytesleft, max_sync_size), &slout); in nx842_compress() 454 if (bytesleft < max_sync_size) { in nx842_compress() 466 bytesleft -= max_sync_size; in nx842_compress() 477 bytesleft -= size; in nx842_compress()
|
/linux-4.1.27/drivers/spi/ |
D | spi-pl022.c | 885 int bytesleft = length; in setup_dma_scatter() local 898 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) in setup_dma_scatter() 899 mapbytes = bytesleft; in setup_dma_scatter() 905 bytesleft -= mapbytes; in setup_dma_scatter() 908 bufp, mapbytes, bytesleft); in setup_dma_scatter() 913 if (bytesleft < PAGE_SIZE) in setup_dma_scatter() 914 mapbytes = bytesleft; in setup_dma_scatter() 919 bytesleft -= mapbytes; in setup_dma_scatter() 922 mapbytes, bytesleft); in setup_dma_scatter() 926 BUG_ON(bytesleft); in setup_dma_scatter()
|
/linux-4.1.27/drivers/usb/serial/ |
D | io_edgeport.c | 1103 int bytesleft; in edge_write() local 1137 bytesleft = fifo->size - fifo->head; in edge_write() 1138 firsthalf = min(bytesleft, copySize); in edge_write() 1140 firsthalf, bytesleft); in edge_write() 1203 int bytesleft; in send_more_port_data() local 1253 bytesleft = fifo->size - fifo->tail; in send_more_port_data() 1254 firsthalf = min(bytesleft, count); in send_more_port_data()
|