Home
last modified time | relevance | path

Searched refs:test_pattern (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/link/accessories/
H A Dlink_dp_cts.c132 enum dp_test_pattern test_pattern = DP_TEST_PATTERN_AUDIO_OPERATOR_DEFINED; in dp_test_get_audio_test_data() local
160 test_pattern = (dpcd_pattern_type.value == AUDIO_TEST_PATTERN_SAWTOOTH) ? in dp_test_get_audio_test_data()
204 link->audio_test_data.pattern_type = test_pattern; in dp_test_get_audio_test_data()
206 if (test_pattern == DP_TEST_PATTERN_AUDIO_SAWTOOTH) { in dp_test_get_audio_test_data()
226 enum dp_test_pattern test_pattern; in dp_test_send_phy_test_pattern() local
275 test_pattern = DP_TEST_PATTERN_D102; in dp_test_send_phy_test_pattern()
278 test_pattern = DP_TEST_PATTERN_SYMBOL_ERROR; in dp_test_send_phy_test_pattern()
281 test_pattern = DP_TEST_PATTERN_PRBS7; in dp_test_send_phy_test_pattern()
284 test_pattern = DP_TEST_PATTERN_80BIT_CUSTOM; in dp_test_send_phy_test_pattern()
288 test_pattern = (link->dc->caps.force_dp_tps4_for_cp2520 == 1) ? in dp_test_send_phy_test_pattern()
[all …]
H A Dlink_dp_cts.h31 enum dp_test_pattern test_pattern,
/linux/drivers/gpu/drm/amd/display/dc/opp/dcn20/
H A Ddcn20_opp.c44 enum controller_dp_test_pattern test_pattern, in opp2_set_disp_pattern_generator() argument
102 switch (test_pattern) { in opp2_set_disp_pattern_generator()
106 dyn_range = (test_pattern == in opp2_set_disp_pattern_generator()
137 mode = (test_pattern == in opp2_set_disp_pattern_generator()
H A Ddcn20_opp.h148 enum controller_dp_test_pattern test_pattern,
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c1212 enum dp_test_pattern test_pattern; in dm_helpers_dp_handle_test_pattern_request() local
1241 test_pattern = DP_TEST_PATTERN_COLOR_RAMP; in dm_helpers_dp_handle_test_pattern_request()
1244 test_pattern = DP_TEST_PATTERN_VERTICAL_BARS; in dm_helpers_dp_handle_test_pattern_request()
1247 test_pattern = (dpcd_test_params.bits.DYN_RANGE == in dm_helpers_dp_handle_test_pattern_request()
1253 test_pattern = DP_TEST_PATTERN_VIDEO_MODE; in dm_helpers_dp_handle_test_pattern_request()
1320 pipe_ctx->stream->test_pattern.type = test_pattern; in dm_helpers_dp_handle_test_pattern_request()
1321 pipe_ctx->stream->test_pattern.color_space = test_pattern_color_space; in dm_helpers_dp_handle_test_pattern_request()
1335 test_pattern, in dm_helpers_dp_handle_test_pattern_request()
/linux/drivers/mmc/core/
H A Dsd_ops.c220 static const u8 test_pattern = 0xAA; in __mmc_send_if_cond() local
229 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | pcie_bits << 8 | test_pattern; in __mmc_send_if_cond()
241 if (result_pattern != test_pattern) in __mmc_send_if_cond()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is-sensor.h47 u8 test_pattern; member
H A Dfimc-isp.h171 struct v4l2_ctrl *test_pattern; member
H A Dfimc-lite.h151 struct v4l2_ctrl *test_pattern; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vpe.c752 const uint32_t test_pattern = 0xdeadbeef; in vpe_ring_test_ring() local
775 amdgpu_ring_write(ring, test_pattern); in vpe_ring_test_ring()
779 if (le32_to_cpu(adev->wb.wb[index]) == test_pattern) in vpe_ring_test_ring()
794 const uint32_t test_pattern = 0xdeadbeef; in vpe_ring_test_ib() local
817 ib.ptr[3] = test_pattern; in vpe_ring_test_ib()
834 ret = (le32_to_cpu(adev->wb.wb[index]) == test_pattern) ? 0 : -EINVAL; in vpe_ring_test_ib()
/linux/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_timing_generator.c799 enum controller_dp_test_pattern test_pattern, in dce120_timing_generator_set_test_pattern() argument
843 switch (test_pattern) { in dce120_timing_generator_set_test_pattern()
847 dyn_range = (test_pattern == in dce120_timing_generator_set_test_pattern()
868 mode = (test_pattern == in dce120_timing_generator_set_test_pattern()
/linux/drivers/media/i2c/
H A Dmt9v032.c216 struct v4l2_ctrl *test_pattern; member
691 switch (mt9v032->test_pattern->val) { in mt9v032_s_ctrl()
1102 mt9v032->test_pattern = v4l2_ctrl_new_std_menu_items(&mt9v032->ctrls, in mt9v032_probe()
1116 v4l2_ctrl_cluster(2, &mt9v032->test_pattern); in mt9v032_probe()
H A Dov2685.c101 struct v4l2_ctrl *test_pattern; member
711 ov2685->test_pattern = v4l2_ctrl_new_std_menu_items(handler, in ov2685_initialize_controls()
H A Dov772x.c428 unsigned int test_pattern; member
834 priv->test_pattern = ctrl->val; in ov772x_s_ctrl()
1134 if (priv->test_pattern) in ov772x_set_params()
H A Dov5695.c109 struct v4l2_ctrl *test_pattern; member
1200 ov5695->test_pattern = v4l2_ctrl_new_std_menu_items(handler, in ov5695_initialize_controls()
H A Dimx274.c546 struct v4l2_ctrl *test_pattern; member
1421 priv->ctrls.test_pattern->val = TEST_PATTERN_DISABLED; in imx274_load_default()
2083 imx274->ctrls.test_pattern = v4l2_ctrl_new_std_menu_items( in imx274_probe()
H A Disl7998x.c534 u8 test_pattern; member
727 if (isl7998x->test_pattern != 0) { in isl7998x_set_test_pattern()
1081 isl7998x->test_pattern = ctrl->val; in isl7998x_set_ctrl()
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.h225 enum controller_dp_test_pattern test_pattern,
H A Ddce110_timing_generator.c708 enum controller_dp_test_pattern test_pattern, in dce110_timing_generator_set_test_pattern() argument
753 switch (test_pattern) { in dce110_timing_generator_set_test_pattern()
757 dyn_range = (test_pattern == in dce110_timing_generator_set_test_pattern()
810 mode = (test_pattern == in dce110_timing_generator_set_test_pattern()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.h147 enum controller_dp_test_pattern test_pattern,
H A Ddcn20_hwseq.c1216 enum controller_dp_test_pattern test_pattern = CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR; in dcn20_blank_pixel_data() local
1231 test_pattern = CONTROLLER_DP_TEST_PATTERN_COLORSQUARES; in dcn20_blank_pixel_data()
1235 test_pattern = CONTROLLER_DP_TEST_PATTERN_VIDEOMODE; in dcn20_blank_pixel_data()
1244 test_pattern, in dcn20_blank_pixel_data()
1257 test_pattern, in dcn20_blank_pixel_data()
1527 if (new_pipe->stream->test_pattern.type != DP_TEST_PATTERN_VIDEO_MODE && in dcn20_detect_pipe_changes()
2037 pipe_ctx->stream_res.test_pattern_params.test_pattern, in dcn20_program_pipe()
3238 enum controller_dp_test_pattern test_pattern, in dcn20_set_disp_pattern_generator() argument
3244 …_ctx->stream_res.opp->funcs->opp_set_disp_pattern_generator(pipe_ctx->stream_res.opp, test_pattern, in dcn20_set_disp_pattern_generator()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dopp.h339 enum controller_dp_test_pattern test_pattern,
/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-core.h293 u8 test_pattern; member
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c3100 u8 test_pattern; in drm_dp_set_phy_test_pattern() local
3102 test_pattern = data->phy_pattern; in drm_dp_set_phy_test_pattern()
3104 test_pattern = (test_pattern << 2) & in drm_dp_set_phy_test_pattern()
3107 test_pattern); in drm_dp_set_phy_test_pattern()
3114 test_pattern); in drm_dp_set_phy_test_pattern()
/linux/drivers/usb/serial/
H A Dmos7840.c1404 __u16 test_pattern = 0x55AA; in mos7810_check() local
1422 (0x0300 | (((test_pattern >> i) & 0x0001) << 1)), in mos7810_check()
1434 if (((test_pattern >> i) ^ (~data >> 1)) & 0x0001) in mos7810_check()

12