Lines Matching refs:iface
691 struct usb_interface *iface = hwarc->usb_iface; in hwarc_neep_init() local
692 struct usb_device *usb_dev = interface_to_usbdev(iface); in hwarc_neep_init()
693 struct device *dev = &iface->dev; in hwarc_neep_init()
697 epd = &iface->cur_altsetting->endpoint[0].desc; in hwarc_neep_init()
820 static int hwarc_probe(struct usb_interface *iface, in hwarc_probe() argument
826 struct device *dev = &iface->dev; in hwarc_probe()
828 if (iface->cur_altsetting->desc.bNumEndpoints < 1) in hwarc_probe()
830 if (!usb_endpoint_xfer_int(&iface->cur_altsetting->endpoint[0].desc)) in hwarc_probe()
845 hwarc->usb_dev = usb_get_dev(interface_to_usbdev(iface)); in hwarc_probe()
846 hwarc->usb_iface = usb_get_intf(iface); in hwarc_probe()
870 usb_set_intfdata(iface, hwarc); in hwarc_probe()
876 usb_put_intf(iface); in hwarc_probe()
884 static void hwarc_disconnect(struct usb_interface *iface) in hwarc_disconnect() argument
886 struct hwarc *hwarc = usb_get_intfdata(iface); in hwarc_disconnect()
897 static int hwarc_pre_reset(struct usb_interface *iface) in hwarc_pre_reset() argument
899 struct hwarc *hwarc = usb_get_intfdata(iface); in hwarc_pre_reset()
906 static int hwarc_post_reset(struct usb_interface *iface) in hwarc_post_reset() argument
908 struct hwarc *hwarc = usb_get_intfdata(iface); in hwarc_post_reset()