Lines Matching defs:snd_usb_audio

33 struct snd_usb_audio {  struct
34 int index;
35 struct usb_device *dev;
36 struct snd_card *card;
37 struct usb_interface *intf[MAX_CARD_INTERFACES];
38 u32 usb_id;
39 uint16_t quirk_type;
40 struct mutex mutex;
41 unsigned int system_suspend;
42 atomic_t active;
43 atomic_t shutdown;
44 atomic_t usage_count;
45 wait_queue_head_t shutdown_wait;
46 unsigned int quirk_flags;
47 unsigned int need_delayed_register:1; /* warn for delayed registration */
48 int num_interfaces;
49 int last_iface;
50 int num_suspended_intf;
51 int sample_rate_read_error;
53 int badd_profile; /* UAC3 BADD profile */
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 */
58 struct list_head clock_ref_list; /* list of clock refcounts */
59 int pcm_devs;
61 unsigned int num_rawmidis; /* number of created rawmidi devices */
62 struct list_head midi_list; /* list of midi interfaces */
63 struct list_head midi_v2_list; /* list of MIDI 2 interfaces */
65 struct list_head mixer_list; /* list of mixer interfaces */
67 int setup; /* from the 'device_setup' module param */
68 bool generic_implicit_fb; /* from the 'implicit_fb' module param */
69 bool autoclock; /* from the 'autoclock' module param */
71 bool lowlatency; /* from the 'lowlatency' module param */
72 struct usb_host_interface *ctrl_intf; /* the audio control interface */
73 struct media_device *media_dev;
74 struct media_intf_devnode *ctl_intf_media_devnode;
76 unsigned int num_intf_to_ctrl;
77 struct snd_intf_to_ctrl intf_to_ctrl[MAX_CARD_INTERFACES];