Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/link/accessories/
H A Dlink_dp_cts.c193 enum dp_test_pattern test_pattern = DP_TEST_PATTERN_AUDIO_OPERATOR_DEFINED; in dp_test_get_audio_test_data() local
221 test_pattern = (dpcd_pattern_type.value == AUDIO_TEST_PATTERN_SAWTOOTH) ? in dp_test_get_audio_test_data()
265 link->audio_test_data.pattern_type = test_pattern; in dp_test_get_audio_test_data()
267 if (test_pattern == DP_TEST_PATTERN_AUDIO_SAWTOOTH) { in dp_test_get_audio_test_data()
287 enum dp_test_pattern test_pattern; in dp_test_send_phy_test_pattern() local
336 test_pattern = DP_TEST_PATTERN_D102; in dp_test_send_phy_test_pattern()
339 test_pattern = DP_TEST_PATTERN_SYMBOL_ERROR; in dp_test_send_phy_test_pattern()
342 test_pattern = DP_TEST_PATTERN_PRBS7; in dp_test_send_phy_test_pattern()
345 test_pattern = DP_TEST_PATTERN_80BIT_CUSTOM; in dp_test_send_phy_test_pattern()
349 test_pattern = (link->dc->caps.force_dp_tps4_for_cp2520 == 1) ? in dp_test_send_phy_test_pattern()
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c1223 enum dp_test_pattern test_pattern; in dm_helpers_dp_handle_test_pattern_request() local
1252 test_pattern = DP_TEST_PATTERN_COLOR_RAMP; in dm_helpers_dp_handle_test_pattern_request()
1255 test_pattern = DP_TEST_PATTERN_VERTICAL_BARS; in dm_helpers_dp_handle_test_pattern_request()
1258 test_pattern = (dpcd_test_params.bits.DYN_RANGE == in dm_helpers_dp_handle_test_pattern_request()
1264 test_pattern = DP_TEST_PATTERN_VIDEO_MODE; in dm_helpers_dp_handle_test_pattern_request()
1331 pipe_ctx->stream->test_pattern.type = test_pattern; in dm_helpers_dp_handle_test_pattern_request()
1332 pipe_ctx->stream->test_pattern.color_space = test_pattern_color_space; in dm_helpers_dp_handle_test_pattern_request()
1346 test_pattern, in dm_helpers_dp_handle_test_pattern_request()
/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/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/gpu/drm/amd/amdgpu/
H A Damdgpu_vpe.c777 const uint32_t test_pattern = 0xdeadbeef; in vpe_ring_test_ring() local
800 amdgpu_ring_write(ring, test_pattern); in vpe_ring_test_ring()
804 if (le32_to_cpu(adev->wb.wb[index]) == test_pattern) in vpe_ring_test_ring()
819 const uint32_t test_pattern = 0xdeadbeef; in vpe_ring_test_ib() local
842 ib.ptr[3] = test_pattern; in vpe_ring_test_ib()
859 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/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.c1223 enum controller_dp_test_pattern test_pattern = CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR; in dcn20_blank_pixel_data() local
1238 test_pattern = CONTROLLER_DP_TEST_PATTERN_COLORSQUARES; in dcn20_blank_pixel_data()
1242 test_pattern = CONTROLLER_DP_TEST_PATTERN_VIDEOMODE; in dcn20_blank_pixel_data()
1251 test_pattern, in dcn20_blank_pixel_data()
1264 test_pattern, in dcn20_blank_pixel_data()
1534 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()
3248 enum controller_dp_test_pattern test_pattern, in dcn20_set_disp_pattern_generator() argument
3254 …_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/media/platform/samsung/s3c-camif/
H A Dcamif-core.h293 u8 test_pattern; member
/linux/drivers/media/i2c/
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 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/hwss/
H A Dhw_sequencer.h354 enum controller_dp_test_pattern test_pattern; member
382 enum controller_dp_test_pattern test_pattern; member
1219 enum controller_dp_test_pattern test_pattern,
1739 enum controller_dp_test_pattern 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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c2220 pipe_ctx->stream_res.test_pattern_params.test_pattern, in dcn401_program_pipe()
2369 pipe_ctx->stream_res.test_pattern_params.test_pattern, in dcn401_program_pipe_sequence()
2785 if (new_pipe->stream->test_pattern.type != DP_TEST_PATTERN_VIDEO_MODE && in dcn401_detect_pipe_changes()
3113 enum controller_dp_test_pattern test_pattern = CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR; in dcn401_blank_pixel_data_sequence() local
3129 test_pattern = CONTROLLER_DP_TEST_PATTERN_COLORSQUARES; in dcn401_blank_pixel_data_sequence()
3133 test_pattern = CONTROLLER_DP_TEST_PATTERN_VIDEOMODE; in dcn401_blank_pixel_data_sequence()
3144 test_pattern, in dcn401_blank_pixel_data_sequence()
3161 test_pattern, in dcn401_blank_pixel_data_sequence()
/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_dp.c295 enum test_pattern { enum
329 enum test_pattern pattern;
1782 enum test_pattern pattern, in zynqmp_dp_set_test_pattern()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c2472 …enum controller_dp_test_pattern test_pattern = params->opp_set_disp_pattern_generator_params.test_… in hwss_opp_set_disp_pattern_generator() local
2482 opp->funcs->opp_set_disp_pattern_generator(opp, test_pattern, color_space, in hwss_opp_set_disp_pattern_generator()
3261 enum controller_dp_test_pattern test_pattern, in hwss_add_opp_set_disp_pattern_generator() argument
3273 …ps[*seq_state->num_steps].params.opp_set_disp_pattern_generator_params.test_pattern = test_pattern; in hwss_add_opp_set_disp_pattern_generator()
H A Ddc.c3324 stream->test_pattern = *update->pending_test_pattern; in copy_stream_update_to_stream()
3713 stream->test_pattern.type, in commit_planes_do_stream_update()
3714 stream->test_pattern.color_space, in commit_planes_do_stream_update()
3715 stream->test_pattern.p_link_settings, in commit_planes_do_stream_update()
3716 stream->test_pattern.p_custom_pattern, in commit_planes_do_stream_update()
3717 stream->test_pattern.cust_pattern_size); in commit_planes_do_stream_update()
4168 if (stream->test_pattern.type != DP_TEST_PATTERN_VIDEO_MODE) { in commit_planes_for_stream()
6897 if (pipe_ctx->stream->test_pattern.type != DP_TEST_PATTERN_VIDEO_MODE) { in dc_capture_register_software_state()
H A Ddc_resource.c1393 enum dp_test_pattern test_pattern) in convert_dp_to_controller_test_pattern() argument
1397 switch (test_pattern) { in convert_dp_to_controller_test_pattern()
1464 otg_master->stream->test_pattern.type); in resource_build_test_pattern_params()
1466 otg_master->stream->test_pattern.color_space); in resource_build_test_pattern_params()
1476 params->test_pattern = controller_test_pattern; in resource_build_test_pattern_params()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h2343 enum dp_test_pattern test_pattern,
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c13385 static const u32 test_pattern[] = { 0x00000000, 0xffffffff, 0xaa55a55a }; in tg3_do_mem_test() local
13389 for (i = 0; i < ARRAY_SIZE(test_pattern); i++) { in tg3_do_mem_test()
13393 tg3_write_mem(tp, offset + j, test_pattern[i]); in tg3_do_mem_test()
13395 if (val != test_pattern[i]) in tg3_do_mem_test()