Lines Matching refs:foo
54 struct foo_dev *foo;
58 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls);
76 foo->v4l2_dev.ctrl_handler = &foo->ctrl_handler;
78 Where foo->v4l2_dev is of type struct v4l2_device.
95 foo->sd.ctrl_handler = &foo->ctrl_handler;
97 Where foo->sd is of type struct v4l2_subdev.
116 v4l2_ctrl_handler_free(&foo->ctrl_handler);
160 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls);
161 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops,
163 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops,
165 v4l2_ctrl_new_std_menu(&foo->ctrl_handler, &foo_ctrl_ops,
169 v4l2_ctrl_new_int_menu(&foo->ctrl_handler, &foo_ctrl_ops,
174 v4l2_ctrl_new_std_menu_items(&foo->ctrl_handler, &foo_ctrl_ops,
178 if (foo->ctrl_handler.error) {
179 int err = foo->ctrl_handler.error;
181 v4l2_ctrl_handler_free(&foo->ctrl_handler);
226 v4l2_ctrl_handler_setup(&foo->ctrl_handler);
243 struct foo *state = container_of(ctrl->handler, struct foo, ctrl_handler);
428 ctrl = v4l2_ctrl_new_custom(&foo->ctrl_handler, &ctrl_filter, NULL);
470 struct foo {
494 struct foo *state = container_of(ctrl->handler, struct foo, ctrl_handler);
559 A common type of control cluster is one that handles 'auto-foo/foo'-type
718 ctrl = v4l2_ctrl_new_custom(&foo->ctrl_handler, &ctrl_private, NULL);