Lines Matching refs:iface
829 static int atp_probe(struct usb_interface *iface, in atp_probe() argument
834 struct usb_device *udev = interface_to_usbdev(iface); in atp_probe()
843 iface_desc = iface->cur_altsetting; in atp_probe()
853 dev_err(&iface->dev, "Could not find int-in endpoint\n"); in atp_probe()
861 dev_err(&iface->dev, "Out of memory\n"); in atp_probe()
866 dev->intf = iface; in atp_probe()
895 input_dev->dev.parent = &iface->dev; in atp_probe()
926 usb_set_intfdata(iface, dev); in atp_probe()
936 usb_set_intfdata(iface, NULL); in atp_probe()
942 static void atp_disconnect(struct usb_interface *iface) in atp_disconnect() argument
944 struct atp *dev = usb_get_intfdata(iface); in atp_disconnect()
946 usb_set_intfdata(iface, NULL); in atp_disconnect()
955 dev_info(&iface->dev, "input: appletouch disconnected\n"); in atp_disconnect()
972 static int atp_suspend(struct usb_interface *iface, pm_message_t message) in atp_suspend() argument
974 struct atp *dev = usb_get_intfdata(iface); in atp_suspend()
980 static int atp_resume(struct usb_interface *iface) in atp_resume() argument
982 struct atp *dev = usb_get_intfdata(iface); in atp_resume()
990 static int atp_reset_resume(struct usb_interface *iface) in atp_reset_resume() argument
992 struct atp *dev = usb_get_intfdata(iface); in atp_reset_resume()