Lines Matching defs:gspca_dev
139 struct gspca_dev { struct
140 struct video_device vdev; /* !! must be the first item */
141 struct module *module; /* subdriver handling the device */
142 struct v4l2_device v4l2_dev;
143 struct usb_device *dev;
144 struct file *capt_file; /* file doing video capture */
147 struct input_dev *input_dev;
148 char phys[64]; /* physical device path */
151 struct cam cam; /* device information */
152 const struct sd_desc *sd_desc; /* subdriver description */
153 struct v4l2_ctrl_handler ctrl_handler;
157 struct {
165 __u8 *usb_buf; /* buffer for USB exchanges */
166 struct urb *urb[MAX_NURBS];
168 struct urb *int_urb;
171 __u8 *frbuf; /* buffer for nframes */
172 struct gspca_frame frame[GSPCA_MAX_FRAMES];
173 u8 *image; /* image beeing filled */
174 __u32 frsz; /* frame size */
175 u32 image_len; /* current length of image */
176 atomic_t fr_q; /* next frame to queue */
177 atomic_t fr_i; /* frame being filled */
178 signed char fr_queue[GSPCA_MAX_FRAMES]; /* frame queue */
179 char nframes; /* number of frames */
180 u8 fr_o; /* next frame to dequeue */
181 __u8 last_packet_type;
182 __s8 empty_packet; /* if (-1) don't check empty packets */
183 __u8 streaming; /* protected by both mutexes (*) */
185 __u8 curr_mode; /* current camera mode */
186 __u32 pixfmt; /* current mode parameters */
187 __u16 width;
211 int gspca_dev_probe(struct usb_interface *intf, argument
222 void gspca_frame_add(struct gspca_dev *gspca_dev, argument