Lines Matching defs:gspca_dev
145 struct gspca_dev { struct
146 struct video_device vdev; /* !! must be the first item */
147 struct module *module; /* subdriver handling the device */
148 struct v4l2_device v4l2_dev;
149 struct usb_device *dev;
150 struct file *capt_file; /* file doing video capture */
153 struct input_dev *input_dev;
154 char phys[64]; /* physical device path */
157 struct cam cam; /* device information */
158 const struct sd_desc *sd_desc; /* subdriver description */
159 struct v4l2_ctrl_handler ctrl_handler;
163 struct {
171 __u8 *usb_buf; /* buffer for USB exchanges */
172 struct urb *urb[MAX_NURBS];
174 struct urb *int_urb;
177 __u8 *frbuf; /* buffer for nframes */
178 struct gspca_frame frame[GSPCA_MAX_FRAMES];
179 u8 *image; /* image beeing filled */
180 __u32 frsz; /* frame size */
181 u32 image_len; /* current length of image */
182 atomic_t fr_q; /* next frame to queue */
183 atomic_t fr_i; /* frame being filled */
184 signed char fr_queue[GSPCA_MAX_FRAMES]; /* frame queue */
185 char nframes; /* number of frames */
186 u8 fr_o; /* next frame to dequeue */
187 __u8 last_packet_type;
188 __s8 empty_packet; /* if (-1) don't check empty packets */
189 __u8 streaming; /* protected by both mutexes (*) */
191 __u8 curr_mode; /* current camera mode */
192 struct v4l2_pix_format pixfmt; /* current mode parameters */
216 int gspca_dev_probe(struct usb_interface *intf, argument
227 void gspca_frame_add(struct gspca_dev *gspca_dev, argument