Lines Matching refs:intf
362 static int speedtch_find_firmware(struct usbatm_data *usbatm, struct usb_interface *intf, in speedtch_find_firmware() argument
365 struct device *dev = &intf->dev; in speedtch_find_firmware()
366 const u16 bcdDevice = le16_to_cpu(interface_to_usbdev(intf)->descriptor.bcdDevice); in speedtch_find_firmware()
394 static int speedtch_heavy_init(struct usbatm_data *usbatm, struct usb_interface *intf) in speedtch_heavy_init() argument
400 if ((ret = speedtch_find_firmware(usbatm, intf, 1, &fw1)) < 0) in speedtch_heavy_init()
403 if ((ret = speedtch_find_firmware(usbatm, intf, 2, &fw2)) < 0) { in speedtch_heavy_init()
726 static int speedtch_pre_reset(struct usb_interface *intf) in speedtch_pre_reset() argument
731 static int speedtch_post_reset(struct usb_interface *intf) in speedtch_post_reset() argument
775 struct usb_interface *intf, in speedtch_bind() argument
778 struct usb_device *usb_dev = interface_to_usbdev(intf); in speedtch_bind()
781 int ifnum = intf->altsetting->desc.bInterfaceNumber; in speedtch_bind()
927 static void speedtch_unbind(struct usbatm_data *usbatm, struct usb_interface *intf) in speedtch_unbind() argument
929 struct usb_device *usb_dev = interface_to_usbdev(intf); in speedtch_unbind()
956 static int speedtch_usb_probe(struct usb_interface *intf, const struct usb_device_id *id) in speedtch_usb_probe() argument
958 return usbatm_usb_probe(intf, id, &speedtch_usbatm_driver); in speedtch_usb_probe()