Lines Matching refs:intf
1119 static int pegasus_probe(struct usb_interface *intf, in pegasus_probe() argument
1122 struct usb_device *dev = interface_to_usbdev(intf); in pegasus_probe()
1147 dev_err(&intf->dev, "can't allocate %s\n", "urbs"); in pegasus_probe()
1155 pegasus->intf = intf; in pegasus_probe()
1174 dev_err(&intf->dev, "can't reset MAC\n"); in pegasus_probe()
1180 dev_info(&intf->dev, "setup Pegasus II specific registers\n"); in pegasus_probe()
1185 dev_warn(&intf->dev, "can't locate MII phy, using default\n"); in pegasus_probe()
1189 usb_set_intfdata(intf, pegasus); in pegasus_probe()
1190 SET_NETDEV_DEV(net, &intf->dev); in pegasus_probe()
1197 dev_info(&intf->dev, "%s, %s, %pM\n", net->name, in pegasus_probe()
1202 usb_set_intfdata(intf, NULL); in pegasus_probe()
1212 static void pegasus_disconnect(struct usb_interface *intf) in pegasus_disconnect() argument
1214 struct pegasus *pegasus = usb_get_intfdata(intf); in pegasus_disconnect()
1216 usb_set_intfdata(intf, NULL); in pegasus_disconnect()
1218 dev_dbg(&intf->dev, "unregistering non-bound device?\n"); in pegasus_disconnect()
1235 static int pegasus_suspend(struct usb_interface *intf, pm_message_t message) in pegasus_suspend() argument
1237 struct pegasus *pegasus = usb_get_intfdata(intf); in pegasus_suspend()
1248 static int pegasus_resume(struct usb_interface *intf) in pegasus_resume() argument
1250 struct pegasus *pegasus = usb_get_intfdata(intf); in pegasus_resume()