Home
last modified time | relevance | path

Searched refs:ifnum (Results 1 – 9 of 9) sorted by relevance

/sound/usb/
Dquirks-table.h44 .ifnum = 0,
53 .ifnum = 1,
91 .ifnum = QUIRK_ANY_INTERFACE,
95 .ifnum = 2,
99 .ifnum = 3,
118 .ifnum = -1
134 .ifnum = QUIRK_ANY_INTERFACE,
139 .ifnum = 0,
144 .ifnum = 1,
149 .ifnum = 2,
[all …]
Dimplicit.c37 #define IMPLICIT_FB_FIXED_DEV(vend, prod, ep, ifnum) \ argument
39 .iface = (ifnum) }
40 #define IMPLICIT_FB_BOTH_DEV(vend, prod, ep, ifnum) \ argument
42 .iface = (ifnum) }
83 int ep, int ep_idx, int ifnum, in add_implicit_fb_sync_ep() argument
89 iface = usb_ifnum_to_if(chip->dev, ifnum); in add_implicit_fb_sync_ep()
96 fmt->sync_iface = ifnum; in add_implicit_fb_sync_ep()
111 unsigned int ifnum, in add_generic_uac2_implicit_fb() argument
117 alts = snd_usb_get_host_interface(chip, ifnum, altsetting); in add_generic_uac2_implicit_fb()
131 ifnum, alts); in add_generic_uac2_implicit_fb()
Dcard.c748 int ifnum; in usb_audio_probe() local
752 ifnum = get_iface_desc(alts)->bInterfaceNumber; in usb_audio_probe()
757 if (quirk && quirk->ifnum >= 0 && ifnum != quirk->ifnum) in usb_audio_probe()
759 if (quirk && quirk->ifnum == QUIRK_NODEV_INTERFACE) in usb_audio_probe()
846 if (quirk && quirk->ifnum != QUIRK_NO_INTERFACE) { in usb_audio_probe()
855 err = snd_usb_create_streams(chip, ifnum); in usb_audio_probe()
858 err = snd_usb_create_mixer(chip, ifnum); in usb_audio_probe()
866 chip->usb_id, ifnum); in usb_audio_probe()
873 if (!snd_usb_registration_quirk(chip, ifnum) && in usb_audio_probe()
874 !check_delayed_register_option(chip, ifnum)) { in usb_audio_probe()
Dquirks.c41 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk()
42 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk()
45 if (quirk->ifnum != probed_ifnum && in create_composite_quirk()
53 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk()
54 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk()
57 if (quirk->ifnum != probed_ifnum && in create_composite_quirk()
395 int ifcount, ifnum, err; in create_autodetect_quirks() local
406 for (ifnum = 0; ifnum < ifcount; ifnum++) { in create_autodetect_quirks()
407 if (ifnum == probed_ifnum || quirk->ifnum >= 0) in create_autodetect_quirks()
409 iface = usb_ifnum_to_if(chip->dev, ifnum); in create_autodetect_quirks()
[all …]
Dhelper.c125 snd_usb_get_host_interface(struct snd_usb_audio *chip, int ifnum, int altsetting) in snd_usb_get_host_interface() argument
129 iface = usb_ifnum_to_if(chip->dev, ifnum); in snd_usb_get_host_interface()
Dhelper.h18 snd_usb_get_host_interface(struct snd_usb_audio *chip, int ifnum, int altsetting);
Dusbaudio.h119 int16_t ifnum; member
/sound/usb/usx2y/
DusX2Yhwdep.c130 .ifnum = 0, in usx2y_create_usbmidi()
143 .ifnum = 0, in usx2y_create_usbmidi()
Dus122l.c52 .ifnum = 1, in us122l_create_usbmidi()
74 .ifnum = 0, in us144_create_usbmidi()