Lines Matching refs:chamelium
49 struct chamelium *chamelium; member
78 connector = chamelium_port_get_connector(data->chamelium, in get_connectors_link_status_failed()
116 connector = chamelium_port_get_connector(data->chamelium, port, true); in reprobe_connector()
198 data->chamelium, port, false); in check_analog_bridge()
233 chamelium_reset(data->chamelium); in reset_state()
259 chamelium_plug(data->chamelium, port); in test_basic_hotplug()
271 chamelium_unplug(data->chamelium, port); in test_basic_hotplug()
289 chamelium_port_set_edid(data->chamelium, port, data->edids[edid]); in set_edid()
297 data->chamelium, port, false); in test_edid_read()
305 chamelium_plug(data->chamelium, port); in test_edid_read()
359 chamelium_schedule_hpd_toggle(data->chamelium, port, delay, in try_suspend_resume_hpd()
364 chamelium_schedule_hpd_toggle(data->chamelium, port, in try_suspend_resume_hpd()
373 chamelium_wait_reachable(data->chamelium, ONLINE_TIMEOUT); in try_suspend_resume_hpd()
463 chamelium_plug(data->chamelium, port); in test_suspend_resume_edid_change()
480 chamelium_wait_reachable(data->chamelium, ONLINE_TIMEOUT); in test_suspend_resume_edid_change()
494 chamelium_port_get_connector(data->chamelium, port, false); in prepare_output()
504 chamelium_plug(data->chamelium, port); in prepare_output()
541 data->chamelium, port, false); in enable_output()
618 igt_require(chamelium_supports_trigger_link_failure(data->chamelium)); in test_link_status()
623 connector = chamelium_port_get_connector(data->chamelium, port, false); in test_link_status()
670 chamelium_trigger_link_failure(data->chamelium, port); in test_link_status()
679 connector = chamelium_port_get_connector(data->chamelium, port, in test_link_status()
775 chamelium_capture(data->chamelium, port, 0, 0, 0, 0, count); in do_test_display()
776 crc = chamelium_read_captured_crcs(data->chamelium, in do_test_display()
786 chamelium_assert_crc_eq_or_dump(data->chamelium, in do_test_display()
798 dump = chamelium_port_dump_pixels(data->chamelium, port, 0, 0, in do_test_display()
805 chamelium_assert_frame_match_or_dump(data->chamelium, port, in do_test_display()
826 connector = chamelium_port_get_connector(data->chamelium, port, false); in test_display_one_mode()
857 connector = chamelium_port_get_connector(data->chamelium, port, false); in test_display_all_modes()
892 connector = chamelium_port_get_connector(data->chamelium, port, false); in test_display_frame_dump()
908 chamelium_capture(data->chamelium, port, 0, 0, 0, 0, 5); in test_display_frame_dump()
911 data->chamelium, j); in test_display_frame_dump()
912 chamelium_assert_frame_eq(data->chamelium, frame, &fb); in test_display_frame_dump()
924 static void check_mode(struct chamelium *chamelium, struct chamelium_port *port, in check_mode() argument
933 chamelium_port_get_video_params(chamelium, port, &video_params); in check_mode()
993 igt_require(chamelium_supports_get_video_params(data->chamelium)); in test_mode_timings()
998 connector = chamelium_port_get_connector(data->chamelium, port, false); in test_mode_timings()
1016 chamelium_capture(data->chamelium, port, 0, 0, 0, 0, 0); in test_mode_timings()
1018 check_mode(data->chamelium, port, mode); in test_mode_timings()
1131 igt_require(chamelium_supports_get_last_infoframe(data->chamelium)); in test_display_aspect_ratio()
1136 connector = chamelium_port_get_connector(data->chamelium, port, false); in test_display_aspect_ratio()
1165 infoframe = chamelium_get_last_infoframe(data->chamelium, port, in test_display_aspect_ratio()
1246 struct chamelium *chamelium; member
1280 state->chamelium = data->chamelium; in audio_state_init()
1326 chamelium_start_capturing_audio(state->chamelium, state->port, false); in audio_state_start()
1343 chamelium_get_audio_format(state->chamelium, state->port, in audio_state_start()
1353 chamelium_get_audio_channel_mapping(state->chamelium, state->port, in audio_state_start()
1420 audio_file = chamelium_stop_capturing_audio(state->chamelium, in audio_state_stop()
1456 if (!chamelium_supports_get_last_infoframe(state->chamelium)) { in check_audio_infoframe()
1467 infoframe = chamelium_get_last_infoframe(state->chamelium, state->port, in check_audio_infoframe()
1848 igt_require(chamelium_has_audio_support(data->chamelium, port)); in test_display_audio()
1856 connector = chamelium_port_get_connector(data->chamelium, port, false); in test_display_audio()
1932 connector = chamelium_port_get_connector(data->chamelium, port, false); in test_display_audio_edid()
2429 chamelium_capture(data->chamelium, port, 0, 0, 0, 0, 1); in test_display_planes_random()
2430 crc = chamelium_read_captured_crcs(data->chamelium, in test_display_planes_random()
2437 chamelium_assert_crc_eq_or_dump(data->chamelium, in test_display_planes_random()
2446 dump = chamelium_port_dump_pixels(data->chamelium, port, 0, 0, in test_display_planes_random()
2448 chamelium_assert_frame_match_or_dump(data->chamelium, port, in test_display_planes_random()
2473 chamelium_port_set_ddc_state(data->chamelium, port, false); in test_hpd_without_ddc()
2474 chamelium_plug(data->chamelium, port); in test_hpd_without_ddc()
2492 chamelium_fire_hpd_pulses(data->chamelium, port, width, 10); in test_hpd_storm_detect()
2496 chamelium_fire_hpd_pulses(data->chamelium, port, width, 10); in test_hpd_storm_detect()
2517 chamelium_fire_hpd_pulses(data->chamelium, port, in test_hpd_storm_disable()
2564 data.chamelium = chamelium_init(data.drm_fd);
2565 igt_require(data.chamelium);
2567 data.ports = chamelium_get_ports(data.chamelium,
2571 data.edids[i] = chamelium_new_edid(data.chamelium,