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/include/
H A Dlink_service_types.h171 #define IS_DP_PHY_SQUARE_PATTERN(test_pattern)\ argument
172 (DP_TEST_PATTERN_SQUARE_BEGIN <= test_pattern &&\
173 test_pattern <= DP_TEST_PATTERN_SQUARE_END)
175 #define IS_DP_PHY_PATTERN(test_pattern)\ argument
176 ((DP_TEST_PATTERN_PHY_PATTERN_BEGIN <= test_pattern &&\
177 test_pattern <= DP_TEST_PATTERN_PHY_PATTERN_END) ||\
178 test_pattern == DP_TEST_PATTERN_VIDEO_MODE)
/linux/drivers/net/ethernet/intel/igc/
H A Digc_diag.c40 static const u32 test_pattern[] = { in reg_pattern_test() local
44 for (pat = 0; pat < ARRAY_SIZE(test_pattern); pat++) { in reg_pattern_test()
46 wr32(reg, test_pattern[pat] & write); in reg_pattern_test()
48 if (val != (test_pattern[pat] & write & mask)) { in reg_pattern_test()
51 reg, val, test_pattern[pat] & write & mask); in reg_pattern_test()
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training.c1346 enum dp_test_pattern test_pattern, in dp_set_hw_test_pattern() argument
1353 pattern_param.dp_phy_pattern = test_pattern; in dp_set_hw_test_pattern()
1368 enum dp_test_pattern test_pattern = DP_TEST_PATTERN_UNSUPPORTED; in dp_set_hw_training_pattern() local
1372 test_pattern = DP_TEST_PATTERN_TRAINING_PATTERN1; in dp_set_hw_training_pattern()
1375 test_pattern = DP_TEST_PATTERN_TRAINING_PATTERN2; in dp_set_hw_training_pattern()
1378 test_pattern = DP_TEST_PATTERN_TRAINING_PATTERN3; in dp_set_hw_training_pattern()
1381 test_pattern = DP_TEST_PATTERN_TRAINING_PATTERN4; in dp_set_hw_training_pattern()
1384 test_pattern = DP_TEST_PATTERN_128b_132b_TPS1_TRAINING_MODE; in dp_set_hw_training_pattern()
1387 test_pattern = DP_TEST_PATTERN_128b_132b_TPS2_TRAINING_MODE; in dp_set_hw_training_pattern()
1393 dp_set_hw_test_pattern(link, link_res, test_pattern, NULL, 0); in dp_set_hw_training_pattern()
H A Dlink_dp_training.h54 enum dp_test_pattern test_pattern,
/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
H A Dfimc-lite.c157 flite_hw_set_test_pattern(fimc, fimc->test_pattern->val); in fimc_lite_hw_init()
239 flite_hw_set_test_pattern(fimc, fimc->test_pattern->val); in fimc_lite_config_update()
1401 fimc->test_pattern = v4l2_ctrl_new_custom(handler, &fimc_lite_ctrl, in fimc_lite_create_capture_subdev()
/linux/drivers/gpu/drm/amd/display/dc/link/accessories/
H A Dlink_dp_cts.h31 enum dp_test_pattern test_pattern,
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vpe.c745 const uint32_t test_pattern = 0xdeadbeef; in vpe_ring_test_ring() local
768 amdgpu_ring_write(ring, test_pattern); in vpe_ring_test_ring()
772 if (le32_to_cpu(adev->wb.wb[index]) == test_pattern) in vpe_ring_test_ring()
787 const uint32_t test_pattern = 0xdeadbeef; in vpe_ring_test_ib() local
810 ib.ptr[3] = test_pattern; in vpe_ring_test_ib()
827 ret = (le32_to_cpu(adev->wb.wb[index]) == test_pattern) ? 0 : -EINVAL; in vpe_ring_test_ib()
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-touch-cap.c258 unsigned int test_pattern, test_pat_idx, rand; in vivid_fillbuff_tch() local
263 test_pattern = (buf->vb.sequence / TCH_SEQ_COUNT) % TEST_CASE_MAX; in vivid_fillbuff_tch()
275 switch (test_pattern) { in vivid_fillbuff_tch()
H A Dvivid-core.h332 struct v4l2_ctrl *test_pattern; member
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.h86 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/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 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 Dov2680.c129 struct v4l2_ctrl *test_pattern; member
981 ctrls->test_pattern = v4l2_ctrl_new_std_menu_items(hdl, in ov2680_v4l2_register()
H A Dov5693.c171 struct v4l2_ctrl *test_pattern; member
1152 ctrls->test_pattern = v4l2_ctrl_new_std_menu_items( in ov5693_init_controls()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_exports.c195 enum dp_test_pattern test_pattern, in dc_link_dp_set_test_pattern() argument
201 return link->dc->link_srv->dp_set_test_pattern(link, test_pattern, in dc_link_dp_set_test_pattern()
/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
H A Dcamif-capture.c77 camif_hw_set_test_pattern(camif, camif->test_pattern); in s3c_camif_hw_init()
363 camif_hw_set_test_pattern(camif, camif->test_pattern); in s3c_camif_irq_handler()
1516 camif->test_pattern = camif->ctrl_test_pattern->val; in s3c_camif_subdev_s_ctrl()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dlink.h310 enum dp_test_pattern test_pattern,
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1549 static const u32 test_pattern[] = { in reg_pattern_test() local
1556 for (pat = 0; pat < ARRAY_SIZE(test_pattern); pat++) { in reg_pattern_test()
1558 ixgbe_write_reg(&adapter->hw, reg, test_pattern[pat] & write); in reg_pattern_test()
1560 if (val != (test_pattern[pat] & write & mask)) { in reg_pattern_test()
1562 reg, val, (test_pattern[pat] & write & mask)); in reg_pattern_test()

12