other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
USB_EP_ALIGN(9) | Kernel Mode Gadget API | USB_EP_ALIGN(9) |
NAME¶
usb_ep_align - returns len aligned to ep's maxpacketsize.SYNOPSIS¶
size_t
usb_ep_align(struct usb_ep * ep,
size_t len);
ARGUMENTS¶
epthe endpoint whose maxpacketsize is used to align
len
len
buffer size's length to align to ep's
maxpacketsize
DESCRIPTION¶
This helper is used to align buffer's size to an ep's maxpacketsize.AUTHOR¶
David Brownell <dbrownell@users.sourceforge.net>Author.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |