/linux/drivers/gpu/drm/amd/display/include/ |
H A D | link_service_types.h | 171 #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 D | igc_diag.c | 40 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 D | link_dp_training.c | 1346 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 D | link_dp_training.h | 54 enum dp_test_pattern test_pattern,
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-sensor.h | 47 u8 test_pattern; member
|
H A D | fimc-isp.h | 171 struct v4l2_ctrl *test_pattern; member
|
H A D | fimc-lite.h | 151 struct v4l2_ctrl *test_pattern; member
|
H A D | fimc-lite.c | 157 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 D | link_dp_cts.h | 31 enum dp_test_pattern test_pattern,
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vpe.c | 745 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 D | vivid-touch-cap.c | 258 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 D | vivid-core.h | 332 struct v4l2_ctrl *test_pattern; member
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
H A D | dcn30_hwseq.h | 86 enum controller_dp_test_pattern test_pattern,
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
H A D | dcn20_hwseq.h | 147 enum controller_dp_test_pattern test_pattern,
|
/linux/drivers/media/i2c/ |
H A D | mt9v032.c | 216 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 D | ov2685.c | 101 struct v4l2_ctrl *test_pattern; member 711 ov2685->test_pattern = v4l2_ctrl_new_std_menu_items(handler, in ov2685_initialize_controls()
|
H A D | ov5695.c | 109 struct v4l2_ctrl *test_pattern; member 1200 ov5695->test_pattern = v4l2_ctrl_new_std_menu_items(handler, in ov5695_initialize_controls()
|
H A D | ov2680.c | 129 struct v4l2_ctrl *test_pattern; member 981 ctrls->test_pattern = v4l2_ctrl_new_std_menu_items(hdl, in ov2680_v4l2_register()
|
H A D | ov5693.c | 171 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 D | dc_link_exports.c | 195 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 D | opp.h | 339 enum controller_dp_test_pattern test_pattern,
|
/linux/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-core.h | 293 u8 test_pattern; member
|
H A D | camif-capture.c | 77 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 D | link.h | 310 enum dp_test_pattern test_pattern,
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 1549 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()
|