Searched refs:bufferspace (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/usb/gadget/udc/ |
H A D | pxa25x_udc.c | 725 unsigned bufferspace, count, is_short; in read_fifo() local 736 bufferspace = req->req.length - req->req.actual; in read_fifo() 741 req->req.actual += min (count, bufferspace); in read_fifo() 752 if (unlikely (bufferspace == 0)) { in read_fifo() 763 bufferspace--; in read_fifo() 800 unsigned bufferspace; in read_ep0_fifo() local 803 bufferspace = req->req.length - req->req.actual; in read_ep0_fifo() 808 if (unlikely (bufferspace == 0)) { in read_ep0_fifo() 819 bufferspace--; in read_ep0_fifo()
|
H A D | at91_udc.c | 316 unsigned int count, bufferspace, is_done; in read_fifo() local 319 bufferspace = req->req.length - req->req.actual; in read_fifo() 333 if (count > bufferspace) { in read_fifo() 336 count = bufferspace; in read_fifo() 356 if (count == bufferspace) in read_fifo() 376 bufferspace -= count; in read_fifo()
|
H A D | goku_udc.c | 413 unsigned bufferspace, is_short, dbuff; in read_fifo() local 431 bufferspace = req->req.length - req->req.actual; in read_fifo() 434 if (likely(ep->num != 0 || bufferspace != 0)) { in read_fifo() 459 if (unlikely(bufferspace == 0)) { in read_fifo() 470 bufferspace--; in read_fifo()
|
H A D | lpc32xx_udc.c | 1482 u32 tr, bufferspace; in udc_ep0_out_req() local 1498 bufferspace = req->req.length - req->req.actual; in udc_ep0_out_req() 1499 if (bufferspace > ep0->ep.maxpacket) in udc_ep0_out_req() 1500 bufferspace = ep0->ep.maxpacket; in udc_ep0_out_req() 1505 bufferspace); in udc_ep0_out_req() 1506 req->req.actual += bufferspace; in udc_ep0_out_req()
|
H A D | udc-xilinx.c | 589 u32 is_short, count, bufferspace; in xudc_read_fifo() local 613 bufferspace = req->usb_req.length - req->usb_req.actual; in xudc_read_fifo() 616 if (unlikely(!bufferspace)) { in xudc_read_fifo() 633 req->usb_req.actual += min(count, bufferspace); in xudc_read_fifo()
|
H A D | pxa27x_udc.c | 792 int bytes_ep, bufferspace, count, i; in read_packet() local 795 bufferspace = req->req.length - req->req.actual; in read_packet() 801 count = min(bytes_ep, bufferspace); in read_packet()
|