Lines Matching defs:set
751 /* Set the handler's error code if it wasn't set earlier already */
1157 /* set V4L2_CTRL_FLAG_INACTIVE */
1177 /* set V4L2_CTRL_FLAG_GRABBED */
1390 multiple controls have to be set through multiple i2c writes (for example)
1406 successful in performing their 'get' or 'set' operation, the control at
1418 tried to set the controls. In all other cases it is a driver/hardware
1422 never modifies controls the error_idx is just set to whatever control
1619 copied to the current value on a set.
1621 static int try_or_set_control_cluster(struct v4l2_ctrl *master, bool set)
1623 bool try = !set;
1628 (if no new value was set), copy the current value to the new
1640 if (set && (ctrl->flags & V4L2_CTRL_FLAG_GRABBED))
1644 if (!set)
1648 /* No new value was set, so copy the current and force
1661 /* Don't set if there is no change */
1662 if (!ret && set && cluster_changed(master)) {
1672 /* Try or set controls. */
1676 bool set)
1685 if (!set)
1694 controls may have been set already and we want to do a
1696 if (set && (ctrl->flags & V4L2_CTRL_FLAG_GRABBED))
1721 ret = try_or_set_control_cluster(master, set);
1733 /* Try or try-and-set controls */
1736 bool set)
1757 ret = prepare_ext_ctrls(hdl, cs, helpers, !set);
1763 /* If this is a 'set' operation and the initial 'try' failed,
1764 then set error_idx to count to tell the application that no
1766 if (set)
1768 if (!ret && set) {