Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Datombios_encoders.c76 atombios_get_backlight_level(struct radeon_encoder *radeon_encoder) in atombios_get_backlight_level() argument
78 struct drm_device *dev = radeon_encoder->base.dev; in atombios_get_backlight_level()
88 atombios_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level) in atombios_set_backlight_level() argument
90 struct drm_encoder *encoder = &radeon_encoder->base; in atombios_set_backlight_level()
91 struct drm_device *dev = radeon_encoder->base.dev; in atombios_set_backlight_level()
100 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) && in atombios_set_backlight_level()
101 radeon_encoder->enc_priv) { in atombios_set_backlight_level()
102 dig = radeon_encoder->enc_priv; in atombios_set_backlight_level()
106 switch (radeon_encoder->encoder_id) { in atombios_set_backlight_level()
158 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_update_status() local
[all …]
Dradeon_audio.c249 struct radeon_encoder *radeon_encoder; in radeon_audio_enable() local
259 radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_enable()
260 dig = radeon_encoder->enc_priv; in radeon_audio_enable()
362 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_sad_regs() local
376 if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs) in radeon_audio_write_sad_regs()
377 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs()
385 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_speaker_allocation() local
400 if (radeon_encoder->audio && radeon_encoder->audio->write_speaker_allocation) in radeon_audio_write_speaker_allocation()
401 radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); in radeon_audio_write_speaker_allocation()
410 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_latency_fields() local
[all …]
Dradeon_encoders.c33 radeon_legacy_backlight_init(struct radeon_encoder *radeon_encoder,
36 radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder,
44 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_clones() local
53 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in radeon_encoder_clones()
56 if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) in radeon_encoder_clones()
61 struct radeon_encoder *radeon_clone = to_radeon_encoder(clone_encoder); in radeon_encoder_clones()
161 static void radeon_encoder_add_backlight(struct radeon_encoder *radeon_encoder, in radeon_encoder_add_backlight() argument
164 struct drm_device *dev = radeon_encoder->base.dev; in radeon_encoder_add_backlight()
168 if (!(radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))) in radeon_encoder_add_backlight()
194 radeon_atom_backlight_init(radeon_encoder, connector); in radeon_encoder_add_backlight()
[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_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_dp_mst.c10 static struct radeon_encoder *radeon_dp_create_fake_mst_encoder(struct radeon_connector *connector);
25 static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, in radeon_dp_mst_set_be_cntl()
62 static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, in radeon_dp_mst_set_stream_attrib()
103 struct radeon_encoder *primary) in radeon_dp_mst_update_stream_attribs()
114 struct radeon_encoder *subenc; in radeon_dp_mst_update_stream_attribs()
153 static int radeon_dp_mst_set_vcp_size(struct radeon_encoder *mst, uint32_t x, uint32_t y) in radeon_dp_mst_set_vcp_size()
241 struct radeon_encoder *radeon_encoder = radeon_connector->mst_encoder; in radeon_dp_mst_connector_destroy() local
243 drm_encoder_cleanup(&radeon_encoder->base); in radeon_dp_mst_connector_destroy()
244 kfree(radeon_encoder); in radeon_dp_mst_connector_destroy()
363 struct radeon_encoder *radeon_encoder = to_radeon_encoder(radeon_crtc->encoder); in radeon_dp_mst_prepare_pll() local
[all …]
Dr600_hdmi.c248 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_update_audio_infoframe() local
249 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in r600_hdmi_update_audio_infoframe()
266 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_is_audio_buffer_filled() local
267 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in r600_hdmi_is_audio_buffer_filled()
278 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_buffer_status_changed() local
279 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in r600_hdmi_buffer_status_changed()
299 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_audio_workaround() local
300 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in r600_hdmi_audio_workaround()
317 struct radeon_encoder *radeon_encoder; in r600_hdmi_audio_set_dto() local
323 radeon_encoder = to_radeon_encoder(crtc->encoder); in r600_hdmi_audio_set_dto()
[all …]
Dradeon_connectors.c161 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_get_monitor_bpc() local
162 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_get_monitor_bpc()
401 struct radeon_encoder *radeon_encoder; in radeon_get_native_mode() local
406 radeon_encoder = to_radeon_encoder(encoder); in radeon_get_native_mode()
413 radeon_encoder->native_mode = *preferred_mode; in radeon_get_native_mode()
415 radeon_encoder->native_mode.clock = 0; in radeon_get_native_mode()
478 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_fp_native_mode() local
480 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; in radeon_fp_native_mode()
509 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_add_common_modes() local
511 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; in radeon_add_common_modes()
[all …]
Ddce6_afmt.c80 struct radeon_encoder *radeon_encoder; in dce6_audio_get_pin() local
94 radeon_encoder = to_radeon_encoder(encoder); in dce6_audio_get_pin()
95 dig = radeon_encoder->enc_priv; in dce6_audio_get_pin()
113 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce6_afmt_select_pin() local
114 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_select_pin()
128 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce6_afmt_write_latency_fields() local
129 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_write_latency_fields()
156 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce6_afmt_hdmi_write_speaker_allocation() local
157 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_hdmi_write_speaker_allocation()
181 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce6_afmt_dp_write_speaker_allocation() local
[all …]
Dradeon_mode.h47 #define to_radeon_encoder(x) container_of(x, struct radeon_encoder, base)
276 struct radeon_encoder *bl_encoder;
287 struct radeon_encoder *encoder;
453 struct radeon_encoder *primary;
462 struct radeon_encoder { struct
571 struct radeon_encoder *mst_encoder;
896 radeon_atombios_get_lvds_info(struct radeon_encoder *encoder);
897 extern bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder,
899 extern bool radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder,
901 extern bool radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder,
[all …]
Dradeon_display.c803 struct radeon_encoder *radeon_encoder; in radeon_print_display_setup() local
843 radeon_encoder = to_radeon_encoder(encoder); in radeon_print_display_setup()
844 devices = radeon_encoder->devices & radeon_connector->devices; in radeon_print_display_setup()
847 DRM_INFO(" CRT1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
849 DRM_INFO(" CRT2: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
851 DRM_INFO(" LCD1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
853 DRM_INFO(" DFP1: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
855 DRM_INFO(" DFP2: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
857 DRM_INFO(" DFP3: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
859 DRM_INFO(" DFP4: %s\n", encoder_names[radeon_encoder->encoder_id]); in radeon_print_display_setup()
[all …]
Datombios_crtc.c86 struct radeon_encoder *radeon_encoder = in atombios_scaler_setup() local
95 if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { in atombios_scaler_setup()
96 struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; in atombios_scaler_setup()
561 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in atombios_adjust_pll() local
604 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) || in atombios_adjust_pll()
615 if (radeon_encoder->is_mst_encoder) { in atombios_adjust_pll()
616 struct radeon_encoder_mst *mst_enc = radeon_encoder->enc_priv; in atombios_adjust_pll()
623 if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { in atombios_adjust_pll()
636 if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1) in atombios_adjust_pll()
638 if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) in atombios_adjust_pll()
[all …]
Devergreen_hdmi.c404 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in evergreen_hdmi_enable() local
405 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in evergreen_hdmi_enable()
437 enable ? "En" : "Dis", dig->afmt->offset, radeon_encoder->encoder_id); in evergreen_hdmi_enable()
444 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in evergreen_dp_enable() local
445 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in evergreen_dp_enable()
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()
Dradeon_combios.c860 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()
1315 bool radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder, in radeon_legacy_get_tmds_info_from_table()
1331 bool radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder, in radeon_legacy_get_tmds_info_from_combios()
1384 bool radeon_legacy_get_ext_tmds_info_from_table(struct radeon_encoder *encoder, in radeon_legacy_get_ext_tmds_info_from_table()
1408 bool radeon_legacy_get_ext_tmds_info_from_combios(struct radeon_encoder *encoder, in radeon_legacy_get_ext_tmds_info_from_combios()
2834 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_external_tmds_setup() local
2835 struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; in radeon_external_tmds_setup()
2883 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_combios_external_tmds_setup() local
[all …]
Dradeon_legacy_crtc.c595 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_crtc_timing() local
596 if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { in radeon_set_crtc_timing()
789 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_pll() local
791 if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { in radeon_set_pll()
800 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_set_pll() local
801 struct radeon_encoder_lvds *lvds = (struct radeon_encoder_lvds *)radeon_encoder->enc_priv; in radeon_set_pll()
Datombios_dp.c605 struct radeon_encoder *radeon_encoder = to_radeon_encoder(dp_info->encoder); in radeon_dp_link_train_init() local
606 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_dp_link_train_init()
792 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_dp_link_train() local
800 if (!radeon_encoder->enc_priv) in radeon_dp_link_train()
802 dig = radeon_encoder->enc_priv; in radeon_dp_link_train()
Dradeon_atombios.c1337 bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder, in radeon_atombios_get_tmds_info()
1626 radeon_encoder in radeon_atombios_get_lvds_info()
1767 radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder) in radeon_atombios_get_primary_dac_info()
1953 radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder) in radeon_atombios_get_tv_dac_info()
4159 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atombios_connected_scratch_regs() local
4172 if ((radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
4185 if ((radeon_encoder->devices & ATOM_DEVICE_CV_SUPPORT) && in radeon_atombios_connected_scratch_regs()
4198 if ((radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
4212 if ((radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) && in radeon_atombios_connected_scratch_regs()
4226 if ((radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) && in radeon_atombios_connected_scratch_regs()
[all …]
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);
Dradeon_acpi.c376 struct radeon_encoder *enc = atif->encoder_for_bl; in radeon_atif_handler()
718 struct radeon_encoder *target = NULL; in radeon_acpi_init()
723 struct radeon_encoder *enc = to_radeon_encoder(tmp); in radeon_acpi_init()
Drs600.c155 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in avivo_program_fmt() local
168 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in avivo_program_fmt()
197 switch (radeon_encoder->encoder_id) { in avivo_program_fmt()
Dradeon.h1908 void (*set_backlight_level)(struct radeon_encoder *radeon_encoder, u8 level);
1910 u8 (*get_backlight_level)(struct radeon_encoder *radeon_encoder);
2294 struct radeon_encoder *encoder_for_bl;
Dr600.c294 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce3_program_fmt() local
308 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in dce3_program_fmt()
312 if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) || in dce3_program_fmt()
313 (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2)) in dce3_program_fmt()
Devergreen.c1291 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce4_program_fmt() local
1305 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in dce4_program_fmt()
1309 if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) || in dce4_program_fmt()
1310 (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2)) in dce4_program_fmt()
Dcik.c8993 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in dce8_program_fmt() local
9007 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in dce8_program_fmt()
9011 if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) || in dce8_program_fmt()
9012 (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2)) in dce8_program_fmt()