Lines Matching defs:snd_usb_audio
24 struct snd_usb_audio { struct
25 int index;
26 struct usb_device *dev;
27 struct snd_card *card;
28 struct usb_interface *intf[MAX_CARD_INTERFACES];
29 u32 usb_id;
30 struct mutex mutex;
31 unsigned int system_suspend;
32 atomic_t active;
33 atomic_t shutdown;
34 atomic_t usage_count;
35 wait_queue_head_t shutdown_wait;
36 unsigned int txfr_quirk:1; /* Subframe boundaries on transfers */
37 unsigned int tx_length_quirk:1; /* Put length specifier in transfers */
38 unsigned int setup_fmt_after_resume_quirk:1; /* setup the format to interface after resume */
39 unsigned int need_delayed_register:1; /* warn for delayed registration */
40 int num_interfaces;
41 int num_suspended_intf;
42 int sample_rate_read_error;
44 int badd_profile; /* UAC3 BADD profile */
46 struct list_head pcm_list; /* list of pcm streams */
47 struct list_head ep_list; /* list of audio-related endpoints */
48 int pcm_devs;
50 struct list_head midi_list; /* list of midi interfaces */
52 struct list_head mixer_list; /* list of mixer interfaces */
54 int setup; /* from the 'device_setup' module param */
55 bool autoclock; /* from the 'autoclock' module param */
56 bool keep_iface; /* keep interface/altset after closing
60 struct usb_host_interface *ctrl_intf; /* the audio control interface */
61 struct media_device *media_dev;
62 struct media_intf_devnode *ctl_intf_media_devnode;