Lines Matching refs:buffer
367 ehci_submit_async(struct usb_device *dev, unsigned long pipe, void *buffer, in ehci_submit_async() argument
384 buffer, length, req); in ehci_submit_async()
432 if ((unsigned long)buffer & (PKT_ALIGN - 1)) in ehci_submit_async()
523 uint8_t *buf_ptr = buffer; in ehci_submit_async()
665 if (buffer != NULL && length > 0) in ehci_submit_async()
666 invalidate_dcache_range((unsigned long)buffer, in ehci_submit_async()
667 ALIGN((unsigned long)buffer + length, ARCH_DMA_MINALIGN)); in ehci_submit_async()
722 void *buffer, int length, struct devrequest *req) in ehci_submit_root() argument
987 memcpy(buffer, srcptr, len); in ehci_submit_root()
1202 void *buffer, int length) in _ehci_submit_bulk_msg() argument
1209 return ehci_submit_async(dev, pipe, buffer, length, NULL); in _ehci_submit_bulk_msg()
1213 void *buffer, int length, in _ehci_submit_control_msg() argument
1226 return ehci_submit_root(dev, pipe, buffer, length, setup); in _ehci_submit_control_msg()
1228 return ehci_submit_async(dev, pipe, buffer, length, setup); in _ehci_submit_control_msg()
1285 void *buffer, int interval) in _ehci_create_int_queue() argument
1352 void **buf = &qh->buffer; in _ehci_create_int_queue()
1386 cpu_to_hc32((unsigned long)buffer + i * elementsize); in _ehci_create_int_queue()
1396 *buf = buffer + i * elementsize; in _ehci_create_int_queue()
1400 flush_dcache_range((unsigned long)buffer, in _ehci_create_int_queue()
1401 ALIGN_END_ADDR(char, buffer, in _ehci_create_int_queue()
1475 invalidate_dcache_range((unsigned long)cur->buffer, in _ehci_poll_int_queue()
1476 ALIGN_END_ADDR(char, cur->buffer, in _ehci_poll_int_queue()
1481 return cur->buffer; in _ehci_poll_int_queue()
1533 void *buffer, int length, int interval, in _ehci_submit_int_msg() argument
1542 dev, pipe, buffer, length, interval); in _ehci_submit_int_msg()
1544 queue = _ehci_create_int_queue(dev, pipe, 1, length, buffer, interval); in _ehci_submit_int_msg()
1556 if (backbuffer != buffer) { in _ehci_submit_int_msg()
1558 backbuffer, buffer); in _ehci_submit_int_msg()
1582 void *buffer, int length) in submit_bulk_msg() argument
1584 return _ehci_submit_bulk_msg(dev, pipe, buffer, length); in submit_bulk_msg()
1587 int submit_control_msg(struct usb_device *dev, unsigned long pipe, void *buffer, in submit_control_msg() argument
1590 return _ehci_submit_control_msg(dev, pipe, buffer, length, setup); in submit_control_msg()
1594 void *buffer, int length, int interval, bool nonblock) in submit_int_msg() argument
1596 return _ehci_submit_int_msg(dev, pipe, buffer, length, interval, in submit_int_msg()
1602 void *buffer, int interval) in create_int_queue() argument
1605 buffer, interval); in create_int_queue()
1628 unsigned long pipe, void *buffer, int length, in ehci_submit_control_msg() argument
1634 return _ehci_submit_control_msg(udev, pipe, buffer, length, setup); in ehci_submit_control_msg()
1638 unsigned long pipe, void *buffer, int length) in ehci_submit_bulk_msg() argument
1641 return _ehci_submit_bulk_msg(udev, pipe, buffer, length); in ehci_submit_bulk_msg()
1645 unsigned long pipe, void *buffer, int length, in ehci_submit_int_msg() argument
1649 return _ehci_submit_int_msg(udev, pipe, buffer, length, interval, in ehci_submit_int_msg()
1655 int elementsize, void *buffer, int interval) in ehci_create_int_queue() argument
1659 buffer, interval); in ehci_create_int_queue()