Lines Matching full:iphone
2 * ipheth.c - Apple iPhone USB Ethernet driver
41 * Attention: iPhone device must be paired, otherwise it won't respond to our
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->udev, IPHETH_BUF_SIZE + IPHETH_IP_ALIGN, iphone->rx_buf, in ipheth_free_urbs()
150 iphone->rx_urb->transfer_dma); in ipheth_free_urbs()
151 usb_free_coherent(iphone->udev, IPHETH_BUF_SIZE, iphone->tx_buf, in ipheth_free_urbs()
152 iphone->tx_urb->transfer_dma); in ipheth_free_urbs()
153 usb_free_urb(iphone->rx_urb); in ipheth_free_urbs()
154 usb_free_urb(iphone->tx_urb); in ipheth_free_urbs()
506 dev_info(&intf->dev, "Apple iPhone USB Ethernet device attached\n"); in ipheth_probe()
533 dev_info(&intf->dev, "Apple iPhone USB Ethernet now disconnected\n"); in ipheth_disconnect()
547 MODULE_DESCRIPTION("Apple iPhone USB Ethernet driver");