Lines Matching refs:cluster

42 	   same cluster, or 0 if there isn't any. */
993 if (!is_cur_manual(ctrl->cluster[0])) {
995 if (ctrl->cluster[0]->has_volatiles)
1030 /* Return non-zero if one or more of the controls in the cluster has a new
1038 struct v4l2_ctrl *ctrl = master->cluster[i];
1297 /* By default each control starts in a cluster of its own.
1298 new_ref->ctrl is basically a cluster array with one
1299 element, so that's perfect to use as the cluster pointer.
1301 ctrl->cluster = &new_ref->ctrl;
1558 controls[i]->cluster = controls;
1724 struct v4l2_ctrl *master = ctrl->cluster[0];
1727 /* Skip if this control was already handled by a cluster. */
1734 if (master->cluster[i]) {
1735 cur_to_new(master->cluster[i]);
1736 master->cluster[i]->is_new = 1;
1737 master->cluster[i]->done = true;
1871 after the failed one. Since if they were part of a control cluster they
1872 could have been successfully processed (if a cluster member was encountered
1873 at index < error_idx), they could have failed (if a cluster member was at
1874 error_idx), or they may not have been processed yet (if the first cluster
1921 if (ctrl->cluster[0]->ncontrols > 1)
1923 if (ctrl->cluster[0] != ctrl)
1924 ref = find_ref_lock(hdl, ctrl->cluster[0]->id);
1925 /* Store the ref to the master control of the cluster */
1930 cluster */
1935 control cluster. */
1940 belong to the same cluster. */
1952 helper that belongs to the same cluster. */
1956 points to the next helper in the same cluster. */
1959 cluster, clear the others. */
2028 cur_to_new(master->cluster[j]);
2062 struct v4l2_ctrl *master = ctrl->cluster[0];
2073 cur_to_new(master->cluster[i]);
2121 /* Go through the cluster and either validate the new value or
2126 struct v4l2_ctrl *ctrl = master->cluster[i];
2153 new_to_cur(fh, master->cluster[i], update_flag && i > 0);
2194 cur_to_new(master->cluster[i]);
2197 if (master->cluster[i])
2198 master->cluster[i]->is_new = 1;
2241 /* Reset the 'is_new' flags of the cluster */
2243 if (master->cluster[j])
2244 master->cluster[j]->is_new = 0;
2326 struct v4l2_ctrl *master = ctrl->cluster[0];
2336 /* Reset the 'is_new' flags of the cluster */
2338 if (master->cluster[i])
2339 master->cluster[i]->is_new = 0;