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
123 static int ipheth_alloc_urbs(struct ipheth_device *iphone) in ipheth_alloc_urbs() argument
138 tx_buf = usb_alloc_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, in ipheth_alloc_urbs()
143 rx_buf = usb_alloc_coherent(iphone->udev, iphone->rx_buf_len, in ipheth_alloc_urbs()
149 iphone->tx_urb = tx_urb; in ipheth_alloc_urbs()
150 iphone->rx_urb = rx_urb; in ipheth_alloc_urbs()
151 iphone->tx_buf = tx_buf; in ipheth_alloc_urbs()
152 iphone->rx_buf = rx_buf; in ipheth_alloc_urbs()
156 usb_free_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, tx_buf, in ipheth_alloc_urbs()
166 static void ipheth_free_urbs(struct ipheth_device *iphone) in ipheth_free_urbs() argument
168 usb_free_coherent(iphone->udev, iphone->rx_buf_len, iphone->rx_buf, in ipheth_free_urbs()
169 iphone->rx_urb->transfer_dma); in ipheth_free_urbs()
170 usb_free_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, iphone->tx_buf, in ipheth_free_urbs()
171 iphone->tx_urb->transfer_dma); in ipheth_free_urbs()
172 usb_free_urb(iphone->rx_urb); in ipheth_free_urbs()
173 usb_free_urb(iphone->tx_urb); in ipheth_free_urbs()
310 /* iPhone may periodically send URBs with no payload in ipheth_rcvbulk_callback()
657 dev_info(&intf->dev, "Apple iPhone USB Ethernet device attached\n"); in ipheth_probe()
684 dev_info(&intf->dev, "Apple iPhone USB Ethernet now disconnected\n"); in ipheth_disconnect()
698 MODULE_DESCRIPTION("Apple iPhone USB Ethernet driver");