Lines Matching defs:snd_usb_endpoint

62 struct snd_usb_endpoint {  struct
83 struct snd_usb_endpoint *sync_source; argument
84 struct snd_usb_endpoint *sync_sink; argument
86 struct snd_urb_ctx urb[MAX_URBS];
88 struct snd_usb_packet_info {
91 } next_packet[MAX_URBS];
92 unsigned int next_packet_head; /* ring buffer offset to read */
93 unsigned int next_packet_queued; /* queued items in the ring buffer */
94 struct list_head ready_playback_urbs; /* playback URB FIFO for implicit fb */
96 unsigned int nurbs; /* # urbs */
97 unsigned int nominal_queue_size; /* total buffer sizes in URBs */
98 unsigned long active_mask; /* bitmask of active urbs */
99 unsigned long unlink_mask; /* bitmask of unlinked urbs */
100 char *syncbuf; /* sync buffer for all sync URBs */
101 dma_addr_t sync_dma; /* DMA address of syncbuf */
103 unsigned int pipe; /* the data i/o pipe */
104 unsigned int packsize[2]; /* small/large packet sizes in samples */
105 unsigned int sample_rem; /* remainder from division fs/pps */
106 unsigned int sample_accum; /* sample accumulator */
107 unsigned int pps; /* packets per second */
108 unsigned int freqn; /* nominal sampling rate in fs/fps in Q16.16 format */
109 unsigned int freqm; /* momentary sampling rate in fs/fps in Q16.16 format */
110 int freqshift; /* how much to shift the feedback value to get Q16.16 */
111 unsigned int freqmax; /* maximum sampling rate, used for buffer management */
112 unsigned int phase; /* phase accumulator */
113 unsigned int maxpacksize; /* max packet size in bytes */
114 unsigned int maxframesize; /* max packet size in frames */
115 unsigned int max_urb_frames; /* max URB size in frames */
116 unsigned int curpacksize; /* current packet size in bytes (for capture) */
117 unsigned int curframesize; /* current packet size in frames (for capture) */
118 unsigned int syncmaxsize; /* sync endpoint packet size */
119 unsigned int fill_max:1; /* fill max packet size always */
120 unsigned int tenor_fb_quirk:1; /* corrupted feedback data */
121 unsigned int datainterval; /* log_2 of data packet interval */
122 unsigned int syncinterval; /* P for adaptive mode, 0 otherwise */
123 unsigned char silence_value;
124 unsigned int stride;
125 int skip_packets; /* quirks for devices to ignore the first n packets
127 bool implicit_fb_sync; /* syncs with implicit feedback */
128 bool need_setup; /* (re-)need for configure? */
131 const struct audioformat *cur_audiofmt;
132 unsigned int cur_rate;
133 snd_pcm_format_t cur_format;
134 unsigned int cur_channels;
135 unsigned int cur_frame_bytes;
136 unsigned int cur_period_frames;
137 unsigned int cur_period_bytes;
138 unsigned int cur_buffer_periods;
140 spinlock_t lock;
141 struct list_head list;