Home
last modified time | relevance | path

Searched refs:IPHETH_IP_ALIGN (Results 1 – 1 of 1) sorted by relevance

/drivers/net/usb/
Dipheth.c63 #define IPHETH_IP_ALIGN 2 /* padding at front of URB */ macro
124 rx_buf = usb_alloc_coherent(iphone->udev, IPHETH_BUF_SIZE + IPHETH_IP_ALIGN, in ipheth_alloc_urbs()
149 usb_free_coherent(iphone->udev, IPHETH_BUF_SIZE + IPHETH_IP_ALIGN, iphone->rx_buf, in ipheth_free_urbs()
190 if (urb->actual_length <= IPHETH_IP_ALIGN) { in ipheth_rcvbulk_callback()
194 len = urb->actual_length - IPHETH_IP_ALIGN; in ipheth_rcvbulk_callback()
195 buf = urb->transfer_buffer + IPHETH_IP_ALIGN; in ipheth_rcvbulk_callback()
320 dev->rx_buf, IPHETH_BUF_SIZE + IPHETH_IP_ALIGN, in ipheth_rx_submit()