Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_audio.c190 struct radeon_encoder *radeon_encoder; in radeon_audio_enable() local
200 radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_enable()
201 dig = radeon_encoder->enc_priv; in radeon_audio_enable()
305 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_sad_regs() local
319 if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs) in radeon_audio_write_sad_regs()
320 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs()
328 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_speaker_allocation() local
343 if (radeon_encoder->audio && radeon_encoder->audio->write_speaker_allocation) in radeon_audio_write_speaker_allocation()
344 radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); in radeon_audio_write_speaker_allocation()
353 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_latency_fields() local
[all …]
H A Datombios_encoders.c85 atombios_get_backlight_level(struct radeon_encoder *radeon_encoder) in atombios_get_backlight_level() argument
87 struct drm_device *dev = radeon_encoder->base.dev; in atombios_get_backlight_level()
97 atombios_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level) in atombios_set_backlight_level() argument
99 struct drm_encoder *encoder = &radeon_encoder->base; in atombios_set_backlight_level()
100 struct drm_device *dev = radeon_encoder->base.dev; in atombios_set_backlight_level()
109 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) && in atombios_set_backlight_level()
110 radeon_encoder->enc_priv) { in atombios_set_backlight_level()
111 dig = radeon_encoder->enc_priv; in atombios_set_backlight_level()
115 switch (radeon_encoder->encoder_id) { in atombios_set_backlight_level()
165 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_update_status() local
[all …]
H A Dradeon_encoders.c43 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_clones() local
52 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in radeon_encoder_clones()
55 if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) in radeon_encoder_clones()
60 struct radeon_encoder *radeon_clone = to_radeon_encoder(clone_encoder); in radeon_encoder_clones()
162 static void radeon_encoder_add_backlight(struct radeon_encoder *radeon_encoder, in radeon_encoder_add_backlight() argument
165 struct drm_device *dev = radeon_encoder->base.dev; in radeon_encoder_add_backlight()
169 if (!(radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))) in radeon_encoder_add_backlight()
195 radeon_atom_backlight_init(radeon_encoder, connector); in radeon_encoder_add_backlight()
197 radeon_legacy_backlight_init(radeon_encoder, connector); in radeon_encoder_add_backlight()
214 struct radeon_encoder *radeon_encoder; in radeon_link_encoder_connector() local
[all …]
H A Dradeon_legacy_encoders.c48 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_encoder_disable() local
53 radeon_encoder->active_device = 0; in radeon_legacy_encoder_disable()
60 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_update() local
70 if (radeon_encoder->enc_priv) { in radeon_legacy_lvds_update()
72 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update()
77 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update()
148 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_dpms() local
151 if (radeon_encoder->enc_priv) { in radeon_legacy_lvds_dpms()
153 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms()
156 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms()
[all …]
H A Dradeon_legacy_tv.c236 …ruct radeon_tv_mode_constants *radeon_legacy_tv_get_std_mode(struct radeon_encoder *radeon_encoder, in radeon_legacy_tv_get_std_mode() argument
239 struct drm_device *dev = radeon_encoder->base.dev; in radeon_legacy_tv_get_std_mode()
242 struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; in radeon_legacy_tv_get_std_mode()
246 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); in radeon_legacy_tv_get_std_mode()
300 static void radeon_legacy_tv_write_fifo(struct radeon_encoder *radeon_encoder, in radeon_legacy_tv_write_fifo() argument
303 struct drm_device *dev = radeon_encoder->base.dev; in radeon_legacy_tv_write_fifo()
323 static uint32_t radeon_legacy_tv_read_fifo(struct radeon_encoder *radeon_encoder, uint16_t addr)
325 struct drm_device *dev = radeon_encoder->base.dev;
386 static void radeon_restore_tv_timing_tables(struct radeon_encoder *radeon_encoder) in radeon_restore_tv_timing_tables() argument
388 struct drm_device *dev = radeon_encoder->base.dev; in radeon_restore_tv_timing_tables()
[all …]
H A Dr600_hdmi.c249 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_update_audio_infoframe() local
250 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in r600_hdmi_update_audio_infoframe()
267 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_is_audio_buffer_filled() local
268 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in r600_hdmi_is_audio_buffer_filled()
279 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_buffer_status_changed() local
280 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in r600_hdmi_buffer_status_changed()
300 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_audio_workaround() local
301 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in r600_hdmi_audio_workaround()
318 struct radeon_encoder *radeon_encoder; in r600_hdmi_audio_set_dto() local
324 radeon_encoder = to_radeon_encoder(crtc->encoder); in r600_hdmi_audio_set_dto()
[all …]
H A Ddce6_afmt.c81 struct radeon_encoder *radeon_encoder; in dce6_audio_get_pin() local
95 radeon_encoder = to_radeon_encoder(encoder); in dce6_audio_get_pin()
96 dig = radeon_encoder->enc_priv; in dce6_audio_get_pin()
114 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce6_afmt_select_pin() local
115 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_select_pin()
129 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce6_afmt_write_latency_fields() local
130 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_write_latency_fields()
157 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce6_afmt_hdmi_write_speaker_allocation() local
158 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_hdmi_write_speaker_allocation()
182 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce6_afmt_dp_write_speaker_allocation() local
[all …]
H A Dradeon_connectors.c142 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_get_monitor_bpc() local
143 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_get_monitor_bpc()
368 struct radeon_encoder *radeon_encoder; in radeon_get_native_mode() local
373 radeon_encoder = to_radeon_encoder(encoder); in radeon_get_native_mode()
380 radeon_encoder->native_mode = *preferred_mode; in radeon_get_native_mode()
382 radeon_encoder->native_mode.clock = 0; in radeon_get_native_mode()
444 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_fp_native_mode() local
446 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; in radeon_fp_native_mode()
479 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_add_common_modes() local
481 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; in radeon_add_common_modes()
[all …]
H A Dradeon_atombios.h35 struct radeon_encoder;
41 void radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder,
H A Dradeon_display.c773 struct radeon_encoder *radeon_encoder; in radeon_print_display_setup() local
813 radeon_encoder = to_radeon_encoder(encoder); in radeon_print_display_setup()
814 devices = radeon_encoder->devices & radeon_connector->devices; in radeon_print_display_setup()
817 DRM_INFO(" CRT1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
819 DRM_INFO(" CRT2: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
821 DRM_INFO(" LCD1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
823 DRM_INFO(" DFP1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
825 DRM_INFO(" DFP2: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
827 DRM_INFO(" DFP3: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
829 DRM_INFO(" DFP4: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
[all …]
H A Dradeon_mode.h47 #define to_radeon_encoder(x) container_of(x, struct radeon_encoder, base)
271 struct radeon_encoder *bl_encoder;
280 struct radeon_encoder *encoder;
440 struct radeon_encoder { struct
856 radeon_atombios_get_lvds_info(struct radeon_encoder *encoder);
857 extern bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder,
859 extern bool radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder,
861 extern bool radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder,
863 extern bool radeon_legacy_get_ext_tmds_info_from_combios(struct radeon_encoder *encoder,
865 extern bool radeon_legacy_get_ext_tmds_info_from_table(struct radeon_encoder *encoder,
[all …]
H A Datombios_crtc.c90 struct radeon_encoder *radeon_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()
564 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in atombios_adjust_pll() local
608 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) || in atombios_adjust_pll()
620 if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { in atombios_adjust_pll()
635 if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1) in atombios_adjust_pll()
637 if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) in atombios_adjust_pll()
639 if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) in atombios_adjust_pll()
688 args.v1.ucTransmitterID = radeon_encoder->encoder_id; in atombios_adjust_pll()
[all …]
H A Dradeon_legacy_encoders.h31 void radeon_legacy_backlight_init(struct radeon_encoder *radeon_encoder,
H A Ddce3_1_afmt.c119 struct radeon_encoder *radeon_encoder; in dce3_2_audio_set_dto() local
129 radeon_encoder = to_radeon_encoder(crtc->encoder); in dce3_2_audio_set_dto()
130 dig = radeon_encoder->enc_priv; in dce3_2_audio_set_dto()
H A Devergreen_hdmi.c405 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in evergreen_hdmi_enable() local
406 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in evergreen_hdmi_enable()
438 enable ? "En" : "Dis", dig->afmt->offset, radeon_encoder->encoder_id); in evergreen_hdmi_enable()
445 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in evergreen_dp_enable() local
446 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in evergreen_dp_enable()
H A Dradeon_combios.c859 radeon_encoder in radeon_combios_get_primary_dac_info()
1010 radeon_encoder in radeon_combios_get_tv_dac_info()
1169 struct radeon_encoder_lvds *radeon_combios_get_lvds_info(struct radeon_encoder in radeon_combios_get_lvds_info()
1314 bool radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder, in radeon_legacy_get_tmds_info_from_table()
1330 bool radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder, in radeon_legacy_get_tmds_info_from_combios()
1383 bool radeon_legacy_get_ext_tmds_info_from_table(struct radeon_encoder *encoder, in radeon_legacy_get_ext_tmds_info_from_table()
1407 bool radeon_legacy_get_ext_tmds_info_from_combios(struct radeon_encoder *encoder, in radeon_legacy_get_ext_tmds_info_from_combios()
2838 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_external_tmds_setup() local
2839 struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; in radeon_external_tmds_setup()
2887 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_combios_external_tmds_setup() local
[all …]
H A Dradeon_legacy_crtc.c593 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_crtc_timing() local
594 if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { in radeon_set_crtc_timing()
787 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_pll() local
789 if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { in radeon_set_pll()
798 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_pll() local
799 struct radeon_encoder_lvds *lvds = (struct radeon_encoder_lvds *)radeon_encoder->enc_priv; in radeon_set_pll()
H A Datombios_dp.c602 struct radeon_encoder *radeon_encoder = to_radeon_encoder(dp_info->encoder); in radeon_dp_link_train_init() local
603 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_dp_link_train_init()
789 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_dp_link_train() local
797 if (!radeon_encoder->enc_priv) in radeon_dp_link_train()
799 dig = radeon_encoder->enc_priv; in radeon_dp_link_train()
H A Dradeon_atombios.c1327 bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder, in radeon_atombios_get_tmds_info()
1616 radeon_encoder in radeon_atombios_get_lvds_info()
1763 radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder) in radeon_atombios_get_primary_dac_info()
1949 radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder) in radeon_atombios_get_tv_dac_info()
4174 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atombios_connected_scratch_regs() local
4187 if ((radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
4200 if ((radeon_encoder->devices & ATOM_DEVICE_CV_SUPPORT) && in radeon_atombios_connected_scratch_regs()
4213 if ((radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
4227 if ((radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
4241 if ((radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) && in radeon_atombios_connected_scratch_regs()
[all …]
H A Dradeon_asic.h45 void atombios_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level);
46 u8 atombios_get_backlight_level(struct radeon_encoder *radeon_encoder);
47 void radeon_legacy_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level);
48 u8 radeon_legacy_get_backlight_level(struct radeon_encoder *radeon_encoder);
H A Dradeon_acpi.c386 struct radeon_encoder *enc = atif->encoder_for_bl; in radeon_atif_handler()
736 struct radeon_encoder *target = NULL; in radeon_acpi_init()
741 struct radeon_encoder *enc = to_radeon_encoder(tmp); in radeon_acpi_init()
H A Drs600.c169 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in avivo_program_fmt() local
182 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in avivo_program_fmt()
211 switch (radeon_encoder->encoder_id) { in avivo_program_fmt()
H A Dradeon.h1896 void (*set_backlight_level)(struct radeon_encoder *radeon_encoder, u8 level);
1898 u8 (*get_backlight_level)(struct radeon_encoder *radeon_encoder);
2280 struct radeon_encoder *encoder_for_bl;
H A Dr600.c300 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce3_program_fmt() local
314 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in dce3_program_fmt()
318 if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) || in dce3_program_fmt()
319 (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2)) in dce3_program_fmt()
H A Devergreen.c1295 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce4_program_fmt() local
1309 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in dce4_program_fmt()
1313 if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) || in dce4_program_fmt()
1314 (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2)) in dce4_program_fmt()

12