Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h131 struct test_pattern {
290 struct test_pattern test_pattern;
346 struct test_pattern *pending_test_pattern;
154 struct test_pattern { global() struct
155 typetest_pattern global() argument
156 color_spacetest_pattern global() argument
157 p_link_settingstest_pattern global() argument
158 p_custom_patterntest_pattern global() argument
159 cust_pattern_sizetest_pattern global() argument
313 struct test_pattern test_pattern; global() member
H A Ddc.h2517 * @test_pattern - desired test pattern to output.
2529 enum dp_test_pattern test_pattern,
3307 uint32_t dpg_enable; /* DPG_CONTROL->DPG_EN from test_pattern parameter (enable/disable) */
/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/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c1391 enum dp_test_pattern test_pattern; in dm_helpers_dp_handle_test_pattern_request()
1420 test_pattern = DP_TEST_PATTERN_COLOR_RAMP; in dm_helpers_dp_handle_test_pattern_request()
1423 test_pattern = DP_TEST_PATTERN_VERTICAL_BARS; in dm_helpers_dp_handle_test_pattern_request()
1426 test_pattern = (dpcd_test_params.bits.DYN_RANGE == in dm_helpers_dp_handle_test_pattern_request()
1432 test_pattern = DP_TEST_PATTERN_VIDEO_MODE; in dm_helpers_dp_handle_test_pattern_request()
1499 pipe_ctx->stream->test_pattern.type = test_pattern; in dm_get_adaptive_sync_support_type()
1500 pipe_ctx->stream->test_pattern.color_space = test_pattern_color_space; in dm_get_adaptive_sync_support_type()
1514 test_pattern, in dm_get_adaptive_sync_support_type()
1323 enum dp_test_pattern test_pattern; dm_helpers_dp_handle_test_pattern_request() local
H A Damdgpu_dm_debugfs.c732 * echo <test pattern #> > test_pattern
738 * echo 0x4 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 0x99 0xaa > test_pattern
741 * echo 0 > test_pattern
765 enum dp_test_pattern test_pattern = DP_TEST_PATTERN_UNSUPPORTED; in dp_phy_test_pattern_debugfs_write()
804 test_pattern = param[0]; in dp_phy_test_pattern_debugfs_write()
806 switch (test_pattern) { in dp_phy_test_pattern_debugfs_write()
828 test_pattern = DP_TEST_PATTERN_UNSUPPORTED; in dp_phy_test_pattern_debugfs_write()
838 if (test_pattern == DP_TEST_PATTERN_80BIT_CUSTOM) { in dp_phy_test_pattern_debugfs_write()
873 if (test_pattern != DP_TEST_PATTERN_VIDEO_MODE) { in dp_phy_test_pattern_debugfs_write()
886 test_pattern, in dp_phy_test_pattern_debugfs_write()
764 enum dp_test_pattern test_pattern = DP_TEST_PATTERN_UNSUPPORTED; dp_phy_test_pattern_debugfs_write() local
[all...]
/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.c787 const uint32_t test_pattern = 0xdeadbeef; in vpe_ring_test_ring()
810 amdgpu_ring_write(ring, test_pattern); in vpe_ring_test_ring()
814 if (le32_to_cpu(adev->wb.wb[index]) == test_pattern) in vpe_ring_test_ring()
829 const uint32_t test_pattern = 0xdeadbeef; in vpe_ring_test_ib()
852 ib.ptr[3] = test_pattern; in vpe_ring_test_ib()
869 ret = (le32_to_cpu(adev->wb.wb[index]) == test_pattern) ? 0 : -EINVAL; in vpe_ring_test_ib()
782 const uint32_t test_pattern = 0xdeadbeef; vpe_ring_test_ring() local
824 const uint32_t test_pattern = 0xdeadbeef; vpe_ring_test_ib() local
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.h225 enum controller_dp_test_pattern test_pattern,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.h147 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/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/usb/serial/
H A Dmos7840.c1403 __u16 test_pattern = 0x55AA; in mos7810_check()
1421 (0x0300 | (((test_pattern >> i) & 0x0001) << 1)), in mos7810_check()
1433 if (((test_pattern >> i) ^ (~data >> 1)) & 0x0001) in mos7810_check()
1404 __u16 test_pattern = 0x55AA; mos7810_check() local
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c2340 pipe_ctx->stream_res.test_pattern_params.test_pattern, in dcn401_program_front_end_for_ctx()
2493 pipe_ctx->stream_res.test_pattern_params.test_pattern, in dcn401_program_front_end_for_ctx()
2912 if (new_pipe->stream->test_pattern.type != DP_TEST_PATTERN_VIDEO_MODE && in dcn401_plane_atomic_power_down()
3236 enum controller_dp_test_pattern test_pattern = CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR; in dcn401_disable_writeback_sequence()
3252 test_pattern = CONTROLLER_DP_TEST_PATTERN_COLORSQUARES; in dcn401_update_writeback_sequence()
3256 test_pattern = CONTROLLER_DP_TEST_PATTERN_VIDEOMODE; in dcn401_update_writeback_sequence()
3267 test_pattern,
3284 test_pattern, in dcn401_setup_gsl_group_as_lock_sequence()
3060 enum controller_dp_test_pattern test_pattern = CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR; dcn401_blank_pixel_data_sequence() local
/linux/drivers/usb/storage/
H A Dshuttle_usbat.c343 unsigned char test_pattern, in usbat_set_shuttle_features() argument
371 command[4] = test_pattern; in usbat_set_shuttle_features()
/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_dp.c285 * enum test_pattern - Test patterns for test testing
295 enum test_pattern { enum
329 enum test_pattern pattern;
1780 enum test_pattern pattern,
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1615 static const u32 test_pattern[] = { in reg_pattern_test()
1622 for (pat = 0; pat < ARRAY_SIZE(test_pattern); pat++) { in reg_pattern_test()
1624 ixgbe_write_reg(&adapter->hw, reg, test_pattern[pat] & write); in reg_pattern_test()
1626 if (val != (test_pattern[pat] & write & mask)) { in reg_pattern_test()
1628 reg, val, (test_pattern[pat] & write & mask)); in reg_pattern_test()
1614 static const u32 test_pattern[] = { reg_pattern_test() local
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c2895 enum controller_dp_test_pattern test_pattern = params->opp_set_disp_pattern_generator_params.test_pattern; in hwss_dccg_set_ref_dscclk()
2905 opp->funcs->opp_set_disp_pattern_generator(opp, test_pattern, color_space, in hwss_dccg_set_ref_dscclk()
3794 enum dp_test_pattern test_pattern = params->dp_set_test_pattern_params.test_pattern; in hwss_add_hubp_set_vm_system_aperture_settings()
3803 link->dc->link_srv->dp_set_test_pattern(link, test_pattern, test_pattern_color_space, in hwss_add_hubp_set_vm_system_aperture_settings()
3966 enum controller_dp_test_pattern test_pattern, in hwss_add_dpp_set_scaler()
3978 seq_state->steps[*seq_state->num_steps].params.opp_set_disp_pattern_generator_params.test_pattern = test_pattern; in hwss_add_hubp_mem_program_viewport()
5085 enum dp_test_pattern test_pattern,
2497 enum controller_dp_test_pattern test_pattern = params->opp_set_disp_pattern_generator_params.test_pattern; hwss_opp_set_disp_pattern_generator() local
3286 hwss_add_opp_set_disp_pattern_generator(struct block_sequence_state * seq_state,struct output_pixel_processor * opp,enum controller_dp_test_pattern test_pattern,enum controller_dp_color_space color_space,enum dc_color_depth color_depth,struct tg_color solid_color,bool use_solid_color,int width,int height,int offset) hwss_add_opp_set_disp_pattern_generator() argument
[all...]
H A Ddc_resource.c1427 enum dp_test_pattern test_pattern) in convert_dp_to_controller_test_pattern()
1431 switch (test_pattern) { in convert_dp_to_controller_test_pattern()
1498 otg_master->stream->test_pattern.type); in resource_build_scaling_params()
1500 otg_master->stream->test_pattern.color_space); in resource_build_scaling_params()
1510 params->test_pattern = controller_test_pattern; in resource_build_scaling_params()
1400 convert_dp_to_controller_test_pattern(enum dp_test_pattern test_pattern) convert_dp_to_controller_test_pattern() argument
H A Ddc.c3464 stream->test_pattern = *update->pending_test_pattern; in restore_planes_and_stream_state()
4187 stream->test_pattern.type, in commit_planes_for_stream_fast()
4188 stream->test_pattern.color_space, in commit_planes_for_stream_fast()
4189 stream->test_pattern.p_link_settings, in commit_planes_for_stream_fast()
4190 stream->test_pattern.p_custom_pattern, in commit_planes_for_stream_fast()
4191 stream->test_pattern.cust_pattern_size); in commit_planes_for_stream_fast()
4355 stream->test_pattern.type, in commit_planes_for_stream()
4356 stream->test_pattern.color_space, in commit_planes_for_stream()
4357 stream->test_pattern.p_link_settings, in commit_planes_for_stream()
4358 stream->test_pattern in commit_planes_for_stream()
[all...]
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c5736 static const u32 test_pattern[] = { 0x00000000, 0xffffffff, 0x55555555, in bnx2_do_mem_test()
5740 for (i = 0; i < sizeof(test_pattern) / 4; i++) {
5745 bnx2_reg_wr_ind(bp, start + offset, test_pattern[i]); in bnx2_test_memory()
5748 test_pattern[i]) { in bnx2_test_memory()
5720 static const u32 test_pattern[] = { 0x00000000, 0xffffffff, 0x55555555, bnx2_do_mem_test() local
H A Dtg3.c13384 static const u32 test_pattern[] = { 0x00000000, 0xffffffff, 0xaa55a55a }; in tg3_do_mem_test() local
13388 for (i = 0; i < ARRAY_SIZE(test_pattern); i++) { in tg3_do_mem_test()
13392 tg3_write_mem(tp, offset + j, test_pattern[i]); in tg3_do_mem_test()
13394 if (val != test_pattern[i]) in tg3_do_mem_test()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c1434 if (context->streams[i]->test_pattern.type != DP_TEST_PATTERN_VIDEO_MODE) in is_test_pattern_enabled()