Searched refs:bufferspace (Results 1 – 2 of 2) sorted by relevance
609 unsigned bufferspace, count, is_short; in read_fifo() local622 bufferspace = req->req.length - req->req.actual; in read_fifo()627 req->req.actual += min(count, bufferspace); in read_fifo()638 if (unlikely(bufferspace == 0)) { in read_fifo()650 bufferspace--; in read_fifo()687 unsigned bufferspace; in read_ep0_fifo() local690 bufferspace = req->req.length - req->req.actual; in read_ep0_fifo()695 if (unlikely(bufferspace == 0)) { in read_ep0_fifo()707 bufferspace--; in read_ep0_fifo()
128 unsigned int count, bufferspace, is_done; in read_fifo() local131 bufferspace = req->req.length - req->req.actual; in read_fifo()145 if (count > bufferspace) { in read_fifo()148 count = bufferspace; in read_fifo()168 if (count == bufferspace) in read_fifo()188 bufferspace -= count; in read_fifo()