Lines Matching defs:snd_usb_endpoint

56 struct snd_usb_endpoint {  struct
70 struct snd_usb_endpoint *sync_master; argument
71 struct snd_usb_endpoint *sync_slave; argument
73 struct snd_urb_ctx urb[MAX_URBS];
75 struct snd_usb_packet_info {
78 } next_packet[MAX_URBS];
79 int next_packet_read_pos, next_packet_write_pos;
80 struct list_head ready_playback_urbs;
82 unsigned int nurbs; /* # urbs */
83 unsigned long active_mask; /* bitmask of active urbs */
84 unsigned long unlink_mask; /* bitmask of unlinked urbs */
85 char *syncbuf; /* sync buffer for all sync URBs */
86 dma_addr_t sync_dma; /* DMA address of syncbuf */
88 unsigned int pipe; /* the data i/o pipe */
89 unsigned int packsize[2]; /* small/large packet sizes in samples */
90 unsigned int sample_rem; /* remainder from division fs/pps */
91 unsigned int sample_accum; /* sample accumulator */
92 unsigned int pps; /* packets per second */
93 unsigned int freqn; /* nominal sampling rate in fs/fps in Q16.16 format */
94 unsigned int freqm; /* momentary sampling rate in fs/fps in Q16.16 format */
95 int freqshift; /* how much to shift the feedback value to get Q16.16 */
96 unsigned int freqmax; /* maximum sampling rate, used for buffer management */
97 unsigned int phase; /* phase accumulator */
98 unsigned int maxpacksize; /* max packet size in bytes */
99 unsigned int maxframesize; /* max packet size in frames */
100 unsigned int max_urb_frames; /* max URB size in frames */
101 unsigned int curpacksize; /* current packet size in bytes (for capture) */
102 unsigned int curframesize; /* current packet size in frames (for capture) */
103 unsigned int syncmaxsize; /* sync endpoint packet size */
104 unsigned int fill_max:1; /* fill max packet size always */
105 unsigned int tenor_fb_quirk:1; /* corrupted feedback data */
106 unsigned int datainterval; /* log_2 of data packet interval */
107 unsigned int syncinterval; /* P for adaptive mode, 0 otherwise */
108 unsigned char silence_value;
109 unsigned int stride;
110 int iface, altsetting;
111 int skip_packets; /* quirks for devices to ignore the first n packets
113 bool is_implicit_feedback; /* This endpoint is used as implicit feedback */
115 spinlock_t lock;
116 struct list_head list;