Lines Matching full:pattern
3 * Xilinx Test Pattern Generator
71 * struct xtpg_device - Xilinx Test Pattern Generator device structure
83 * @pattern: test pattern control
103 struct v4l2_ctrl *pattern; member
132 bool passthrough, bool pattern) in __xtpg_update_pattern_control() argument
134 u32 pattern_mask = (1 << (xtpg->pattern->maximum + 1)) - 1; in __xtpg_update_pattern_control()
147 /* If test pattern mode is allowed unmask all other bits. */ in __xtpg_update_pattern_control()
148 if (pattern) in __xtpg_update_pattern_control()
151 __v4l2_ctrl_modify_range(xtpg->pattern, 0, xtpg->pattern->maximum, in __xtpg_update_pattern_control()
152 pattern_mask, pattern ? 9 : 0); in __xtpg_update_pattern_control()
156 bool passthrough, bool pattern) in xtpg_update_pattern_control() argument
159 __xtpg_update_pattern_control(xtpg, passthrough, pattern); in xtpg_update_pattern_control()
212 * operation mode (passthrough or test pattern generation). The test in xtpg_s_stream()
213 * pattern can be modified by the control set handler, we thus need to in xtpg_s_stream()
219 XTPG_PATTERN_MASK, xtpg->pattern->cur.val); in xtpg_s_stream()
222 * Switching between passthrough and test pattern generation modes isn't in xtpg_s_stream()
225 passthrough = xtpg->pattern->cur.val == 0; in xtpg_s_stream()
514 .name = "Test Pattern: Cross Hairs",
523 .name = "Test Pattern: Moving Box",
532 .name = "Test Pattern: Color Mask",
540 .name = "Test Pattern: Stuck Pixel",
549 .name = "Test Pattern: Noise",
558 .name = "Test Pattern: Motion",
567 .name = "Test Pattern: Motion Speed",
577 .name = "Test Pattern: Cross Hairs Row",
587 .name = "Test Pattern: Cross Hairs Column",
597 .name = "Test Pattern: Zplate Horizontal Start Pos",
607 .name = "Test Pattern: Zplate Horizontal Speed",
617 .name = "Test Pattern: Zplate Vertical Start Pos",
627 .name = "Test Pattern: Zplate Vertical Speed",
637 .name = "Test Pattern: Box Size",
647 .name = "Test Pattern: Box Color(RGB)",
656 .name = "Test Pattern: Stuck Pixel threshold",
666 .name = "Test Pattern: Noise Gain",
852 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler, in xtpg_probe()
929 MODULE_DESCRIPTION("Xilinx Test Pattern Generator Driver");