Lines Matching refs:controls

3  * V4L2 controls framework uAPI implementation:
173 * multiple controls have to be set through multiple i2c writes (for example)
180 * error should be returned without actually affecting any controls.
188 * controls were affected. Otherwise all controls before that index were
190 * the given index failed, and you don't know what happened with the controls
201 * tried to set the controls. In all other cases it is a driver/hardware
205 * never modifies controls the error_idx is just set to whatever control
211 * Find the controls in the control array and do some basic checks.
224 struct v4l2_ext_control *c = &cs->controls[i];
242 * Old-style private controls are not allowed for
243 * extended controls.
247 "old-style private controls not allowed\n");
320 * We are done if there were no controls that belong to a multi-
327 * The code below figures out in O(n) time which controls in the list
367 * whether there are any controls at all.
378 * Get extended controls. Allocates the helpers array if needed.
382 * completed, and in that case p_req_valid is true for all controls.
438 * volatile controls at the time of request completion
465 ret = def_to_user(cs->controls + idx, ref->ctrl);
469 ret = req_to_user(cs->controls + idx, ref);
471 ret = new_to_user(cs->controls + idx, ref->ctrl);
473 ret = cur_to_user(cs->controls + idx, ref->ctrl);
501 /* Validate controls. */
528 * controls may have been set already and we want to do a
544 p_new.p_s64 = &cs->controls[i].value64;
546 p_new.p_s32 = &cs->controls[i].value;
554 /* Try or try-and-set controls */
618 * of controls).
632 new_auto_val = cs->controls[tmp_idx].value;
650 ret = user_to_new(cs->controls + idx, ctrl);
677 ret = new_to_user(cs->controls + idx,
740 /* Compound controls are not supported. The new_to_user() and
843 * Helper functions for drivers to get/set controls.