Lines Matching refs:gspca_dev
91 sd->gspca_dev.cam.cam_mode = ov7660_modes; in ov7660_probe()
92 sd->gspca_dev.cam.nmodes = ARRAY_SIZE(ov7660_modes); in ov7660_probe()
126 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in ov7660_init_controls()
128 sd->gspca_dev.vdev.ctrl_handler = hdl; in ov7660_init_controls()
174 static int ov7660_set_gain(struct gspca_dev *gspca_dev, __s32 val) in ov7660_set_gain() argument
178 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_gain()
186 static int ov7660_set_auto_white_balance(struct gspca_dev *gspca_dev, in ov7660_set_auto_white_balance() argument
191 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_auto_white_balance()
205 static int ov7660_set_auto_gain(struct gspca_dev *gspca_dev, __s32 val) in ov7660_set_auto_gain() argument
209 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_auto_gain()
222 static int ov7660_set_auto_exposure(struct gspca_dev *gspca_dev, in ov7660_set_auto_exposure() argument
227 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_auto_exposure()
241 static int ov7660_set_hvflip(struct gspca_dev *gspca_dev) in ov7660_set_hvflip() argument
245 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_hvflip()
258 struct gspca_dev *gspca_dev = in ov7660_s_ctrl() local
259 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in ov7660_s_ctrl()
260 struct sd *sd = (struct sd *) gspca_dev; in ov7660_s_ctrl()
263 if (!gspca_dev->streaming) in ov7660_s_ctrl()
268 err = ov7660_set_auto_white_balance(gspca_dev, ctrl->val); in ov7660_s_ctrl()
271 err = ov7660_set_auto_exposure(gspca_dev, ctrl->val); in ov7660_s_ctrl()
274 err = ov7660_set_auto_gain(gspca_dev, ctrl->val); in ov7660_s_ctrl()
277 err = ov7660_set_gain(gspca_dev, sd->gain->val); in ov7660_s_ctrl()
280 err = ov7660_set_hvflip(gspca_dev); in ov7660_s_ctrl()