Home
last modified time | relevance | path

Searched refs:radeon_encoder (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/radeon/
Datombios_encoders.c41 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_is_digital() local
42 switch (radeon_encoder->encoder_id) { in radeon_encoder_is_digital()
64 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atom_mode_fixup() local
78 if (radeon_encoder->active_device & (ATOM_DEVICE_LCD_SUPPORT)) in radeon_atom_mode_fixup()
82 if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) { in radeon_atom_mode_fixup()
83 struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; in radeon_atom_mode_fixup()
95 ((radeon_encoder->active_device & (ATOM_DEVICE_DFP_SUPPORT | ATOM_DEVICE_LCD_SUPPORT)) || in radeon_atom_mode_fixup()
109 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in atombios_dac_setup() local
112 struct radeon_encoder_atom_dac *dac_info = radeon_encoder->enc_priv; in atombios_dac_setup()
116 switch (radeon_encoder->encoder_id) { in atombios_dac_setup()
[all …]
Dradeon_legacy_encoders.c38 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_encoder_disable() local
43 radeon_encoder->active_device = 0; in radeon_legacy_encoder_disable()
50 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_update() local
60 if (radeon_encoder->enc_priv) { in radeon_legacy_lvds_update()
62 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update()
67 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update()
138 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_dpms() local
141 if (radeon_encoder->enc_priv) { in radeon_legacy_lvds_dpms()
143 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms()
146 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms()
[all …]
Dradeon_encoders.c36 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_clones() local
45 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in radeon_encoder_clones()
48 if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) in radeon_encoder_clones()
53 struct radeon_encoder *radeon_clone = to_radeon_encoder(clone_encoder); in radeon_encoder_clones()
159 struct radeon_encoder *radeon_encoder; in radeon_link_encoder_connector() local
165 radeon_encoder = to_radeon_encoder(encoder); in radeon_link_encoder_connector()
166 if (radeon_encoder->devices & radeon_connector->devices) in radeon_link_encoder_connector()
175 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_set_active_device() local
181 radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices; in radeon_encoder_set_active_device()
183 radeon_encoder->active_device, radeon_encoder->devices, in radeon_encoder_set_active_device()
[all …]
Dr600_hdmi.c275 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_buffer_status_changed() local
278 if (!radeon_encoder->hdmi_offset) in r600_hdmi_buffer_status_changed()
282 result = radeon_encoder->hdmi_buffer_status != status; in r600_hdmi_buffer_status_changed()
283 radeon_encoder->hdmi_buffer_status = status; in r600_hdmi_buffer_status_changed()
295 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_audio_workaround() local
296 uint32_t offset = radeon_encoder->hdmi_offset; in r600_hdmi_audio_workaround()
301 if (!radeon_encoder->hdmi_audio_workaround || in r600_hdmi_audio_workaround()
428 struct radeon_encoder *radeon_encoder; in r600_hdmi_find_free_block() local
432 radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_find_free_block()
433 switch (radeon_encoder->hdmi_offset) { in r600_hdmi_find_free_block()
[all …]
Dr600_audio.c149 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_audio_update_hdmi() local
150 still_going |= radeon_encoder->audio_polling_active; in r600_audio_update_hdmi()
210 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_audio_enable_polling() local
213 radeon_encoder->audio_polling_active); in r600_audio_enable_polling()
214 if (radeon_encoder->audio_polling_active) in r600_audio_enable_polling()
217 radeon_encoder->audio_polling_active = 1; in r600_audio_enable_polling()
227 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_audio_disable_polling() local
229 radeon_encoder->audio_polling_active); in r600_audio_disable_polling()
230 radeon_encoder->audio_polling_active = 0; in r600_audio_disable_polling()
240 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_audio_set_clock() local
[all …]
Dradeon_legacy_tv.c234 …ruct radeon_tv_mode_constants *radeon_legacy_tv_get_std_mode(struct radeon_encoder *radeon_encoder, in radeon_legacy_tv_get_std_mode() argument
237 struct drm_device *dev = radeon_encoder->base.dev; in radeon_legacy_tv_get_std_mode()
240 struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; in radeon_legacy_tv_get_std_mode()
244 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); in radeon_legacy_tv_get_std_mode()
298 static void radeon_legacy_tv_write_fifo(struct radeon_encoder *radeon_encoder, in radeon_legacy_tv_write_fifo() argument
301 struct drm_device *dev = radeon_encoder->base.dev; in radeon_legacy_tv_write_fifo()
321 static uint32_t radeon_legacy_tv_read_fifo(struct radeon_encoder *radeon_encoder, uint16_t addr)
323 struct drm_device *dev = radeon_encoder->base.dev;
384 static void radeon_restore_tv_timing_tables(struct radeon_encoder *radeon_encoder) in radeon_restore_tv_timing_tables() argument
386 struct drm_device *dev = radeon_encoder->base.dev; in radeon_restore_tv_timing_tables()
[all …]
Dradeon_connectors.c44 radeon_legacy_backlight_init(struct radeon_encoder *radeon_encoder,
238 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_fp_native_mode() local
240 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; in radeon_fp_native_mode()
269 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_add_common_modes() local
271 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; in radeon_add_common_modes()
297 if (radeon_encoder->devices & (ATOM_DEVICE_TV_SUPPORT)) { in radeon_add_common_modes()
302 if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { in radeon_add_common_modes()
323 struct radeon_encoder *radeon_encoder; in radeon_connector_set_property() local
334 radeon_encoder = to_radeon_encoder(encoder); in radeon_connector_set_property()
336 if (!radeon_encoder->enc_priv) in radeon_connector_set_property()
[all …]
Dradeon_display.c608 struct radeon_encoder *radeon_encoder; in radeon_print_display_setup() local
648 radeon_encoder = to_radeon_encoder(encoder); in radeon_print_display_setup()
649 devices = radeon_encoder->devices & radeon_connector->devices; in radeon_print_display_setup()
652 DRM_INFO(" CRT1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
654 DRM_INFO(" CRT2: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
656 DRM_INFO(" LCD1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
658 DRM_INFO(" DFP1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
660 DRM_INFO(" DFP2: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
662 DRM_INFO(" DFP3: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
664 DRM_INFO(" DFP4: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
[all …]
Dradeon_mode.h47 #define to_radeon_encoder(x) container_of(x, struct radeon_encoder, base)
373 struct radeon_encoder { struct
611 radeon_atombios_get_lvds_info(struct radeon_encoder *encoder);
612 extern bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder,
614 extern bool radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder,
616 extern bool radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder,
618 extern bool radeon_legacy_get_ext_tmds_info_from_combios(struct radeon_encoder *encoder,
620 extern bool radeon_legacy_get_ext_tmds_info_from_table(struct radeon_encoder *encoder,
623 radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder);
625 radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder);
[all …]
Datombios_crtc.c98 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in atombios_scaler_setup() local
99 if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { in atombios_scaler_setup()
100 struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; in atombios_scaler_setup()
548 struct radeon_encoder *radeon_encoder = NULL; in atombios_adjust_pll() local
587 radeon_encoder = to_radeon_encoder(encoder); in atombios_adjust_pll()
593 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) || in atombios_adjust_pll()
605 if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { in atombios_adjust_pll()
618 if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1) in atombios_adjust_pll()
620 if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) in atombios_adjust_pll()
622 if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) in atombios_adjust_pll()
[all …]
Dradeon_combios.c864 radeon_encoder in radeon_combios_get_primary_dac_info()
1011 radeon_encoder in radeon_combios_get_tv_dac_info()
1170 struct radeon_encoder_lvds *radeon_combios_get_lvds_info(struct radeon_encoder in radeon_combios_get_lvds_info()
1310 bool radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder, in radeon_legacy_get_tmds_info_from_table()
1326 bool radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder, in radeon_legacy_get_tmds_info_from_combios()
1379 bool radeon_legacy_get_ext_tmds_info_from_table(struct radeon_encoder *encoder, in radeon_legacy_get_ext_tmds_info_from_table()
1403 bool radeon_legacy_get_ext_tmds_info_from_combios(struct radeon_encoder *encoder, in radeon_legacy_get_ext_tmds_info_from_combios()
2709 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_external_tmds_setup() local
2710 struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; in radeon_external_tmds_setup()
2758 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_combios_external_tmds_setup() local
[all …]
Dradeon_atombios.c1304 bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder, in radeon_atombios_get_tmds_info()
1511 radeon_encoder in radeon_atombios_get_lvds_info()
1652 radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder) in radeon_atombios_get_primary_dac_info()
1836 radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder) in radeon_atombios_get_tv_dac_info()
2861 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atombios_connected_scratch_regs() local
2874 if ((radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
2887 if ((radeon_encoder->devices & ATOM_DEVICE_CV_SUPPORT) && in radeon_atombios_connected_scratch_regs()
2900 if ((radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
2914 if ((radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
2928 if ((radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) && in radeon_atombios_connected_scratch_regs()
[all …]
Dradeon_legacy_crtc.c559 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_crtc_timing() local
560 if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { in radeon_set_crtc_timing()
753 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_pll() local
755 if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { in radeon_set_pll()
764 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_pll() local
765 struct radeon_encoder_lvds *lvds = (struct radeon_encoder_lvds *)radeon_encoder->enc_priv; in radeon_set_pll()
Datombios_dp.c763 struct radeon_encoder *radeon_encoder = to_radeon_encoder(dp_info->encoder); in radeon_dp_link_train_init() local
764 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_dp_link_train_init()
959 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_dp_link_train() local
967 if (!radeon_encoder->enc_priv) in radeon_dp_link_train()
969 dig = radeon_encoder->enc_priv; in radeon_dp_link_train()