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