Searched refs:iphone (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | ipheth.c | 104 static int ipheth_alloc_urbs(struct ipheth_device *iphone) in ipheth_alloc_urbs() argument 119 tx_buf = usb_alloc_coherent(iphone->udev, IPHETH_BUF_SIZE, in ipheth_alloc_urbs() 124 rx_buf = usb_alloc_coherent(iphone->udev, IPHETH_BUF_SIZE + IPHETH_IP_ALIGN, in ipheth_alloc_urbs() 130 iphone->tx_urb = tx_urb; in ipheth_alloc_urbs() 131 iphone->rx_urb = rx_urb; in ipheth_alloc_urbs() 132 iphone->tx_buf = tx_buf; in ipheth_alloc_urbs() 133 iphone->rx_buf = rx_buf; in ipheth_alloc_urbs() 137 usb_free_coherent(iphone->udev, IPHETH_BUF_SIZE, tx_buf, in ipheth_alloc_urbs() 147 static void ipheth_free_urbs(struct ipheth_device *iphone) in ipheth_free_urbs() argument 149 usb_free_coherent(iphone in ipheth_free_urbs() [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | ipheth.c | 112 static int ipheth_alloc_urbs(struct ipheth_device *iphone) in ipheth_alloc_urbs() argument 127 tx_buf = usb_alloc_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, in ipheth_alloc_urbs() 132 rx_buf = usb_alloc_coherent(iphone->udev, iphone->rx_buf_len, in ipheth_alloc_urbs() 138 iphone->tx_urb = tx_urb; in ipheth_alloc_urbs() 139 iphone->rx_urb = rx_urb; in ipheth_alloc_urbs() 140 iphone->tx_buf = tx_buf; in ipheth_alloc_urbs() 141 iphone->rx_buf = rx_buf; in ipheth_alloc_urbs() 145 usb_free_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, tx_buf, in ipheth_alloc_urbs() 155 static void ipheth_free_urbs(struct ipheth_device *iphone) in ipheth_free_urbs() argument [all...] |
Completed in 3 milliseconds