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
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
157 usb_free_coherent(iphone->udev, iphone->rx_buf_len, iphone->rx_buf, in ipheth_free_urbs()
158 iphone->rx_urb->transfer_dma); in ipheth_free_urbs()
159 usb_free_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, iphone->tx_buf, in ipheth_free_urbs()
160 iphone->tx_urb->transfer_dma); in ipheth_free_urbs()
161 usb_free_urb(iphone->rx_urb); in ipheth_free_urbs()
162 usb_free_urb(iphone->tx_urb); in ipheth_free_urbs()
289 /* iPhone may periodically send URBs with no payload in ipheth_rcvbulk_callback()
636 dev_info(&intf->dev, "Apple iPhone USB Ethernet device attached\n"); in ipheth_probe()
663 dev_info(&intf->dev, "Apple iPhone USB Ethernet now disconnected\n"); in ipheth_disconnect()
677 MODULE_DESCRIPTION("Apple iPhone USB Ethernet driver");