Lines Matching full:iface

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