Lines Matching defs:pattern
83 * @pattern: test pattern control
103 struct v4l2_ctrl *pattern;
132 bool passthrough, bool pattern)
134 u32 pattern_mask = (1 << (xtpg->pattern->maximum + 1)) - 1;
147 /* If test pattern mode is allowed unmask all other bits. */
148 if (pattern)
151 __v4l2_ctrl_modify_range(xtpg->pattern, 0, xtpg->pattern->maximum,
152 pattern_mask, pattern ? 9 : 0);
156 bool passthrough, bool pattern)
159 __xtpg_update_pattern_control(xtpg, passthrough, pattern);
212 * operation mode (passthrough or test pattern generation). The test
213 * pattern can be modified by the control set handler, we thus need to
219 XTPG_PATTERN_MASK, xtpg->pattern->cur.val);
222 * Switching between passthrough and test pattern generation modes isn't
225 passthrough = xtpg->pattern->cur.val == 0;
852 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler,