Lines Matching refs:ctrls
143 container_of(ctrl->handler, struct adp1653_flash, ctrls); in adp1653_get_ctrl()
169 container_of(ctrl->handler, struct adp1653_flash, ctrls); in adp1653_set_ctrl()
202 v4l2_ctrl_handler_init(&flash->ctrls, 9); in adp1653_init_controls()
205 v4l2_ctrl_new_std_menu(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
208 v4l2_ctrl_new_std_menu(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
211 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
213 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
216 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
222 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
228 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
235 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
241 fault = v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls()
247 if (flash->ctrls.error) in adp1653_init_controls()
248 return flash->ctrls.error; in adp1653_init_controls()
252 flash->subdev.ctrl_handler = &flash->ctrls; in adp1653_init_controls()
273 mutex_lock(flash->ctrls.lock); in adp1653_init_device()
277 mutex_unlock(flash->ctrls.lock); in adp1653_init_device()
283 mutex_lock(flash->ctrls.lock); in adp1653_init_device()
285 mutex_unlock(flash->ctrls.lock); in adp1653_init_device()
509 v4l2_ctrl_handler_free(&flash->ctrls); in adp1653_probe()
519 v4l2_ctrl_handler_free(&flash->ctrls); in adp1653_remove()