Lines Matching refs:intf
361 static int speedtch_find_firmware(struct usbatm_data *usbatm, struct usb_interface *intf, in speedtch_find_firmware() argument
364 struct device *dev = &intf->dev; in speedtch_find_firmware()
365 const u16 bcdDevice = le16_to_cpu(interface_to_usbdev(intf)->descriptor.bcdDevice); in speedtch_find_firmware()
393 static int speedtch_heavy_init(struct usbatm_data *usbatm, struct usb_interface *intf) in speedtch_heavy_init() argument
399 if ((ret = speedtch_find_firmware(usbatm, intf, 1, &fw1)) < 0) in speedtch_heavy_init()
402 if ((ret = speedtch_find_firmware(usbatm, intf, 2, &fw2)) < 0) { in speedtch_heavy_init()
723 static int speedtch_pre_reset(struct usb_interface *intf) in speedtch_pre_reset() argument
728 static int speedtch_post_reset(struct usb_interface *intf) in speedtch_post_reset() argument
770 struct usb_interface *intf, in speedtch_bind() argument
773 struct usb_device *usb_dev = interface_to_usbdev(intf); in speedtch_bind()
776 int ifnum = intf->altsetting->desc.bInterfaceNumber; in speedtch_bind()
921 static void speedtch_unbind(struct usbatm_data *usbatm, struct usb_interface *intf) in speedtch_unbind() argument
923 struct usb_device *usb_dev = interface_to_usbdev(intf); in speedtch_unbind()
950 static int speedtch_usb_probe(struct usb_interface *intf, const struct usb_device_id *id) in speedtch_usb_probe() argument
952 return usbatm_usb_probe(intf, id, &speedtch_usbatm_driver); in speedtch_usb_probe()