Lines Matching defs:snd_usb_substream
111 struct snd_usb_substream { struct
112 struct snd_usb_stream *stream;
113 struct usb_device *dev;
114 struct snd_pcm_substream *pcm_substream;
115 int direction; /* playback or capture */
116 int interface; /* current interface */
117 int endpoint; /* assigned endpoint */
118 struct audioformat *cur_audiofmt; /* current audioformat pointer (for hw_params callback) */
119 struct snd_usb_power_domain *str_pd; /* UAC3 Power Domain for streaming path */
120 snd_pcm_format_t pcm_format; /* current audio format (for hw_params callback) */
121 unsigned int channels; /* current number of channels (for hw_params callback) */
122 unsigned int channels_max; /* max channels in the all audiofmts */
123 unsigned int cur_rate; /* current rate (for hw_params callback) */
124 unsigned int period_bytes; /* current period bytes (for hw_params callback) */
125 unsigned int period_frames; /* current frames per period */
126 unsigned int buffer_periods; /* current periods per buffer */
127 unsigned int altset_idx; /* USB data format: index of alternate setting */
128 unsigned int txfr_quirk:1; /* allow sub-frame alignment */
129 unsigned int tx_length_quirk:1; /* add length specifier to transfers */
130 unsigned int fmt_type; /* USB audio format type (1-3) */
131 …igned int pkt_offset_adj; /* Bytes to drop from beginning of packets (for non-compliant devices) */
133 unsigned int running: 1; /* running status */
135 unsigned int hwptr_done; /* processed byte position in the buffer */
136 unsigned int transfer_done; /* processed frames since last period update */
137 unsigned int frame_limit; /* limits number of packets in URB */
140 unsigned int ep_num; /* the endpoint number */
141 struct snd_usb_endpoint *data_endpoint;
142 struct snd_usb_endpoint *sync_endpoint;
143 unsigned long flags;
144 bool need_setup_ep; /* (re)configure EP at prepare? */
145 unsigned int speed; /* USB_SPEED_XXX */
170 struct snd_usb_substream substream[2]; argument