Lines Matching refs:intf
347 static int speedtch_find_firmware(struct usbatm_data *usbatm, struct usb_interface *intf,
350 struct device *dev = &intf->dev;
351 const u16 bcdDevice = le16_to_cpu(interface_to_usbdev(intf)->descriptor.bcdDevice);
379 static int speedtch_heavy_init(struct usbatm_data *usbatm, struct usb_interface *intf)
385 if ((ret = speedtch_find_firmware(usbatm, intf, 1, &fw1)) < 0)
388 if ((ret = speedtch_find_firmware(usbatm, intf, 2, &fw2)) < 0) {
713 static int speedtch_pre_reset(struct usb_interface *intf)
718 static int speedtch_post_reset(struct usb_interface *intf)
762 struct usb_interface *intf,
765 struct usb_device *usb_dev = interface_to_usbdev(intf);
768 int ifnum = intf->altsetting->desc.bInterfaceNumber;
908 static void speedtch_unbind(struct usbatm_data *usbatm, struct usb_interface *intf)
910 struct usb_device *usb_dev = interface_to_usbdev(intf);
937 static int speedtch_usb_probe(struct usb_interface *intf, const struct usb_device_id *id)
939 return usbatm_usb_probe(intf, id, &speedtch_usbatm_driver);