Lines Matching refs:intf

141 	struct usb_interface *intf;  member
236 dev_err(&dev->intf->dev, "%s: urb status: %d\n", in ipheth_rcvbulk_callback()
250 dev_err(&dev->intf->dev, "%s: dev_alloc_skb: -ENOMEM\n", in ipheth_rcvbulk_callback()
280 dev_err(&dev->intf->dev, "%s: urb status: %d\n", in ipheth_sndbulk_callback()
301 dev_err(&dev->intf->dev, "%s: usb_control_msg: %d\n", in ipheth_carrier_set()
339 dev_err(&dev->intf->dev, "%s: usb_control_msg: %d\n", in ipheth_get_macaddr()
342 dev_err(&dev->intf->dev, in ipheth_get_macaddr()
368 dev_err(&dev->intf->dev, "%s: usb_submit_urb: %d\n", in ipheth_rx_submit()
430 dev_err(&dev->intf->dev, "%s: usb_submit_urb: %d\n", in ipheth_tx()
449 dev_err(&dev->intf->dev, "%s: TX timeout\n", __func__); in ipheth_tx_timeout()
471 static int ipheth_probe(struct usb_interface *intf, in ipheth_probe() argument
474 struct usb_device *udev = interface_to_usbdev(intf); in ipheth_probe()
493 dev->intf = intf; in ipheth_probe()
496 hintf = usb_altnum_to_altsetting(intf, IPHETH_ALT_INTFNUM); in ipheth_probe()
499 dev_err(&intf->dev, "Unable to find alternate settings interface\n"); in ipheth_probe()
512 dev_err(&intf->dev, "Unable to find endpoints\n"); in ipheth_probe()
530 dev_err(&intf->dev, "error allocating urbs: %d\n", retval); in ipheth_probe()
534 usb_set_intfdata(intf, dev); in ipheth_probe()
536 SET_NETDEV_DEV(netdev, &intf->dev); in ipheth_probe()
541 dev_err(&intf->dev, "error registering netdev: %d\n", retval); in ipheth_probe()
546 dev_info(&intf->dev, "Apple iPhone USB Ethernet device attached\n"); in ipheth_probe()
560 static void ipheth_disconnect(struct usb_interface *intf) in ipheth_disconnect() argument
564 dev = usb_get_intfdata(intf); in ipheth_disconnect()
572 usb_set_intfdata(intf, NULL); in ipheth_disconnect()
573 dev_info(&intf->dev, "Apple iPhone USB Ethernet now disconnected\n"); in ipheth_disconnect()