Lines Matching refs:ctrls
22 #include <media/v4l2-ctrls.h>
144 struct v4l2_ctrl_handler ctrls;
158 struct mutex lock; /* lock to protect power state, ctrls and mode */
1028 struct ov7251, ctrls);
1362 ret = __v4l2_ctrl_handler_setup(&ov7251->ctrls);
1544 v4l2_ctrl_handler_init(&ov7251->ctrls, 7);
1545 ov7251->ctrls.lock = &ov7251->lock;
1547 v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops,
1549 v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops,
1551 ov7251->exposure = v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops,
1553 ov7251->gain = v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops,
1555 v4l2_ctrl_new_std_menu_items(&ov7251->ctrls, &ov7251_ctrl_ops,
1561 ov7251->pixel_clock = v4l2_ctrl_new_std(&ov7251->ctrls,
1566 ov7251->link_freq = v4l2_ctrl_new_int_menu(&ov7251->ctrls,
1578 ov7251->hblank = v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops,
1586 ov7251->vblank = v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops,
1591 ov7251->sd.ctrl_handler = &ov7251->ctrls;
1593 if (ov7251->ctrls.error) {
1594 v4l2_ctrl_handler_free(&ov7251->ctrls);
1595 return ov7251->ctrls.error;
1763 v4l2_ctrl_handler_free(&ov7251->ctrls);
1777 v4l2_ctrl_handler_free(&ov7251->ctrls);