Lines Matching defs:mdc800_data
124 struct mdc800_data struct
126 struct usb_device * dev; // Device Data
127 mdc800_state state;
129 unsigned int endpoint [4];
131 struct urb * irq_urb;
132 wait_queue_head_t irq_wait;
133 int irq_woken;
134 char* irq_urb_buffer;
136 int camera_busy; // is camera busy ?
137 int camera_request_ready; // Status to synchronize with irq
138 char camera_response [8]; // last Bytes send after busy
140 struct urb * write_urb;
141 char* write_urb_buffer;
142 wait_queue_head_t write_wait;
143 int written;
146 struct urb * download_urb;
147 char* download_urb_buffer;
148 wait_queue_head_t download_wait;
149 int downloaded;
150 int download_left; // Bytes left to download ?
154 char out [64]; // Answer Buffer
155 int out_ptr; // Index to the first not readen byte
156 int out_count; // Bytes in the buffer
158 int open; // Camera device open ?
159 struct mutex io_lock; // IO -lock
161 char in [8]; // Command Input Buffer
162 int in_count;
164 int pic_index; // Cache for the Imagesize (-1 for nothing cached )
165 int pic_len;
166 int minor;