Lines Matching refs:intf
92 struct usb_interface *intf[INTF_COUNT]; member
470 alts = ua->intf[intf_index]->cur_altsetting; in enable_iso_interface()
488 if (!ua->intf[intf_index]) in disable_iso_interface()
491 alts = ua->intf[intf_index]->cur_altsetting; in disable_iso_interface()
978 fmt_capture = find_format_descriptor(ua->intf[INTF_CAPTURE]); in detect_usb_format()
979 fmt_playback = find_format_descriptor(ua->intf[INTF_PLAYBACK]); in detect_usb_format()
1034 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1042 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1160 struct usb_interface *intf; in free_usb_related_resources() local
1169 for (i = 0; i < ARRAY_SIZE(ua->intf); ++i) { in free_usb_related_resources()
1171 intf = ua->intf[i]; in free_usb_related_resources()
1172 ua->intf[i] = NULL; in free_usb_related_resources()
1174 if (intf) { in free_usb_related_resources()
1175 usb_set_intfdata(intf, NULL); in free_usb_related_resources()
1176 if (intf != interface) in free_usb_related_resources()
1178 intf); in free_usb_related_resources()
1258 ua->intf[0] = interface; in ua101_probe()
1259 for (i = 1; i < ARRAY_SIZE(ua->intf); ++i) { in ua101_probe()
1260 ua->intf[i] = usb_ifnum_to_if(ua->dev, in ua101_probe()
1262 if (!ua->intf[i]) { in ua101_probe()
1269 ua->intf[i], ua); in ua101_probe()
1271 ua->intf[i] = NULL; in ua101_probe()
1312 err = snd_usbmidi_create(card, ua->intf[INTF_MIDI], in ua101_probe()