Lines Matching defs:snd_usb_endpoint

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