Lines Matching defs:snd_usb_endpoint

53 struct snd_usb_endpoint {  struct
67 struct snd_usb_endpoint *sync_master; argument
68 struct snd_usb_endpoint *sync_slave; argument
70 struct snd_urb_ctx urb[MAX_URBS];
72 struct snd_usb_packet_info {
75 } next_packet[MAX_URBS];
76 int next_packet_read_pos, next_packet_write_pos;
77 struct list_head ready_playback_urbs;
79 unsigned int nurbs; /* # urbs */
80 unsigned long active_mask; /* bitmask of active urbs */
81 unsigned long unlink_mask; /* bitmask of unlinked urbs */
82 char *syncbuf; /* sync buffer for all sync URBs */
83 dma_addr_t sync_dma; /* DMA address of syncbuf */
85 unsigned int pipe; /* the data i/o pipe */
86 unsigned int freqn; /* nominal sampling rate in fs/fps in Q16.16 format */
87 unsigned int freqm; /* momentary sampling rate in fs/fps in Q16.16 format */
88 int freqshift; /* how much to shift the feedback value to get Q16.16 */
89 unsigned int freqmax; /* maximum sampling rate, used for buffer management */
90 unsigned int phase; /* phase accumulator */
91 unsigned int maxpacksize; /* max packet size in bytes */
92 unsigned int maxframesize; /* max packet size in frames */
93 unsigned int max_urb_frames; /* max URB size in frames */
94 unsigned int curpacksize; /* current packet size in bytes (for capture) */
95 unsigned int curframesize; /* current packet size in frames (for capture) */
96 unsigned int syncmaxsize; /* sync endpoint packet size */
97 unsigned int fill_max:1; /* fill max packet size always */
98 unsigned int tenor_fb_quirk:1; /* corrupted feedback data */
99 unsigned int datainterval; /* log_2 of data packet interval */
100 unsigned int syncinterval; /* P for adaptive mode, 0 otherwise */
101 unsigned char silence_value;
102 unsigned int stride;
103 int iface, altsetting;
104 int skip_packets; /* quirks for devices to ignore the first n packets
107 spinlock_t lock;
108 struct list_head list;