Lines Matching +full:pcm +full:- +full:interface +full:- +full:rate

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 /* handling of USB vendor/product ID pairs as 32-bit numbers */
25 * Structure holding assosiation between Audio Control Interface
26 * and given Streaming or Midi Interface.
29 u8 interface; member
55 struct list_head pcm_list; /* list of pcm streams */
56 struct list_head ep_list; /* list of audio-related endpoints */
57 struct list_head iface_ref_list; /* list of interface refcounts */
72 struct usb_host_interface *ctrl_intf; /* the audio control interface */
80 #define USB_AUDIO_IFACE_UNUSED ((void *)-1L)
83 dev_err(&(chip)->dev->dev, fmt, ##args)
85 dev_err_ratelimited(&(chip)->dev->dev, fmt, ##args)
87 dev_warn(&(chip)->dev->dev, fmt, ##args)
89 dev_info(&(chip)->dev->dev, fmt, ##args)
91 dev_dbg(&(chip)->dev->dev, fmt, ##args)
98 #define QUIRK_NODEV_INTERFACE -3 /* return -ENODEV */
99 #define QUIRK_NO_INTERFACE -2
100 #define QUIRK_ANY_INTERFACE -1
142 /* auto-cleanup */
157 if (!lock->err) in __snd_usb_unlock_shutdown()
158 snd_usb_unlock_shutdown(lock->chip); in __snd_usb_unlock_shutdown()
169 * Driver behavior quirk flags, stored in chip->quirk_flags
172 * Skip reading sample rate for devices, as some devices behave inconsistently
177 * Allow alignment on audio sub-slot (channel samples) rather than on audio
188 * Indicates the device is for ITF-USB DSD based DACs that need a vendor cmd
189 * to switch between PCM and native DSD mode
193 * Add a delay of 1-2ms at each control message handling
195 * Add a delay of 5-6ms at each control message handling
197 * Add a delay of 50ms at each interface setup
199 * Perform sample rate validations at probe
207 * Set up the interface at first like UAC1
213 * Don't closed interface during setting sample rate
215 * Force an interface reset whenever stopping & restarting a stream
218 * Do not set PCM rate (frequency) when only one rate is available