Lines Matching refs:rdev

49 	struct radeon_device *rdev = dev->dev_private;  in radeon_legacy_lvds_update()  local
61 if (rdev->is_atom_bios) { in radeon_legacy_lvds_update()
77 if ((rdev->mode_info.connector_table == CT_IBOOK) || in radeon_legacy_lvds_update()
78 (rdev->mode_info.connector_table == CT_POWERBOOK_EXTERNAL) || in radeon_legacy_lvds_update()
79 (rdev->mode_info.connector_table == CT_POWERBOOK_INTERNAL) || in radeon_legacy_lvds_update()
80 (rdev->mode_info.connector_table == CT_POWERBOOK_VGA)) in radeon_legacy_lvds_update()
128 if (rdev->is_atom_bios) in radeon_legacy_lvds_update()
137 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_lvds_dpms() local
142 if (rdev->is_atom_bios) { in radeon_legacy_lvds_dpms()
156 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_lvds_prepare() local
158 if (rdev->is_atom_bios) in radeon_legacy_lvds_prepare()
167 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_lvds_commit() local
170 if (rdev->is_atom_bios) in radeon_legacy_lvds_commit()
181 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_lvds_mode_set() local
192 if (rdev->is_atom_bios) { in radeon_legacy_lvds_mode_set()
217 if (ASIC_IS_R300(rdev)) in radeon_legacy_lvds_mode_set()
221 if (ASIC_IS_R300(rdev)) { in radeon_legacy_lvds_mode_set()
227 if (ASIC_IS_R300(rdev)) in radeon_legacy_lvds_mode_set()
237 if (rdev->family == CHIP_RV410) in radeon_legacy_lvds_mode_set()
240 if (rdev->is_atom_bios) in radeon_legacy_lvds_mode_set()
276 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_get_backlight_level() local
289 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_set_backlight_level() local
293 if (rdev->is_atom_bios) { in radeon_legacy_set_backlight_level()
350 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_backlight_get_brightness() local
368 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_backlight_init() local
418 pdata->negative = (rdev->family != CHIP_RV200 && in radeon_legacy_backlight_init()
419 rdev->family != CHIP_RV250 && in radeon_legacy_backlight_init()
420 rdev->family != CHIP_RV280 && in radeon_legacy_backlight_init()
421 rdev->family != CHIP_RV350); in radeon_legacy_backlight_init()
431 if (rdev->is_atom_bios) { in radeon_legacy_backlight_init()
444 rdev->mode_info.bl_encoder = radeon_encoder; in radeon_legacy_backlight_init()
456 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_backlight_exit() local
462 if (rdev->is_atom_bios) { in radeon_legacy_backlight_exit()
515 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_primary_dac_dpms() local
542 if (!(rdev->flags & RADEON_SINGLE_CRTC)) in radeon_legacy_primary_dac_dpms()
547 if (rdev->is_atom_bios) in radeon_legacy_primary_dac_dpms()
556 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_primary_dac_prepare() local
558 if (rdev->is_atom_bios) in radeon_legacy_primary_dac_prepare()
567 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_primary_dac_commit() local
571 if (rdev->is_atom_bios) in radeon_legacy_primary_dac_commit()
582 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_primary_dac_mode_set() local
590 if (rdev->family == CHIP_R200 || ASIC_IS_R300(rdev)) { in radeon_legacy_primary_dac_mode_set()
599 if (rdev->family == CHIP_R200 || ASIC_IS_R300(rdev)) { in radeon_legacy_primary_dac_mode_set()
628 if (rdev->is_atom_bios) in radeon_legacy_primary_dac_mode_set()
638 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_primary_dac_detect() local
648 if (ASIC_IS_RN50(rdev)) { in radeon_legacy_primary_dac_detect()
674 if (ASIC_IS_R300(rdev)) in radeon_legacy_primary_dac_detect()
676 else if (ASIC_IS_RV100(rdev)) in radeon_legacy_primary_dac_detect()
727 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_tmds_int_dpms() local
744 if (rdev->is_atom_bios) in radeon_legacy_tmds_int_dpms()
753 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_tmds_int_prepare() local
755 if (rdev->is_atom_bios) in radeon_legacy_tmds_int_prepare()
764 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_tmds_int_commit() local
768 if (rdev->is_atom_bios) in radeon_legacy_tmds_int_commit()
779 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_tmds_int_mode_set() local
789 if (rdev->family == CHIP_RV280) { in radeon_legacy_tmds_int_mode_set()
808 if (ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV280)) { in radeon_legacy_tmds_int_mode_set()
821 if (rdev->family == CHIP_R200 || in radeon_legacy_tmds_int_mode_set()
822 rdev->family == CHIP_R100 || in radeon_legacy_tmds_int_mode_set()
823 ASIC_IS_R300(rdev)) in radeon_legacy_tmds_int_mode_set()
848 if (ASIC_IS_R300(rdev) || rdev->family == CHIP_R200) { in radeon_legacy_tmds_int_mode_set()
857 if (ASIC_IS_R300(rdev) || rdev->family == CHIP_R200) { in radeon_legacy_tmds_int_mode_set()
868 if (rdev->is_atom_bios) in radeon_legacy_tmds_int_mode_set()
891 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_tmds_ext_dpms() local
910 if (rdev->is_atom_bios) in radeon_legacy_tmds_ext_dpms()
919 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_tmds_ext_prepare() local
921 if (rdev->is_atom_bios) in radeon_legacy_tmds_ext_prepare()
930 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_tmds_ext_commit() local
933 if (rdev->is_atom_bios) in radeon_legacy_tmds_ext_commit()
944 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_tmds_ext_mode_set() local
951 if (rdev->is_atom_bios) { in radeon_legacy_tmds_ext_mode_set()
968 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tmds_ext_mode_set()
984 if ((rdev->family == CHIP_R200) || ASIC_IS_R300(rdev)) { in radeon_legacy_tmds_ext_mode_set()
993 if ((rdev->family == CHIP_R200) || ASIC_IS_R300(rdev)) { in radeon_legacy_tmds_ext_mode_set()
1002 if (rdev->is_atom_bios) in radeon_legacy_tmds_ext_mode_set()
1034 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_tv_dac_dpms() local
1043 if (rdev->family == CHIP_R200) in radeon_legacy_tv_dac_dpms()
1055 if (rdev->family == CHIP_R200) { in radeon_legacy_tv_dac_dpms()
1063 if (rdev->family == CHIP_R420 || in radeon_legacy_tv_dac_dpms()
1064 rdev->family == CHIP_R423 || in radeon_legacy_tv_dac_dpms()
1065 rdev->family == CHIP_RV410) in radeon_legacy_tv_dac_dpms()
1080 if (rdev->family == CHIP_R200) in radeon_legacy_tv_dac_dpms()
1088 if (rdev->family == CHIP_R420 || in radeon_legacy_tv_dac_dpms()
1089 rdev->family == CHIP_R423 || in radeon_legacy_tv_dac_dpms()
1090 rdev->family == CHIP_RV410) in radeon_legacy_tv_dac_dpms()
1104 if (rdev->family == CHIP_R200) { in radeon_legacy_tv_dac_dpms()
1110 else if (!(rdev->flags & RADEON_SINGLE_CRTC)) in radeon_legacy_tv_dac_dpms()
1115 if (rdev->is_atom_bios) in radeon_legacy_tv_dac_dpms()
1124 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_tv_dac_prepare() local
1126 if (rdev->is_atom_bios) in radeon_legacy_tv_dac_prepare()
1135 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_tv_dac_commit() local
1139 if (rdev->is_atom_bios) in radeon_legacy_tv_dac_commit()
1150 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_tv_dac_mode_set() local
1162 if (rdev->family != CHIP_R200) { in radeon_legacy_tv_dac_mode_set()
1164 if (rdev->family == CHIP_R420 || in radeon_legacy_tv_dac_mode_set()
1165 rdev->family == CHIP_R423 || in radeon_legacy_tv_dac_mode_set()
1166 rdev->family == CHIP_RV410) { in radeon_legacy_tv_dac_mode_set()
1206 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_mode_set()
1209 } else if (rdev->family != CHIP_R200) in radeon_legacy_tv_dac_mode_set()
1211 else if (rdev->family == CHIP_R200) in radeon_legacy_tv_dac_mode_set()
1214 if (rdev->family >= CHIP_R200) in radeon_legacy_tv_dac_mode_set()
1224 if (ASIC_IS_R300(rdev)) in radeon_legacy_tv_dac_mode_set()
1229 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_mode_set()
1234 if (rdev->family >= CHIP_R200) { in radeon_legacy_tv_dac_mode_set()
1240 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_mode_set()
1244 if (rdev->family >= CHIP_R200) { in radeon_legacy_tv_dac_mode_set()
1256 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_mode_set()
1259 } else if (rdev->family == CHIP_R200) { in radeon_legacy_tv_dac_mode_set()
1265 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_mode_set()
1268 } else if (rdev->family == CHIP_R200) { in radeon_legacy_tv_dac_mode_set()
1278 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_mode_set()
1281 } else if (rdev->family != CHIP_R200) in radeon_legacy_tv_dac_mode_set()
1283 else if (rdev->family == CHIP_R200) in radeon_legacy_tv_dac_mode_set()
1286 if (rdev->family >= CHIP_R200) in radeon_legacy_tv_dac_mode_set()
1292 if (rdev->is_atom_bios) in radeon_legacy_tv_dac_mode_set()
1303 struct radeon_device *rdev = dev->dev_private; in r300_legacy_tv_detect() local
1374 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_tv_detect() local
1379 if (ASIC_IS_R300(rdev)) in radeon_legacy_tv_detect()
1438 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_ext_dac_detect() local
1528 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_tv_dac_detect() local
1569 if (rdev->family == CHIP_R200) { in radeon_legacy_tv_dac_detect()
1578 if (rdev->flags & RADEON_SINGLE_CRTC) { in radeon_legacy_tv_dac_detect()
1581 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_detect()
1597 if (rdev->flags & RADEON_SINGLE_CRTC) { in radeon_legacy_tv_dac_detect()
1606 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_detect()
1632 if (ASIC_IS_R300(rdev)) in radeon_legacy_tv_dac_detect()
1644 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_detect()
1657 if (rdev->flags & RADEON_SINGLE_CRTC) { in radeon_legacy_tv_dac_detect()
1661 if (ASIC_IS_R300(rdev)) { in radeon_legacy_tv_dac_detect()
1694 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_get_tmds_info() local
1703 if (rdev->is_atom_bios) in radeon_legacy_get_tmds_info()
1717 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_get_ext_tmds_info() local
1721 if (rdev->is_atom_bios) in radeon_legacy_get_ext_tmds_info()
1740 struct radeon_device *rdev = dev->dev_private; in radeon_add_legacy_encoder() local
1760 if (rdev->flags & RADEON_SINGLE_CRTC) in radeon_add_legacy_encoder()
1777 if (rdev->is_atom_bios) in radeon_add_legacy_encoder()
1791 if (rdev->is_atom_bios) in radeon_add_legacy_encoder()
1799 if (rdev->is_atom_bios) in radeon_add_legacy_encoder()
1807 if (!rdev->is_atom_bios) in radeon_add_legacy_encoder()