Lines Matching defs:snd_usb_endpoint

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