Lines Matching defs:xillyusb_channel
117 struct xillyusb_channel { struct
118 struct xillyusb_dev *xdev;
120 struct xillyfifo *in_fifo;
121 struct xillyusb_endpoint *out_ep;
122 struct mutex lock; /* protect @out_ep, @in_fifo, bit fields below */
124 struct mutex in_mutex; /* serialize fops on FPGA to host stream */
125 struct mutex out_mutex; /* serialize fops on host to FPGA stream */
126 wait_queue_head_t flushq;
128 int chan_idx;
130 u32 in_consumed_bytes;
131 u32 in_current_checkpoint;
132 u32 out_bytes;
134 unsigned int in_log2_element_size;
135 unsigned int out_log2_element_size;
136 unsigned int in_log2_fifo_size;
137 unsigned int out_log2_fifo_size;
139 unsigned int read_data_ok; /* EOF not arrived (yet) */
140 unsigned int poll_used;
164 struct xillyusb_channel *channels; argument