Lines Matching full:pattern
3 * Xilinx Test Pattern Generator
72 * struct xtpg_device - Xilinx Test Pattern Generator device structure
84 * @pattern: test pattern control
104 struct v4l2_ctrl *pattern; member
133 bool passthrough, bool pattern) in __xtpg_update_pattern_control() argument
135 u32 pattern_mask = (1 << (xtpg->pattern->maximum + 1)) - 1; in __xtpg_update_pattern_control()
148 /* If test pattern mode is allowed unmask all other bits. */ in __xtpg_update_pattern_control()
149 if (pattern) in __xtpg_update_pattern_control()
152 __v4l2_ctrl_modify_range(xtpg->pattern, 0, xtpg->pattern->maximum, in __xtpg_update_pattern_control()
153 pattern_mask, pattern ? 9 : 0); in __xtpg_update_pattern_control()
157 bool passthrough, bool pattern) in xtpg_update_pattern_control() argument
160 __xtpg_update_pattern_control(xtpg, passthrough, pattern); in xtpg_update_pattern_control()
213 * operation mode (passthrough or test pattern generation). The test in xtpg_s_stream()
214 * pattern can be modified by the control set handler, we thus need to in xtpg_s_stream()
220 XTPG_PATTERN_MASK, xtpg->pattern->cur.val); in xtpg_s_stream()
223 * Switching between passthrough and test pattern generation modes isn't in xtpg_s_stream()
226 passthrough = xtpg->pattern->cur.val == 0; in xtpg_s_stream()
515 .name = "Test Pattern: Cross Hairs",
524 .name = "Test Pattern: Moving Box",
533 .name = "Test Pattern: Color Mask",
541 .name = "Test Pattern: Stuck Pixel",
550 .name = "Test Pattern: Noise",
559 .name = "Test Pattern: Motion",
568 .name = "Test Pattern: Motion Speed",
578 .name = "Test Pattern: Cross Hairs Row",
588 .name = "Test Pattern: Cross Hairs Column",
598 .name = "Test Pattern: Zplate Horizontal Start Pos",
608 .name = "Test Pattern: Zplate Horizontal Speed",
618 .name = "Test Pattern: Zplate Vertical Start Pos",
628 .name = "Test Pattern: Zplate Vertical Speed",
638 .name = "Test Pattern: Box Size",
648 .name = "Test Pattern: Box Color(RGB)",
657 .name = "Test Pattern: Stuck Pixel threshold",
667 .name = "Test Pattern: Noise Gain",
842 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler, in xtpg_probe()
919 MODULE_DESCRIPTION("Xilinx Test Pattern Generator Driver");