/linux/drivers/gpu/drm/radeon/ |
A D | radeon_audio.c | 187 struct radeon_encoder *radeon_encoder; in radeon_audio_enable() local 300 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_sad_regs() local 314 if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs) in radeon_audio_write_sad_regs() 323 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_speaker_allocation() local 362 if (radeon_encoder->audio && radeon_encoder->audio->get_pin) in radeon_audio_get_pin() 372 if (radeon_encoder->audio && radeon_encoder->audio->select_pin) in radeon_audio_select_pin() 439 if (radeon_encoder->audio && radeon_encoder->audio->set_dto) in radeon_audio_set_dto() 569 if (radeon_encoder->audio && radeon_encoder->audio->update_acr) in radeon_audio_update_acr() 623 if (radeon_encoder->audio && radeon_encoder->audio->set_mute) in radeon_audio_set_mute() 701 if (radeon_encoder->audio && radeon_encoder->audio->mode_set) in radeon_audio_mode_set() [all …]
|
A D | atombios_encoders.c | 82 atombios_get_backlight_level(struct radeon_encoder *radeon_encoder) in atombios_get_backlight_level() argument 164 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_update_status() local 174 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_get_brightness() local 186 void radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder, in radeon_atom_backlight_init() argument 304 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atom_mode_fixup() local 353 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in atombios_dac_setup() local 405 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in atombios_tv_setup() local 494 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in atombios_dvo_setup() local 690 if (radeon_encoder->is_mst_encoder || radeon_encoder->offset) in atombios_get_encoder_mode() 1788 radeon_encoder->encoder_id, mode, radeon_encoder->devices, in radeon_atom_encoder_dpms() [all …]
|
A D | radeon_encoders.c | 42 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_clones() local 159 static void radeon_encoder_add_backlight(struct radeon_encoder *radeon_encoder, in radeon_encoder_add_backlight() argument 204 struct radeon_encoder *radeon_encoder; in radeon_link_encoder_connector() local 223 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_set_active_device() local 231 radeon_encoder->active_device, radeon_encoder->devices, in radeon_encoder_set_active_device() 241 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_get_connector_for_encoder() local 266 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_get_connector_for_encoder_init() local 281 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_get_external_encoder() local 304 struct radeon_encoder *radeon_encoder = to_radeon_encoder(other_encoder); in radeon_encoder_get_dp_bridge_encoder_id() local 320 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_panel_mode_fixup() local [all …]
|
A D | radeon_legacy_encoders.c | 46 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_encoder_disable() local 58 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_update() local 146 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_dpms() local 191 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_mode_set() local 258 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_mode_fixup() local 345 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_legacy_backlight_update_status() local 356 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_legacy_backlight_get_brightness() local 506 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_lvds_enc_destroy() local 592 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_primary_dac_mode_set() local 789 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_tmds_int_mode_set() local [all …]
|
A D | radeon_dp_mst.c | 262 struct radeon_encoder *radeon_encoder = radeon_connector->mst_encoder; in radeon_dp_mst_connector_destroy() local 265 kfree(radeon_encoder); in radeon_dp_mst_connector_destroy() 335 struct radeon_encoder *radeon_encoder = to_radeon_encoder(radeon_crtc->encoder); in radeon_dp_mst_prepare_pll() local 362 struct radeon_encoder *radeon_encoder, *primary; in radeon_mst_encoder_dpms() local 490 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_mst_mode_fixup() local 516 struct radeon_encoder *radeon_encoder, *primary; in radeon_mst_encoder_prepare() local 584 struct radeon_encoder *radeon_encoder; in radeon_dp_create_fake_mst_encoder() local 591 radeon_encoder = kzalloc(sizeof(*radeon_encoder), GFP_KERNEL); in radeon_dp_create_fake_mst_encoder() 592 if (!radeon_encoder) in radeon_dp_create_fake_mst_encoder() 597 kfree(radeon_encoder); in radeon_dp_create_fake_mst_encoder() [all …]
|
A D | radeon_legacy_tv.c | 237 …ruct radeon_tv_mode_constants *radeon_legacy_tv_get_std_mode(struct radeon_encoder *radeon_encoder, in radeon_legacy_tv_get_std_mode() argument 240 struct drm_device *dev = radeon_encoder->base.dev; in radeon_legacy_tv_get_std_mode() 301 static void radeon_legacy_tv_write_fifo(struct radeon_encoder *radeon_encoder, in radeon_legacy_tv_write_fifo() argument 324 static uint32_t radeon_legacy_tv_read_fifo(struct radeon_encoder *radeon_encoder, uint16_t addr) 387 static void radeon_restore_tv_timing_tables(struct radeon_encoder *radeon_encoder) in radeon_restore_tv_timing_tables() argument 414 static void radeon_legacy_write_tv_restarts(struct radeon_encoder *radeon_encoder) in radeon_legacy_write_tv_restarts() argument 426 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_tv_init_restarts() local 530 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_tv_mode_set() local 828 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_tv_adjust_crtc_reg() local 875 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_tv_adjust_pll1() local [all …]
|
A D | r600_hdmi.c | 249 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_update_audio_infoframe() local 267 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_is_audio_buffer_filled() local 279 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_buffer_status_changed() local 300 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_audio_workaround() local 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() 325 dig = radeon_encoder->enc_priv; in r600_hdmi_audio_set_dto() 416 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_update_audio_settings() local 474 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in r600_hdmi_enable() local 485 switch (radeon_encoder->encoder_id) { in r600_hdmi_enable() [all …]
|
A D | dce6_afmt.c | 81 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 …]
|
A D | radeon_connectors.c | 163 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_get_monitor_bpc() local 392 struct radeon_encoder *radeon_encoder; in radeon_get_native_mode() local 468 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_fp_native_mode() local 499 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_add_common_modes() local 553 struct radeon_encoder *radeon_encoder; in radeon_connector_set_property() local 771 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_fixup_lvds_native_mode() local 849 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_lvds_mode_valid() local 944 struct radeon_encoder *radeon_encoder; in radeon_lvds_set_property() local 1606 struct radeon_encoder *radeon_encoder; in radeon_connector_encoder_get_dp_bridge_encoder_id() local 1626 struct radeon_encoder *radeon_encoder; in radeon_connector_encoder_is_hbr2() local [all …]
|
A D | radeon_mode.h | 48 #define to_radeon_encoder(x) container_of(x, struct radeon_encoder, base) 276 struct radeon_encoder *bl_encoder; 287 struct radeon_encoder *encoder; 452 struct radeon_encoder *primary; 461 struct radeon_encoder { struct 570 struct radeon_encoder *mst_encoder; 895 radeon_atombios_get_lvds_info(struct radeon_encoder *encoder); 909 radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder); 911 radeon_combios_get_lvds_info(struct radeon_encoder *encoder); 914 radeon_combios_get_tv_dac_info(struct radeon_encoder *encoder); [all …]
|
A D | radeon_atombios.h | 35 struct radeon_encoder; 41 void radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder,
|
A D | radeon_display.c | 768 struct radeon_encoder *radeon_encoder; in radeon_print_display_setup() local 808 radeon_encoder = to_radeon_encoder(encoder); in radeon_print_display_setup() 1685 struct radeon_encoder *radeon_encoder; in radeon_crtc_scaling_mode_fixup() local 1697 radeon_encoder = to_radeon_encoder(encoder); in radeon_crtc_scaling_mode_fixup() 1702 if (radeon_encoder->rmx_type == RMX_OFF) in radeon_crtc_scaling_mode_fixup() 1705 mode->vdisplay < radeon_encoder->native_mode.vdisplay) in radeon_crtc_scaling_mode_fixup() 1706 radeon_crtc->rmx_type = radeon_encoder->rmx_type; in radeon_crtc_scaling_mode_fixup() 1711 &radeon_encoder->native_mode, in radeon_crtc_scaling_mode_fixup() 1721 ((radeon_encoder->underscan_type == UNDERSCAN_ON) || in radeon_crtc_scaling_mode_fixup() 1725 if (radeon_encoder->underscan_hborder != 0) in radeon_crtc_scaling_mode_fixup() [all …]
|
A D | atombios_crtc.c | 90 struct radeon_encoder *radeon_encoder = in atombios_scaler_setup() local 564 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in atombios_adjust_pll() local 619 if (radeon_encoder->is_mst_encoder) { in atombios_adjust_pll() 967 struct radeon_encoder *radeon_encoder = in atombios_crtc_prepare_pll() local 974 if (radeon_encoder->is_mst_encoder) { in atombios_crtc_prepare_pll() 1067 struct radeon_encoder *radeon_encoder = in atombios_crtc_set_pll() local 1876 struct radeon_encoder *radeon_encoder = in radeon_atom_pick_pll() local 1923 radeon_encoder->enc_priv; in radeon_atom_pick_pll() 2057 struct radeon_encoder *radeon_encoder = in atombios_crtc_mode_set() local 2061 if (radeon_encoder->active_device & in atombios_crtc_mode_set() [all …]
|
A D | evergreen_hdmi.c | 405 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()
|
A D | dce3_1_afmt.c | 119 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()
|
A D | radeon_legacy_encoders.h | 31 void radeon_legacy_backlight_init(struct radeon_encoder *radeon_encoder,
|
A D | radeon_combios.c | 859 radeon_encoder in radeon_combios_get_primary_dac_info() 1010 radeon_encoder in radeon_combios_get_tv_dac_info() 2838 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_external_tmds_setup() local 2887 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_combios_external_tmds_setup() local 3465 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_combios_connected_scratch_regs() local 3564 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_combios_encoder_crtc_scratch_regs() local 3567 if (radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) { in radeon_combios_encoder_crtc_scratch_regs() 3571 if (radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) { in radeon_combios_encoder_crtc_scratch_regs() 3575 if (radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) { in radeon_combios_encoder_crtc_scratch_regs() 3579 if (radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) { in radeon_combios_encoder_crtc_scratch_regs() [all …]
|
A D | radeon_legacy_crtc.c | 593 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()
|
A D | atombios_dp.c | 602 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()
|
A D | radeon_atombios.c | 1614 radeon_encoder in radeon_atombios_get_lvds_info() 4166 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atombios_connected_scratch_regs() local 4192 if ((radeon_encoder->devices & ATOM_DEVICE_CV_SUPPORT) && in radeon_atombios_connected_scratch_regs() 4348 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atombios_encoder_crtc_scratch_regs() local 4359 if (radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) { in radeon_atombios_encoder_crtc_scratch_regs() 4363 if (radeon_encoder->devices & ATOM_DEVICE_CV_SUPPORT) { in radeon_atombios_encoder_crtc_scratch_regs() 4367 if (radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) { in radeon_atombios_encoder_crtc_scratch_regs() 4371 if (radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) { in radeon_atombios_encoder_crtc_scratch_regs() 4403 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atombios_encoder_dpms_scratch_regs() local 4414 if (radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) { in radeon_atombios_encoder_dpms_scratch_regs() [all …]
|
A D | radeon_asic.h | 45 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);
|
A D | radeon_acpi.c | 386 struct radeon_encoder *enc = atif->encoder_for_bl; in radeon_atif_handler() 738 struct radeon_encoder *target = NULL; in radeon_acpi_init() 743 struct radeon_encoder *enc = to_radeon_encoder(tmp); in radeon_acpi_init()
|
A D | rs600.c | 168 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in avivo_program_fmt() local 181 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in avivo_program_fmt() 210 switch (radeon_encoder->encoder_id) { in avivo_program_fmt()
|
A D | radeon.h | 1932 void (*set_backlight_level)(struct radeon_encoder *radeon_encoder, u8 level); 1934 u8 (*get_backlight_level)(struct radeon_encoder *radeon_encoder); 2320 struct radeon_encoder *encoder_for_bl;
|
A D | r600.c | 300 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()
|