Lines Matching refs:intf

36 	struct usb_interface *intf;  member
724 err = usb_lock_device_for_reset(udev, devinfo->intf); in uas_eh_bus_reset_handler()
849 struct usb_interface *intf) in uas_switch_interface() argument
853 alt = uas_find_uas_alt_setting(intf); in uas_switch_interface()
858 intf->altsetting[0].desc.bInterfaceNumber, alt); in uas_switch_interface()
867 r = uas_find_endpoints(devinfo->intf->cur_altsetting, eps); in uas_configure_endpoints()
884 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints()
902 usb_free_streams(devinfo->intf, eps, 3, GFP_NOIO); in uas_free_streams()
905 static int uas_probe(struct usb_interface *intf, const struct usb_device_id *id) in uas_probe() argument
910 struct usb_device *udev = interface_to_usbdev(intf); in uas_probe()
913 if (!uas_use_uas_driver(intf, id, &dev_flags)) in uas_probe()
916 if (uas_switch_interface(udev, intf)) in uas_probe()
931 devinfo->intf = intf; in uas_probe()
952 usb_set_intfdata(intf, shost); in uas_probe()
953 result = scsi_add_host(shost, &intf->dev); in uas_probe()
962 usb_set_intfdata(intf, NULL); in uas_probe()
964 usb_set_interface(udev, intf->altsetting[0].desc.bInterfaceNumber, 0); in uas_probe()
1018 static int uas_pre_reset(struct usb_interface *intf) in uas_pre_reset() argument
1020 struct Scsi_Host *shost = usb_get_intfdata(intf); in uas_pre_reset()
1043 static int uas_post_reset(struct usb_interface *intf) in uas_post_reset() argument
1045 struct Scsi_Host *shost = usb_get_intfdata(intf); in uas_post_reset()
1070 static int uas_suspend(struct usb_interface *intf, pm_message_t message) in uas_suspend() argument
1072 struct Scsi_Host *shost = usb_get_intfdata(intf); in uas_suspend()
1083 static int uas_resume(struct usb_interface *intf) in uas_resume() argument
1088 static int uas_reset_resume(struct usb_interface *intf) in uas_reset_resume() argument
1090 struct Scsi_Host *shost = usb_get_intfdata(intf); in uas_reset_resume()
1110 static void uas_disconnect(struct usb_interface *intf) in uas_disconnect() argument
1112 struct Scsi_Host *shost = usb_get_intfdata(intf); in uas_disconnect()
1138 struct usb_interface *intf = to_usb_interface(dev); in uas_shutdown() local
1139 struct usb_device *udev = interface_to_usbdev(intf); in uas_shutdown()
1140 struct Scsi_Host *shost = usb_get_intfdata(intf); in uas_shutdown()
1148 usb_set_interface(udev, intf->altsetting[0].desc.bInterfaceNumber, 0); in uas_shutdown()