Home
last modified time | relevance | path

Searched refs:get_iface_desc (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/sound/usb/
H A Dhelper.h24 #define get_iface_desc(iface) (&(iface)->desc) macro
33 return get_iface_desc(chip->ctrl_intf)->bInterfaceNumber; in snd_usb_ctrl_intf()
H A Dquirks.c38 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_composite_quirk()
100 altsd = get_iface_desc(alts); in create_standard_audio_quirk()
179 if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber || in create_fixed_stream_quirk()
185 altsd = get_iface_desc(alts); in create_fixed_stream_quirk()
237 altsd = get_iface_desc(alts); in create_auto_pcm_quirk()
352 altsd = get_iface_desc(alts); in create_auto_midi_quirk()
417 altsd = get_iface_desc(alts); in create_uaxx_quirk()
1632 if (get_iface_desc(intf->altsetting)->bInterfaceClass == in snd_usb_apply_boot_quirk()
1634 get_iface_desc(intf->altsetting)->bInterfaceNumber < 3) in snd_usb_apply_boot_quirk()
H A Dcard.c154 altsd = get_iface_desc(alts); in snd_usb_create_stream()
170 altsd = get_iface_desc(alts); in snd_usb_create_stream()
230 altsd = get_iface_desc(host_iface); in snd_usb_create_streams()
787 ifnum = get_iface_desc(alts)->bInterfaceNumber; in usb_audio_probe()
H A Dmidi.c1070 intfd = get_iface_desc(hostif); in update_roland_altsetting()
1941 intfd = get_iface_desc(hostif); in snd_usbmidi_get_ms_info()
2075 intfd = get_iface_desc(hostif); in snd_usbmidi_switch_roland_altsetting()
2119 intfd = get_iface_desc(hostif); in snd_usbmidi_detect_endpoints()
2177 intfd = get_iface_desc(hostif); in snd_usbmidi_detect_yamaha()
2260 intfd = get_iface_desc(hostif); in snd_usbmidi_create_endpoints_midiman()
H A Dstream.c583 struct usb_interface_descriptor *altsd = get_iface_desc(alts); in parse_uac_endpoint_attributes()
1118 altsd = get_iface_desc(alts); in __snd_usb_parse_audio_interface()
H A Dmixer.c304 return get_iface_desc(mixer->hostif)->bInterfaceNumber; in mixer_ctrl_intf()
3107 altsd = get_iface_desc(alts); in snd_usb_mixer_controls_badd()
3539 if (get_iface_desc(mixer->hostif)->bNumEndpoints < 1) in snd_usb_mixer_status_create()
3586 switch (get_iface_desc(mixer->hostif)->bInterfaceProtocol) { in snd_usb_create_mixer()
H A Dpcm.c328 altsd = get_iface_desc(alts); in snd_usb_audioformat_set_sync_ep()
H A Dmixer_quirks.c1661 if (get_iface_desc(alts)->bNumEndpoints < 1) { in snd_microii_spdif_default_get()