Lines Matching refs:hdl
126 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in ov7660_init_controls() local
128 sd->gspca_dev.vdev.ctrl_handler = hdl; in ov7660_init_controls()
129 v4l2_ctrl_handler_init(hdl, 6); in ov7660_init_controls()
131 v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_AUTO_WHITE_BALANCE, in ov7660_init_controls()
133 v4l2_ctrl_new_std_menu(hdl, &ov7660_ctrl_ops, in ov7660_init_controls()
136 sd->autogain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, in ov7660_init_controls()
138 sd->gain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_GAIN, 0, in ov7660_init_controls()
141 sd->hflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_HFLIP, in ov7660_init_controls()
143 sd->vflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_VFLIP, in ov7660_init_controls()
146 if (hdl->error) { in ov7660_init_controls()
148 return hdl->error; in ov7660_init_controls()