Lines Matching defs:xillyusb_dev
163 struct xillyusb_dev { struct
164 struct xillyusb_channel *channels;
166 struct usb_device *udev;
167 struct device *dev; /* For dev_err() and such */
168 struct kref kref;
169 struct workqueue_struct *workq;
171 int error;
172 spinlock_t error_lock; /* protect @error */
173 struct work_struct wakeup_workitem;
175 int num_channels;
177 struct xillyusb_endpoint *msg_ep;
178 struct xillyusb_endpoint *in_ep;
180 struct mutex msg_mutex; /* serialize opcode transmission */
181 int in_bytes_left;
182 int leftover_chan_num;
183 unsigned int in_counter;
184 struct mutex process_in_mutex; /* synchronize wakeup_all() */