Lines Matching defs:gspca_dev
158 struct gspca_dev { struct
159 struct video_device vdev; /* !! must be the first item */
160 struct module *module; /* subdriver handling the device */
161 struct usb_device *dev;
162 struct file *capt_file; /* file doing video capture */
164 struct input_dev *input_dev;
165 char phys[64]; /* physical device path */
168 struct cam cam; /* device information */
169 const struct sd_desc *sd_desc; /* subdriver description */
170 unsigned ctrl_dis; /* disabled controls (bit map) */
171 unsigned ctrl_inac; /* inactive controls (bit map) */
174 __u8 *usb_buf; /* buffer for USB exchanges */
175 struct urb *urb[MAX_NURBS];
177 struct urb *int_urb;
180 __u8 *frbuf; /* buffer for nframes */
181 struct gspca_frame frame[GSPCA_MAX_FRAMES];
182 u8 *image; /* image beeing filled */
183 __u32 frsz; /* frame size */
184 u32 image_len; /* current length of image */
185 atomic_t fr_q; /* next frame to queue */
186 atomic_t fr_i; /* frame being filled */
187 signed char fr_queue[GSPCA_MAX_FRAMES]; /* frame queue */
188 char nframes; /* number of frames */
189 u8 fr_o; /* next frame to dequeue */
190 __u8 last_packet_type;
191 __s8 empty_packet; /* if (-1) don't check empty packets */
192 __u8 streaming;
216 int gspca_dev_probe(struct usb_interface *intf, argument
227 void gspca_frame_add(struct gspca_dev *gspca_dev, argument