Lines Matching defs:lego_usb_tower
194 struct lego_usb_tower { struct
195 struct mutex lock; /* locks this structure */
196 struct usb_device* udev; /* save off the usb device pointer */
197 unsigned char minor; /* the starting minor number for this device */
199 int open_count; /* number of times this port has been opened */
201 char* read_buffer;
202 size_t read_buffer_length; /* this much came in */
203 size_t read_packet_length; /* this much will be returned on read */
204 spinlock_t read_buffer_lock;
205 int packet_timeout_jiffies;
206 unsigned long read_last_arrival;
230 static inline void tower_delete (struct lego_usb_tower *dev); argument