Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/usb/
H A 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()
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dipheth.c63 #define IPHETH_IP_ALIGN 2 /* padding at front of URB */ macro
66 #define IPHETH_RX_BUF_SIZE_LEGACY (IPHETH_IP_ALIGN + ETH_FRAME_LEN)
200 if (urb->actual_length <= IPHETH_IP_ALIGN) { in ipheth_rcvbulk_callback_legacy()
204 len = urb->actual_length - IPHETH_IP_ALIGN; in ipheth_rcvbulk_callback_legacy()
205 buf = urb->transfer_buffer + IPHETH_IP_ALIGN; in ipheth_rcvbulk_callback_legacy()
289 if (urb->actual_length <= IPHETH_IP_ALIGN) { in ipheth_rcvbulk_callback()

Completed in 2 milliseconds