Lines Matching refs:iface

398  * @iface:   USB interface to link to
410 int i2400mu_probe(struct usb_interface *iface,
415 struct device *dev = &iface->dev;
418 struct usb_device *usb_dev = interface_to_usbdev(iface);
420 if (iface->cur_altsetting->desc.bNumEndpoints < 4)
440 i2400mu->usb_iface = iface;
441 usb_set_intfdata(iface, i2400mu);
490 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */
505 usb_set_intfdata(iface, NULL);
521 void i2400mu_disconnect(struct usb_interface *iface)
523 struct i2400mu *i2400mu = usb_get_intfdata(iface);
526 struct device *dev = &iface->dev;
528 d_fnstart(3, dev, "(iface %p i2400m %p)\n", iface, i2400m);
532 usb_set_intfdata(iface, NULL);
535 d_fnend(3, dev, "(iface %p i2400m %p) = void\n", iface, i2400m);
578 int i2400mu_suspend(struct usb_interface *iface, pm_message_t pm_msg)
581 struct device *dev = &iface->dev;
582 struct i2400mu *i2400mu = usb_get_intfdata(iface);
591 d_fnstart(3, dev, "(iface %p pm_msg %u)\n", iface, pm_msg.event);
631 d_fnend(3, dev, "(iface %p pm_msg %u) = %d\n",
632 iface, pm_msg.event, result);
638 int i2400mu_resume(struct usb_interface *iface)
641 struct device *dev = &iface->dev;
642 struct i2400mu *i2400mu = usb_get_intfdata(iface);
645 d_fnstart(3, dev, "(iface %p)\n", iface);
657 d_fnend(3, dev, "(iface %p) = %d\n", iface, ret);
663 int i2400mu_reset_resume(struct usb_interface *iface)
666 struct device *dev = &iface->dev;
667 struct i2400mu *i2400mu = usb_get_intfdata(iface);
670 d_fnstart(3, dev, "(iface %p)\n", iface);
672 d_fnend(3, dev, "(iface %p) = %d\n", iface, result);
686 int i2400mu_pre_reset(struct usb_interface *iface)
688 struct i2400mu *i2400mu = usb_get_intfdata(iface);
701 int i2400mu_post_reset(struct usb_interface *iface)
703 struct i2400mu *i2400mu = usb_get_intfdata(iface);