radeon_encoder 90 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder *radeon_encoder = radeon_encoder 99 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { radeon_encoder 100 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 565 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 609 drivers/gpu/drm/radeon/atombios_crtc.c if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) || radeon_encoder 620 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->is_mst_encoder) { radeon_encoder 621 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder_mst *mst_enc = radeon_encoder->enc_priv; radeon_encoder 628 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 643 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1) radeon_encoder 645 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 647 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) radeon_encoder 696 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucTransmitterID = radeon_encoder->encoder_id; radeon_encoder 708 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucTransmitterID = radeon_encoder->encoder_id; radeon_encoder 719 drivers/gpu/drm/radeon/atombios_crtc.c } else if (radeon_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { radeon_encoder 720 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 968 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder *radeon_encoder = radeon_encoder 975 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->is_mst_encoder) { radeon_encoder 977 drivers/gpu/drm/radeon/atombios_crtc.c } else if ((radeon_encoder->active_device & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) || radeon_encoder 979 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 1068 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder *radeon_encoder = radeon_encoder 1101 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1116 drivers/gpu/drm/radeon/atombios_crtc.c encoder_mode, radeon_encoder->encoder_id, clock, radeon_encoder 1880 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder *radeon_encoder = radeon_encoder 1927 drivers/gpu/drm/radeon/atombios_crtc.c radeon_encoder->enc_priv; radeon_encoder 1929 drivers/gpu/drm/radeon/atombios_crtc.c if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_UNIPHY) && radeon_encoder 2061 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder *radeon_encoder = radeon_encoder 2065 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_encoder->active_device & radeon_encoder 2119 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_encoder *radeon_encoder = radeon_encoder 2122 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->output_csc = radeon_encoder->output_csc; radeon_encoder 604 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(dp_info->encoder); radeon_encoder 605 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 791 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 799 drivers/gpu/drm/radeon/atombios_dp.c if (!radeon_encoder->enc_priv) radeon_encoder 801 drivers/gpu/drm/radeon/atombios_dp.c dig = radeon_encoder->enc_priv; radeon_encoder 81 drivers/gpu/drm/radeon/atombios_encoders.c atombios_get_backlight_level(struct radeon_encoder *radeon_encoder) radeon_encoder 83 drivers/gpu/drm/radeon/atombios_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 93 drivers/gpu/drm/radeon/atombios_encoders.c atombios_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level) radeon_encoder 95 drivers/gpu/drm/radeon/atombios_encoders.c struct drm_encoder *encoder = &radeon_encoder->base; radeon_encoder 96 drivers/gpu/drm/radeon/atombios_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 105 drivers/gpu/drm/radeon/atombios_encoders.c if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) && radeon_encoder 106 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv) { radeon_encoder 107 drivers/gpu/drm/radeon/atombios_encoders.c dig = radeon_encoder->enc_priv; radeon_encoder 111 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 163 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = pdata->encoder; radeon_encoder 165 drivers/gpu/drm/radeon/atombios_encoders.c atombios_set_backlight_level(radeon_encoder, radeon_atom_bl_level(bd)); radeon_encoder 173 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = pdata->encoder; radeon_encoder 174 drivers/gpu/drm/radeon/atombios_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 185 drivers/gpu/drm/radeon/atombios_encoders.c void radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder, radeon_encoder 188 drivers/gpu/drm/radeon/atombios_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 203 drivers/gpu/drm/radeon/atombios_encoders.c if (!radeon_encoder->enc_priv) radeon_encoder 230 drivers/gpu/drm/radeon/atombios_encoders.c pdata->encoder = radeon_encoder; radeon_encoder 232 drivers/gpu/drm/radeon/atombios_encoders.c dig = radeon_encoder->enc_priv; radeon_encoder 247 drivers/gpu/drm/radeon/atombios_encoders.c rdev->mode_info.bl_encoder = radeon_encoder; radeon_encoder 256 drivers/gpu/drm/radeon/atombios_encoders.c static void radeon_atom_backlight_exit(struct radeon_encoder *radeon_encoder) radeon_encoder 258 drivers/gpu/drm/radeon/atombios_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 263 drivers/gpu/drm/radeon/atombios_encoders.c if (!radeon_encoder->enc_priv) radeon_encoder 272 drivers/gpu/drm/radeon/atombios_encoders.c dig = radeon_encoder->enc_priv; radeon_encoder 289 drivers/gpu/drm/radeon/atombios_encoders.c void radeon_atom_backlight_init(struct radeon_encoder *encoder) radeon_encoder 293 drivers/gpu/drm/radeon/atombios_encoders.c static void radeon_atom_backlight_exit(struct radeon_encoder *encoder) radeon_encoder 307 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 325 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 327 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) { radeon_encoder 328 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 337 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_encoder->rmx_type != RMX_OFF) { radeon_encoder 342 drivers/gpu/drm/radeon/atombios_encoders.c ((radeon_encoder->active_device & (ATOM_DEVICE_DFP_SUPPORT | ATOM_DEVICE_LCD_SUPPORT)) || radeon_encoder 356 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 359 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dac *dac_info = radeon_encoder->enc_priv; radeon_encoder 363 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 376 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_CRT_SUPPORT)) radeon_encoder 378 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 397 drivers/gpu/drm/radeon/atombios_encoders.c args.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 408 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 411 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dac *dac_info = radeon_encoder->enc_priv; radeon_encoder 419 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 453 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 497 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 518 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 526 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 530 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 536 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v3.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 542 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v4.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 569 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 570 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 584 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 593 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) radeon_encoder 612 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 613 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 621 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 637 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 642 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 660 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 682 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 689 drivers/gpu/drm/radeon/atombios_encoders.c dig_enc = radeon_encoder->enc_priv; radeon_encoder 693 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->is_mst_encoder || radeon_encoder->offset) radeon_encoder 700 drivers/gpu/drm/radeon/atombios_encoders.c if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_DVO1) || radeon_encoder 701 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1)) radeon_encoder 850 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 851 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 893 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 901 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 906 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 930 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 938 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 953 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 961 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1020 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1021 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 1071 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1102 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1103 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); radeon_encoder 1105 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 1116 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_UNIPHY)) { radeon_encoder 1118 drivers/gpu/drm/radeon/atombios_encoders.c !radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) { radeon_encoder 1142 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { radeon_encoder 1145 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1159 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1160 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); radeon_encoder 1162 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 1169 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1184 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { radeon_encoder 1187 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1201 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1202 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); radeon_encoder 1204 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 1209 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1229 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1243 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { radeon_encoder 1246 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1260 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1261 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); radeon_encoder 1263 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 1268 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1291 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1305 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { radeon_encoder 1308 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1317 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.usSymClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 1319 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1344 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1358 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { radeon_encoder 1444 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1445 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *ext_radeon_encoder = to_radeon_encoder(ext_encoder); radeon_encoder 1485 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.sDigEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 1492 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1502 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); radeon_encoder 1511 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) radeon_encoder 1545 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1560 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1563 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 1582 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1588 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1602 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) radeon_encoder 1609 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1611 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 1618 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1620 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 1633 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_DDI) { radeon_encoder 1640 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 1642 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 1644 drivers/gpu/drm/radeon/atombios_encoders.c atombios_set_backlight_level(radeon_encoder, dig->backlight_level); radeon_encoder 1656 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 1669 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1671 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 1682 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) && radeon_encoder 1728 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 1730 drivers/gpu/drm/radeon/atombios_encoders.c atombios_set_backlight_level(radeon_encoder, dig->backlight_level); radeon_encoder 1752 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) radeon_encoder 1787 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1791 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->encoder_id, mode, radeon_encoder->devices, radeon_encoder 1792 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->active_device); radeon_encoder 1799 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1868 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1888 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_DAC1) { radeon_encoder 1894 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1901 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) radeon_encoder 1913 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1915 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 1922 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1924 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 1942 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 1947 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1953 drivers/gpu/drm/radeon/atombios_encoders.c dig = radeon_encoder->enc_priv; radeon_encoder 1982 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1984 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 1990 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1992 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 2065 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2072 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) { radeon_encoder 2084 drivers/gpu/drm/radeon/atombios_encoders.c (!(radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)))) { radeon_encoder 2119 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2121 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 2131 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 2168 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 2208 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_test_encoder; radeon_encoder 2223 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_LVTMA) { radeon_encoder 2252 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2255 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 2280 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2284 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->pixel_clock = adjusted_mode->clock; radeon_encoder 2290 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT | ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 2296 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 2320 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_TV_SUPPORT | ATOM_DEVICE_CV_SUPPORT)) { radeon_encoder 2321 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT | ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 2343 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2346 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_TV_SUPPORT | radeon_encoder 2360 drivers/gpu/drm/radeon/atombios_encoders.c if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_DAC1) || radeon_encoder 2361 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1)) radeon_encoder 2392 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2406 drivers/gpu/drm/radeon/atombios_encoders.c DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, radeon_encoder->devices); radeon_encoder 2433 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2453 drivers/gpu/drm/radeon/atombios_encoders.c DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, radeon_encoder->devices); radeon_encoder 2490 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2493 drivers/gpu/drm/radeon/atombios_encoders.c if ((radeon_encoder->active_device & radeon_encoder 2497 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 2502 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->active_device & ATOM_DEVICE_DFP_SUPPORT) { radeon_encoder 2551 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2560 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *other_radeon_encoder; radeon_encoder 2564 drivers/gpu/drm/radeon/atombios_encoders.c if ((radeon_encoder->encoder_id == other_radeon_encoder->encoder_id) && radeon_encoder 2572 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 2596 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_TV_SUPPORT | ATOM_DEVICE_CV_SUPPORT)) radeon_encoder 2608 drivers/gpu/drm/radeon/atombios_encoders.c dig = radeon_encoder->enc_priv; radeon_encoder 2611 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->active_device = 0; radeon_encoder 2614 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->active_device = 0; radeon_encoder 2677 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2678 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) radeon_encoder 2679 drivers/gpu/drm/radeon/atombios_encoders.c radeon_atom_backlight_exit(radeon_encoder); radeon_encoder 2680 drivers/gpu/drm/radeon/atombios_encoders.c kfree(radeon_encoder->enc_priv); radeon_encoder 2682 drivers/gpu/drm/radeon/atombios_encoders.c kfree(radeon_encoder); radeon_encoder 2690 drivers/gpu/drm/radeon/atombios_encoders.c radeon_atombios_set_dac_info(struct radeon_encoder *radeon_encoder) radeon_encoder 2692 drivers/gpu/drm/radeon/atombios_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 2704 drivers/gpu/drm/radeon/atombios_encoders.c radeon_atombios_set_dig_info(struct radeon_encoder *radeon_encoder) radeon_encoder 2706 drivers/gpu/drm/radeon/atombios_encoders.c int encoder_enum = (radeon_encoder->encoder_enum & ENUM_ID_MASK) >> ENUM_ID_SHIFT; radeon_encoder 2732 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_encoder *radeon_encoder; radeon_encoder 2736 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2737 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->encoder_enum == encoder_enum) { radeon_encoder 2738 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->devices |= supported_device; radeon_encoder 2745 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder = kzalloc(sizeof(struct radeon_encoder), GFP_KERNEL); radeon_encoder 2746 drivers/gpu/drm/radeon/atombios_encoders.c if (!radeon_encoder) radeon_encoder 2749 drivers/gpu/drm/radeon/atombios_encoders.c encoder = &radeon_encoder->base; radeon_encoder 2766 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv = NULL; radeon_encoder 2768 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->encoder_enum = encoder_enum; radeon_encoder 2769 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->encoder_id = (encoder_enum & OBJECT_ID_MASK) >> OBJECT_ID_SHIFT; radeon_encoder 2770 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->devices = supported_device; radeon_encoder 2771 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->rmx_type = RMX_OFF; radeon_encoder 2772 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->underscan_type = UNDERSCAN_OFF; radeon_encoder 2773 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->is_ext_encoder = false; radeon_encoder 2774 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->caps = caps; radeon_encoder 2776 drivers/gpu/drm/radeon/atombios_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 2781 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 2782 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->rmx_type = RMX_FULL; radeon_encoder 2785 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv = radeon_atombios_get_lvds_info(radeon_encoder); radeon_encoder 2789 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv = radeon_atombios_set_dig_info(radeon_encoder); radeon_encoder 2796 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv = radeon_atombios_set_dac_info(radeon_encoder); radeon_encoder 2804 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv = radeon_atombios_set_dac_info(radeon_encoder); radeon_encoder 2815 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 2816 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->rmx_type = RMX_FULL; radeon_encoder 2819 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv = radeon_atombios_get_lvds_info(radeon_encoder); radeon_encoder 2820 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT)) { radeon_encoder 2823 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv = radeon_atombios_set_dig_info(radeon_encoder); radeon_encoder 2827 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->enc_priv = radeon_atombios_set_dig_info(radeon_encoder); radeon_encoder 2841 drivers/gpu/drm/radeon/atombios_encoders.c radeon_encoder->is_ext_encoder = true; radeon_encoder 2842 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) radeon_encoder 2845 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT)) radeon_encoder 8748 drivers/gpu/drm/radeon/cik.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 8762 drivers/gpu/drm/radeon/cik.c if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) radeon_encoder 8766 drivers/gpu/drm/radeon/cik.c if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) || radeon_encoder 8767 drivers/gpu/drm/radeon/cik.c (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2)) radeon_encoder 119 drivers/gpu/drm/radeon/dce3_1_afmt.c struct radeon_encoder *radeon_encoder; radeon_encoder 129 drivers/gpu/drm/radeon/dce3_1_afmt.c radeon_encoder = to_radeon_encoder(crtc->encoder); radeon_encoder 130 drivers/gpu/drm/radeon/dce3_1_afmt.c dig = radeon_encoder->enc_priv; radeon_encoder 80 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder *radeon_encoder; radeon_encoder 94 drivers/gpu/drm/radeon/dce6_afmt.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 95 drivers/gpu/drm/radeon/dce6_afmt.c dig = radeon_encoder->enc_priv; radeon_encoder 113 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 114 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 128 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 129 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 156 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 157 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 181 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 182 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 206 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 207 drivers/gpu/drm/radeon/dce6_afmt.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 1299 drivers/gpu/drm/radeon/evergreen.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1313 drivers/gpu/drm/radeon/evergreen.c if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) radeon_encoder 1317 drivers/gpu/drm/radeon/evergreen.c if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) || radeon_encoder 1318 drivers/gpu/drm/radeon/evergreen.c (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2)) radeon_encoder 404 drivers/gpu/drm/radeon/evergreen_hdmi.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 405 drivers/gpu/drm/radeon/evergreen_hdmi.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 437 drivers/gpu/drm/radeon/evergreen_hdmi.c enable ? "En" : "Dis", dig->afmt->offset, radeon_encoder->encoder_id); radeon_encoder 444 drivers/gpu/drm/radeon/evergreen_hdmi.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 445 drivers/gpu/drm/radeon/evergreen_hdmi.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 300 drivers/gpu/drm/radeon/r600.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 314 drivers/gpu/drm/radeon/r600.c if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) radeon_encoder 318 drivers/gpu/drm/radeon/r600.c if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) || radeon_encoder 319 drivers/gpu/drm/radeon/r600.c (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2)) radeon_encoder 248 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 249 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 266 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 267 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 278 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 279 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 299 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 300 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 317 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder *radeon_encoder; radeon_encoder 323 drivers/gpu/drm/radeon/r600_hdmi.c radeon_encoder = to_radeon_encoder(crtc->encoder); radeon_encoder 324 drivers/gpu/drm/radeon/r600_hdmi.c dig = radeon_encoder->enc_priv; radeon_encoder 415 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 416 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 473 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 474 drivers/gpu/drm/radeon/r600_hdmi.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 484 drivers/gpu/drm/radeon/r600_hdmi.c switch (radeon_encoder->encoder_id) { radeon_encoder 515 drivers/gpu/drm/radeon/r600_hdmi.c radeon_encoder->encoder_id); radeon_encoder 533 drivers/gpu/drm/radeon/r600_hdmi.c enable ? "En" : "Dis", dig->afmt->offset, radeon_encoder->encoder_id); radeon_encoder 1902 drivers/gpu/drm/radeon/radeon.h void (*set_backlight_level)(struct radeon_encoder *radeon_encoder, u8 level); radeon_encoder 1904 drivers/gpu/drm/radeon/radeon.h u8 (*get_backlight_level)(struct radeon_encoder *radeon_encoder); radeon_encoder 2288 drivers/gpu/drm/radeon/radeon.h struct radeon_encoder *encoder_for_bl; radeon_encoder 387 drivers/gpu/drm/radeon/radeon_acpi.c struct radeon_encoder *enc = atif->encoder_for_bl; radeon_encoder 739 drivers/gpu/drm/radeon/radeon_acpi.c struct radeon_encoder *target = NULL; radeon_encoder 744 drivers/gpu/drm/radeon/radeon_acpi.c struct radeon_encoder *enc = to_radeon_encoder(tmp); radeon_encoder 45 drivers/gpu/drm/radeon/radeon_asic.h void atombios_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level); radeon_encoder 46 drivers/gpu/drm/radeon/radeon_asic.h u8 atombios_get_backlight_level(struct radeon_encoder *radeon_encoder); radeon_encoder 47 drivers/gpu/drm/radeon/radeon_asic.h void radeon_legacy_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level); radeon_encoder 48 drivers/gpu/drm/radeon/radeon_asic.h u8 radeon_legacy_get_backlight_level(struct radeon_encoder *radeon_encoder); radeon_encoder 1341 drivers/gpu/drm/radeon/radeon_atombios.c bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder, radeon_encoder 1630 drivers/gpu/drm/radeon/radeon_atombios.c radeon_encoder radeon_encoder 1771 drivers/gpu/drm/radeon/radeon_atombios.c radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder) radeon_encoder 1957 drivers/gpu/drm/radeon/radeon_atombios.c radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder) radeon_encoder 4172 drivers/gpu/drm/radeon/radeon_atombios.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 4185 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) && radeon_encoder 4198 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_CV_SUPPORT) && radeon_encoder 4211 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) && radeon_encoder 4225 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) && radeon_encoder 4239 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) && radeon_encoder 4253 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_DFP1_SUPPORT) && radeon_encoder 4267 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) && radeon_encoder 4281 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_DFP3_SUPPORT) && radeon_encoder 4295 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_DFP4_SUPPORT) && radeon_encoder 4309 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_DFP5_SUPPORT) && radeon_encoder 4323 drivers/gpu/drm/radeon/radeon_atombios.c if ((radeon_encoder->devices & ATOM_DEVICE_DFP6_SUPPORT) && radeon_encoder 4354 drivers/gpu/drm/radeon/radeon_atombios.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 4365 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) { radeon_encoder 4369 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_CV_SUPPORT) { radeon_encoder 4373 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) { radeon_encoder 4377 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) { radeon_encoder 4381 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) { radeon_encoder 4385 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP1_SUPPORT) { radeon_encoder 4389 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) { radeon_encoder 4393 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP3_SUPPORT) { radeon_encoder 4409 drivers/gpu/drm/radeon/radeon_atombios.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 4420 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) { radeon_encoder 4426 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_CV_SUPPORT) { radeon_encoder 4432 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) { radeon_encoder 4438 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) { radeon_encoder 4444 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) { radeon_encoder 4450 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP1_SUPPORT) { radeon_encoder 4456 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) { radeon_encoder 4462 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP3_SUPPORT) { radeon_encoder 4468 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP4_SUPPORT) { radeon_encoder 4474 drivers/gpu/drm/radeon/radeon_atombios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP5_SUPPORT) { radeon_encoder 249 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder; radeon_encoder 259 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 260 drivers/gpu/drm/radeon/radeon_audio.c dig = radeon_encoder->enc_priv; radeon_encoder 362 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 376 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs) radeon_encoder 377 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); radeon_encoder 385 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 400 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->write_speaker_allocation) radeon_encoder 401 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); radeon_encoder 410 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 415 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->write_latency_fields) radeon_encoder 416 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->write_latency_fields(encoder, connector, mode); radeon_encoder 422 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 424 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->get_pin) radeon_encoder 425 drivers/gpu/drm/radeon/radeon_audio.c return radeon_encoder->audio->get_pin(rdev); radeon_encoder 432 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 434 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->select_pin) radeon_encoder 435 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->select_pin(encoder); radeon_encoder 444 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 453 drivers/gpu/drm/radeon/radeon_audio.c dig = radeon_encoder->enc_priv; radeon_encoder 461 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio = rdev->audio.dp_funcs; radeon_encoder 463 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio = rdev->audio.hdmi_funcs; radeon_encoder 465 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio = rdev->audio.hdmi_funcs; radeon_encoder 498 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 501 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->set_dto) radeon_encoder 502 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->set_dto(rdev, crtc, clock); radeon_encoder 509 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 510 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 525 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->output_csc != RADEON_OUTPUT_CSC_BYPASS) { radeon_encoder 527 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->output_csc == RADEON_OUTPUT_CSC_TVRGB ? radeon_encoder 538 drivers/gpu/drm/radeon/radeon_audio.c if (dig && dig->afmt && radeon_encoder->audio && radeon_encoder 539 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->set_avi_packet) radeon_encoder 540 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->set_avi_packet(rdev, dig->afmt->offset, radeon_encoder 625 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 626 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 631 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->update_acr) radeon_encoder 632 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->update_acr(encoder, dig->afmt->offset, acr); radeon_encoder 637 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 638 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 643 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->set_vbi_packet) radeon_encoder 644 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->set_vbi_packet(encoder, dig->afmt->offset); radeon_encoder 650 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 651 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 661 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->set_color_depth) radeon_encoder 662 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->set_color_depth(encoder, dig->afmt->offset, bpc); radeon_encoder 667 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 668 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 673 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->set_audio_packet) radeon_encoder 674 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->set_audio_packet(encoder, dig->afmt->offset); radeon_encoder 679 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 680 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 685 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->set_mute) radeon_encoder 686 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->set_mute(encoder, dig->afmt->offset, mute); radeon_encoder 695 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 696 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 735 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 736 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 761 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 763 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->mode_set) radeon_encoder 764 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->mode_set(encoder, mode); radeon_encoder 769 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 771 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_encoder->audio && radeon_encoder->audio->dpms) radeon_encoder 772 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->dpms(encoder, mode == DRM_MODE_DPMS_ON); radeon_encoder 862 drivers/gpu/drm/radeon/radeon_combios.c radeon_encoder radeon_encoder 1013 drivers/gpu/drm/radeon/radeon_combios.c radeon_encoder radeon_encoder 1172 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_lvds *radeon_combios_get_lvds_info(struct radeon_encoder radeon_encoder 1317 drivers/gpu/drm/radeon/radeon_combios.c bool radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder, radeon_encoder 1333 drivers/gpu/drm/radeon/radeon_combios.c bool radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder, radeon_encoder 1386 drivers/gpu/drm/radeon/radeon_combios.c bool radeon_legacy_get_ext_tmds_info_from_table(struct radeon_encoder *encoder, radeon_encoder 1410 drivers/gpu/drm/radeon/radeon_combios.c bool radeon_legacy_get_ext_tmds_info_from_combios(struct radeon_encoder *encoder, radeon_encoder 2839 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2840 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; radeon_encoder 2888 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 2893 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; radeon_encoder 3466 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 3470 drivers/gpu/drm/radeon/radeon_combios.c if ((radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) && radeon_encoder 3486 drivers/gpu/drm/radeon/radeon_combios.c if ((radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) && radeon_encoder 3500 drivers/gpu/drm/radeon/radeon_combios.c if ((radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) && radeon_encoder 3514 drivers/gpu/drm/radeon/radeon_combios.c if ((radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) && radeon_encoder 3528 drivers/gpu/drm/radeon/radeon_combios.c if ((radeon_encoder->devices & ATOM_DEVICE_DFP1_SUPPORT) && radeon_encoder 3542 drivers/gpu/drm/radeon/radeon_combios.c if ((radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) && radeon_encoder 3565 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 3568 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & ATOM_DEVICE_TV1_SUPPORT) { radeon_encoder 3572 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) { radeon_encoder 3576 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) { radeon_encoder 3580 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) { radeon_encoder 3584 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP1_SUPPORT) { radeon_encoder 3588 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) { radeon_encoder 3600 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 3603 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & (ATOM_DEVICE_TV_SUPPORT)) { radeon_encoder 3609 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT)) { radeon_encoder 3615 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 3621 drivers/gpu/drm/radeon/radeon_combios.c if (radeon_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { radeon_encoder 163 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 164 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; radeon_encoder 395 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder; radeon_encoder 400 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 407 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->native_mode = *preferred_mode; radeon_encoder 409 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->native_mode.clock = 0; radeon_encoder 472 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 474 drivers/gpu/drm/radeon/radeon_connectors.c struct drm_display_mode *native_mode = &radeon_encoder->native_mode; radeon_encoder 503 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 505 drivers/gpu/drm/radeon/radeon_connectors.c struct drm_display_mode *native_mode = &radeon_encoder->native_mode; radeon_encoder 531 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->devices & (ATOM_DEVICE_TV_SUPPORT)) { radeon_encoder 536 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { radeon_encoder 557 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder; radeon_encoder 568 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 570 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_encoder->enc_priv) radeon_encoder 573 drivers/gpu/drm/radeon/radeon_connectors.c dig = radeon_encoder->enc_priv; radeon_encoder 577 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 588 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 592 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 603 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 607 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 617 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 619 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->underscan_type != val) { radeon_encoder 620 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->underscan_type = val; radeon_encoder 621 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 631 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 633 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->underscan_hborder != val) { radeon_encoder 634 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->underscan_hborder = val; radeon_encoder 635 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 645 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 647 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->underscan_vborder != val) { radeon_encoder 648 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->underscan_vborder = val; radeon_encoder 649 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 662 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 663 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_encoder->enc_priv) radeon_encoder 667 drivers/gpu/drm/radeon/radeon_connectors.c dac_int = radeon_encoder->enc_priv; radeon_encoder 671 drivers/gpu/drm/radeon/radeon_connectors.c dac_int = radeon_encoder->enc_priv; radeon_encoder 674 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 695 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 697 drivers/gpu/drm/radeon/radeon_connectors.c tmds = radeon_encoder->enc_priv; radeon_encoder 703 drivers/gpu/drm/radeon/radeon_connectors.c ret = radeon_atombios_get_tmds_info(radeon_encoder, tmds); radeon_encoder 705 drivers/gpu/drm/radeon/radeon_connectors.c ret = radeon_legacy_get_tmds_info_from_combios(radeon_encoder, tmds); radeon_encoder 708 drivers/gpu/drm/radeon/radeon_connectors.c radeon_legacy_get_tmds_info_from_table(radeon_encoder, tmds); radeon_encoder 710 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 717 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(connector->encoder); radeon_encoder 720 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(connector_funcs->best_encoder(connector)); radeon_encoder 730 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->rmx_type == rmx_type) radeon_encoder 734 drivers/gpu/drm/radeon/radeon_connectors.c (radeon_encoder->native_mode.clock == 0)) radeon_encoder 737 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->rmx_type = rmx_type; radeon_encoder 739 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 744 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(connector->encoder); radeon_encoder 747 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(connector_funcs->best_encoder(connector)); radeon_encoder 750 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->output_csc == val) radeon_encoder 753 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->output_csc = val; radeon_encoder 759 drivers/gpu/drm/radeon/radeon_connectors.c radeon_crtc->output_csc = radeon_encoder->output_csc; radeon_encoder 775 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 776 drivers/gpu/drm/radeon/radeon_connectors.c struct drm_display_mode *native_mode = &radeon_encoder->native_mode; radeon_encoder 803 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->rmx_type = RMX_OFF; radeon_encoder 853 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 854 drivers/gpu/drm/radeon/radeon_connectors.c struct drm_display_mode *native_mode = &radeon_encoder->native_mode; radeon_encoder 864 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->rmx_type == RMX_OFF) { radeon_encoder 891 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 892 drivers/gpu/drm/radeon/radeon_connectors.c struct drm_display_mode *native_mode = &radeon_encoder->native_mode; radeon_encoder 946 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder; radeon_encoder 954 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(connector->encoder); radeon_encoder 957 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(connector_funcs->best_encoder(connector)); radeon_encoder 967 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->rmx_type == rmx_type) radeon_encoder 970 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder->rmx_type = rmx_type; radeon_encoder 972 drivers/gpu/drm/radeon/radeon_connectors.c radeon_property_change_mode(&radeon_encoder->base); radeon_encoder 1605 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder; radeon_encoder 1609 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1611 drivers/gpu/drm/radeon/radeon_connectors.c switch (radeon_encoder->encoder_id) { radeon_encoder 1614 drivers/gpu/drm/radeon/radeon_connectors.c return radeon_encoder->encoder_id; radeon_encoder 1626 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder; radeon_encoder 1631 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1632 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->caps & ATOM_ENCODER_CAP_RECORD_HBR2) radeon_encoder 1683 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1684 drivers/gpu/drm/radeon/radeon_connectors.c struct drm_display_mode *native_mode = &radeon_encoder->native_mode; radeon_encoder 1784 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1785 drivers/gpu/drm/radeon/radeon_connectors.c struct drm_display_mode *native_mode = &radeon_encoder->native_mode; radeon_encoder 1795 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->rmx_type == RMX_OFF) { radeon_encoder 1872 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder *radeon_encoder; radeon_encoder 1910 drivers/gpu/drm/radeon/radeon_connectors.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1911 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_encoder->devices & supported_device) { radeon_encoder 1912 drivers/gpu/drm/radeon/radeon_connectors.c switch (radeon_encoder->encoder_id) { radeon_encoder 773 drivers/gpu/drm/radeon/radeon_display.c struct radeon_encoder *radeon_encoder; radeon_encoder 813 drivers/gpu/drm/radeon/radeon_display.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 814 drivers/gpu/drm/radeon/radeon_display.c devices = radeon_encoder->devices & radeon_connector->devices; radeon_encoder 817 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" CRT1: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 819 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" CRT2: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 821 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" LCD1: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 823 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" DFP1: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 825 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" DFP2: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 827 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" DFP3: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 829 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" DFP4: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 831 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" DFP5: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 833 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" DFP6: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 835 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" TV1: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 837 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" CV: %s\n", encoder_names[radeon_encoder->encoder_id]); radeon_encoder 1690 drivers/gpu/drm/radeon/radeon_display.c struct radeon_encoder *radeon_encoder; radeon_encoder 1703 drivers/gpu/drm/radeon/radeon_display.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1709 drivers/gpu/drm/radeon/radeon_display.c if (radeon_encoder->rmx_type == RMX_OFF) radeon_encoder 1711 drivers/gpu/drm/radeon/radeon_display.c else if (mode->hdisplay < radeon_encoder->native_mode.hdisplay || radeon_encoder 1712 drivers/gpu/drm/radeon/radeon_display.c mode->vdisplay < radeon_encoder->native_mode.vdisplay) radeon_encoder 1713 drivers/gpu/drm/radeon/radeon_display.c radeon_crtc->rmx_type = radeon_encoder->rmx_type; radeon_encoder 1718 drivers/gpu/drm/radeon/radeon_display.c &radeon_encoder->native_mode, radeon_encoder 1728 drivers/gpu/drm/radeon/radeon_display.c ((radeon_encoder->underscan_type == UNDERSCAN_ON) || radeon_encoder 1729 drivers/gpu/drm/radeon/radeon_display.c ((radeon_encoder->underscan_type == UNDERSCAN_AUTO) && radeon_encoder 1732 drivers/gpu/drm/radeon/radeon_display.c if (radeon_encoder->underscan_hborder != 0) radeon_encoder 1733 drivers/gpu/drm/radeon/radeon_display.c radeon_crtc->h_border = radeon_encoder->underscan_hborder; radeon_encoder 1736 drivers/gpu/drm/radeon/radeon_display.c if (radeon_encoder->underscan_vborder != 0) radeon_encoder 1737 drivers/gpu/drm/radeon/radeon_display.c radeon_crtc->v_border = radeon_encoder->underscan_vborder; radeon_encoder 1748 drivers/gpu/drm/radeon/radeon_display.c if (radeon_crtc->rmx_type != radeon_encoder->rmx_type) { radeon_encoder 13 drivers/gpu/drm/radeon/radeon_dp_mst.c static struct radeon_encoder *radeon_dp_create_fake_mst_encoder(struct radeon_connector *connector); radeon_encoder 28 drivers/gpu/drm/radeon/radeon_dp_mst.c static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, radeon_encoder 65 drivers/gpu/drm/radeon/radeon_dp_mst.c static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, radeon_encoder 114 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *primary) radeon_encoder 125 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *subenc; radeon_encoder 164 drivers/gpu/drm/radeon/radeon_dp_mst.c static int radeon_dp_mst_set_vcp_size(struct radeon_encoder *mst, s64 avg_time_slots_per_mtp) radeon_encoder 255 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder = radeon_connector->mst_encoder; radeon_encoder 257 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_encoder_cleanup(&radeon_encoder->base); radeon_encoder 258 drivers/gpu/drm/radeon/radeon_dp_mst.c kfree(radeon_encoder); radeon_encoder 356 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(radeon_crtc->encoder); radeon_encoder 357 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder_mst *mst_enc = radeon_encoder->enc_priv; radeon_encoder 358 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector = radeon_mst_find_connector(&radeon_encoder->base); radeon_encoder 383 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder, *primary; radeon_encoder 400 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 402 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc = radeon_encoder->enc_priv; radeon_encoder 458 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_set_vcp_size(radeon_encoder, avg_time_slots_per_mtp); radeon_encoder 511 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 515 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc = radeon_encoder->enc_priv; radeon_encoder 537 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder, *primary; radeon_encoder 546 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 550 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc = radeon_encoder->enc_priv; radeon_encoder 600 drivers/gpu/drm/radeon/radeon_dp_mst.c static struct radeon_encoder * radeon_encoder 605 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder; radeon_encoder 612 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_encoder = kzalloc(sizeof(*radeon_encoder), GFP_KERNEL); radeon_encoder 613 drivers/gpu/drm/radeon/radeon_dp_mst.c if (!radeon_encoder) radeon_encoder 616 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_encoder->enc_priv = kzalloc(sizeof(*mst_enc), GFP_KERNEL); radeon_encoder 617 drivers/gpu/drm/radeon/radeon_dp_mst.c if (!radeon_encoder->enc_priv) { radeon_encoder 618 drivers/gpu/drm/radeon/radeon_dp_mst.c kfree(radeon_encoder); radeon_encoder 621 drivers/gpu/drm/radeon/radeon_dp_mst.c encoder = &radeon_encoder->base; radeon_encoder 638 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_encoder_init(dev, &radeon_encoder->base, &radeon_dp_mst_enc_funcs, radeon_encoder 642 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc = radeon_encoder->enc_priv; radeon_encoder 645 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_encoder->is_mst_encoder = true; radeon_encoder 646 drivers/gpu/drm/radeon/radeon_dp_mst.c return radeon_encoder; radeon_encoder 36 drivers/gpu/drm/radeon/radeon_encoders.c radeon_legacy_backlight_init(struct radeon_encoder *radeon_encoder, radeon_encoder 39 drivers/gpu/drm/radeon/radeon_encoders.c radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder, radeon_encoder 47 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 56 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) radeon_encoder 59 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) radeon_encoder 64 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_clone = to_radeon_encoder(clone_encoder); radeon_encoder 164 drivers/gpu/drm/radeon/radeon_encoders.c static void radeon_encoder_add_backlight(struct radeon_encoder *radeon_encoder, radeon_encoder 167 drivers/gpu/drm/radeon/radeon_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 171 drivers/gpu/drm/radeon/radeon_encoders.c if (!(radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))) radeon_encoder 197 drivers/gpu/drm/radeon/radeon_encoders.c radeon_atom_backlight_init(radeon_encoder, connector); radeon_encoder 199 drivers/gpu/drm/radeon/radeon_encoders.c radeon_legacy_backlight_init(radeon_encoder, connector); radeon_encoder 209 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder; radeon_encoder 215 drivers/gpu/drm/radeon/radeon_encoders.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 216 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->devices & radeon_connector->devices) { radeon_encoder 218 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) radeon_encoder 219 drivers/gpu/drm/radeon/radeon_encoders.c radeon_encoder_add_backlight(radeon_encoder, connector); radeon_encoder 228 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 234 drivers/gpu/drm/radeon/radeon_encoders.c radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices; radeon_encoder 236 drivers/gpu/drm/radeon/radeon_encoders.c radeon_encoder->active_device, radeon_encoder->devices, radeon_encoder 246 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 252 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->is_mst_encoder) { radeon_encoder 258 drivers/gpu/drm/radeon/radeon_encoders.c mst_enc = radeon_encoder->enc_priv; radeon_encoder 261 drivers/gpu/drm/radeon/radeon_encoders.c } else if (radeon_encoder->active_device & radeon_connector->devices) radeon_encoder 271 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 277 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->devices & radeon_connector->devices) radeon_encoder 286 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 288 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *other_radeon_encoder; radeon_encoder 290 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->is_ext_encoder) radeon_encoder 298 drivers/gpu/drm/radeon/radeon_encoders.c (radeon_encoder->devices & other_radeon_encoder->devices)) radeon_encoder 309 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(other_encoder); radeon_encoder 311 drivers/gpu/drm/radeon/radeon_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 314 drivers/gpu/drm/radeon/radeon_encoders.c return radeon_encoder->encoder_id; radeon_encoder 325 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 328 drivers/gpu/drm/radeon/radeon_encoders.c struct drm_display_mode *native_mode = &radeon_encoder->native_mode; radeon_encoder 435 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 436 drivers/gpu/drm/radeon/radeon_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 593 drivers/gpu/drm/radeon/radeon_legacy_crtc.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 594 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { radeon_encoder 787 drivers/gpu/drm/radeon/radeon_legacy_crtc.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 789 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if (radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT) { radeon_encoder 798 drivers/gpu/drm/radeon/radeon_legacy_crtc.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 799 drivers/gpu/drm/radeon/radeon_legacy_crtc.c struct radeon_encoder_lvds *lvds = (struct radeon_encoder_lvds *)radeon_encoder->enc_priv; radeon_encoder 45 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 50 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->active_device = 0; radeon_encoder 57 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 67 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->enc_priv) { radeon_encoder 69 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; radeon_encoder 74 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; radeon_encoder 145 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 148 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->enc_priv) { radeon_encoder 150 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; radeon_encoder 153 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; radeon_encoder 190 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 203 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->pixel_clock = adjusted_mode->clock; radeon_encoder 207 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_lvds *lvds = (struct radeon_encoder_lvds *)radeon_encoder->enc_priv; radeon_encoder 229 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->rmx_type != RMX_OFF) radeon_encoder 257 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 264 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->active_device & (ATOM_DEVICE_LCD_SUPPORT)) radeon_encoder 280 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_get_backlight_level(struct radeon_encoder *radeon_encoder) radeon_encoder 282 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 293 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level) radeon_encoder 295 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 299 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->enc_priv) { radeon_encoder 301 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; radeon_encoder 308 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; radeon_encoder 317 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_lvds_update(&radeon_encoder->base, dpms_mode); radeon_encoder 344 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = pdata->encoder; radeon_encoder 346 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_set_backlight_level(radeon_encoder, radeon_encoder 355 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = pdata->encoder; radeon_encoder 356 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 371 drivers/gpu/drm/radeon/radeon_legacy_encoders.c void radeon_legacy_backlight_init(struct radeon_encoder *radeon_encoder, radeon_encoder 374 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 382 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (!radeon_encoder->enc_priv) radeon_encoder 409 drivers/gpu/drm/radeon/radeon_legacy_encoders.c pdata->encoder = radeon_encoder; radeon_encoder 439 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; radeon_encoder 442 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; radeon_encoder 451 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->mode_info.bl_encoder = radeon_encoder; radeon_encoder 460 drivers/gpu/drm/radeon/radeon_legacy_encoders.c static void radeon_legacy_backlight_exit(struct radeon_encoder *radeon_encoder) radeon_encoder 462 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 466 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (!radeon_encoder->enc_priv) radeon_encoder 470 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; radeon_encoder 474 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; radeon_encoder 492 drivers/gpu/drm/radeon/radeon_legacy_encoders.c void radeon_legacy_backlight_init(struct radeon_encoder *encoder) radeon_encoder 496 drivers/gpu/drm/radeon/radeon_legacy_encoders.c static void radeon_legacy_backlight_exit(struct radeon_encoder *encoder) radeon_encoder 505 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 507 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->enc_priv) { radeon_encoder 508 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_backlight_exit(radeon_encoder); radeon_encoder 509 drivers/gpu/drm/radeon/radeon_legacy_encoders.c kfree(radeon_encoder->enc_priv); radeon_encoder 512 drivers/gpu/drm/radeon/radeon_legacy_encoders.c kfree(radeon_encoder); radeon_encoder 591 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 627 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->enc_priv) { radeon_encoder 628 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_primary_dac *p_dac = (struct radeon_encoder_primary_dac *)radeon_encoder->enc_priv; radeon_encoder 788 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 802 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->enc_priv) { radeon_encoder 803 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_int_tmds *tmds = (struct radeon_encoder_int_tmds *)radeon_encoder->enc_priv; radeon_encoder 857 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->rmx_type != RMX_OFF) radeon_encoder 953 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 959 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->pixel_clock = adjusted_mode->clock; radeon_encoder 993 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->rmx_type != RMX_OFF) radeon_encoder 1017 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1019 drivers/gpu/drm/radeon/radeon_legacy_encoders.c kfree(radeon_encoder->enc_priv); radeon_encoder 1021 drivers/gpu/drm/radeon/radeon_legacy_encoders.c kfree(radeon_encoder); radeon_encoder 1042 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1048 drivers/gpu/drm/radeon/radeon_legacy_encoders.c is_tv = radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT ? true : false; radeon_encoder 1159 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1160 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 1167 drivers/gpu/drm/radeon/radeon_legacy_encoders.c is_tv = radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT ? true : false; radeon_encoder 1540 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1541 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 1560 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->active_device && !(radeon_encoder->active_device & ATOM_DEVICE_TV_SUPPORT)) radeon_encoder 1570 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->active_device && !(radeon_encoder->active_device & ATOM_DEVICE_CRT_SUPPORT)) { radeon_encoder 1571 drivers/gpu/drm/radeon/radeon_legacy_encoders.c DRM_INFO("not detecting due to %08x\n", radeon_encoder->active_device); radeon_encoder 1698 drivers/gpu/drm/radeon/radeon_legacy_encoders.c static struct radeon_encoder_int_tmds *radeon_legacy_get_tmds_info(struct radeon_encoder *encoder) radeon_encoder 1721 drivers/gpu/drm/radeon/radeon_legacy_encoders.c static struct radeon_encoder_ext_tmds *radeon_legacy_get_ext_tmds_info(struct radeon_encoder *encoder) radeon_encoder 1749 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder *radeon_encoder; radeon_encoder 1753 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 1754 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (radeon_encoder->encoder_enum == encoder_enum) { radeon_encoder 1755 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->devices |= supported_device; radeon_encoder 1762 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder = kzalloc(sizeof(struct radeon_encoder), GFP_KERNEL); radeon_encoder 1763 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (!radeon_encoder) radeon_encoder 1766 drivers/gpu/drm/radeon/radeon_legacy_encoders.c encoder = &radeon_encoder->base; radeon_encoder 1772 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = NULL; radeon_encoder 1774 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->encoder_enum = encoder_enum; radeon_encoder 1775 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->encoder_id = (encoder_enum & OBJECT_ID_MASK) >> OBJECT_ID_SHIFT; radeon_encoder 1776 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->devices = supported_device; radeon_encoder 1777 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->rmx_type = RMX_OFF; radeon_encoder 1779 drivers/gpu/drm/radeon/radeon_legacy_encoders.c switch (radeon_encoder->encoder_id) { radeon_encoder 1786 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = radeon_atombios_get_lvds_info(radeon_encoder); radeon_encoder 1788 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = radeon_combios_get_lvds_info(radeon_encoder); radeon_encoder 1789 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->rmx_type = RMX_FULL; radeon_encoder 1795 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = radeon_legacy_get_tmds_info(radeon_encoder); radeon_encoder 1802 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = radeon_atombios_get_primary_dac_info(radeon_encoder); radeon_encoder 1804 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = radeon_combios_get_primary_dac_info(radeon_encoder); radeon_encoder 1811 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = radeon_atombios_get_tv_dac_info(radeon_encoder); radeon_encoder 1813 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = radeon_combios_get_tv_dac_info(radeon_encoder); radeon_encoder 1820 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_encoder->enc_priv = radeon_legacy_get_ext_tmds_info(radeon_encoder); radeon_encoder 237 drivers/gpu/drm/radeon/radeon_legacy_tv.c static const struct radeon_tv_mode_constants *radeon_legacy_tv_get_std_mode(struct radeon_encoder *radeon_encoder, radeon_encoder 240 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 243 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 247 drivers/gpu/drm/radeon/radeon_legacy_tv.c radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); radeon_encoder 301 drivers/gpu/drm/radeon/radeon_legacy_tv.c static void radeon_legacy_tv_write_fifo(struct radeon_encoder *radeon_encoder, radeon_encoder 304 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 324 drivers/gpu/drm/radeon/radeon_legacy_tv.c static uint32_t radeon_legacy_tv_read_fifo(struct radeon_encoder *radeon_encoder, uint16_t addr) radeon_encoder 326 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 387 drivers/gpu/drm/radeon/radeon_legacy_tv.c static void radeon_restore_tv_timing_tables(struct radeon_encoder *radeon_encoder) radeon_encoder 389 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 391 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 402 drivers/gpu/drm/radeon/radeon_legacy_tv.c radeon_legacy_tv_write_fifo(radeon_encoder, h_table, tmp); radeon_encoder 408 drivers/gpu/drm/radeon/radeon_legacy_tv.c radeon_legacy_tv_write_fifo(radeon_encoder, v_table, tmp); radeon_encoder 414 drivers/gpu/drm/radeon/radeon_legacy_tv.c static void radeon_legacy_write_tv_restarts(struct radeon_encoder *radeon_encoder) radeon_encoder 416 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct drm_device *dev = radeon_encoder->base.dev; radeon_encoder 418 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 426 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 427 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 435 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, NULL); radeon_encoder 530 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 531 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; radeon_encoder 546 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, &pll_ref_freq); radeon_encoder 800 drivers/gpu/drm/radeon/radeon_legacy_tv.c radeon_legacy_write_tv_restarts(radeon_encoder); radeon_encoder 803 drivers/gpu/drm/radeon/radeon_legacy_tv.c radeon_restore_tv_timing_tables(radeon_encoder); radeon_encoder 834 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 838 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, NULL); radeon_encoder 881 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 884 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, NULL); radeon_encoder 901 drivers/gpu/drm/radeon/radeon_legacy_tv.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 904 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, NULL); radeon_encoder 48 drivers/gpu/drm/radeon/radeon_mode.h #define to_radeon_encoder(x) container_of(x, struct radeon_encoder, base) radeon_encoder 276 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder *bl_encoder; radeon_encoder 287 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder *encoder; radeon_encoder 453 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder *primary; radeon_encoder 571 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder *mst_encoder; radeon_encoder 890 drivers/gpu/drm/radeon/radeon_mode.h radeon_atombios_get_lvds_info(struct radeon_encoder *encoder); radeon_encoder 891 drivers/gpu/drm/radeon/radeon_mode.h extern bool radeon_atombios_get_tmds_info(struct radeon_encoder *encoder, radeon_encoder 893 drivers/gpu/drm/radeon/radeon_mode.h extern bool radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder, radeon_encoder 895 drivers/gpu/drm/radeon/radeon_mode.h extern bool radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder, radeon_encoder 897 drivers/gpu/drm/radeon/radeon_mode.h extern bool radeon_legacy_get_ext_tmds_info_from_combios(struct radeon_encoder *encoder, radeon_encoder 899 drivers/gpu/drm/radeon/radeon_mode.h extern bool radeon_legacy_get_ext_tmds_info_from_table(struct radeon_encoder *encoder, radeon_encoder 902 drivers/gpu/drm/radeon/radeon_mode.h radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder); radeon_encoder 904 drivers/gpu/drm/radeon/radeon_mode.h radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder); radeon_encoder 906 drivers/gpu/drm/radeon/radeon_mode.h radeon_combios_get_lvds_info(struct radeon_encoder *encoder); radeon_encoder 907 drivers/gpu/drm/radeon/radeon_mode.h extern void radeon_combios_get_ext_tmds_info(struct radeon_encoder *encoder); radeon_encoder 909 drivers/gpu/drm/radeon/radeon_mode.h radeon_combios_get_tv_dac_info(struct radeon_encoder *encoder); radeon_encoder 911 drivers/gpu/drm/radeon/radeon_mode.h radeon_combios_get_primary_dac_info(struct radeon_encoder *encoder); radeon_encoder 162 drivers/gpu/drm/radeon/rs600.c struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); radeon_encoder 175 drivers/gpu/drm/radeon/rs600.c if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) radeon_encoder 204 drivers/gpu/drm/radeon/rs600.c switch (radeon_encoder->encoder_id) {