/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_cursor.c | 40 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_lock_cursor 44 cur_lock = RREG32(EVERGREEN_CUR_UPDATE + radeon_crtc->crtc_offset); 49 WREG32(EVERGREEN_CUR_UPDATE + radeon_crtc->crtc_offset, cur_lock); 51 cur_lock = RREG32(AVIVO_D1CUR_UPDATE + radeon_crtc->crtc_offset); 56 WREG32(AVIVO_D1CUR_UPDATE + radeon_crtc->crtc_offset, cur_lock); 58 cur_lock = RREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset); 63 WREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset, cur_lock); 69 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc) local in function:radeon_hide_cursor 97 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_show_cursor 151 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_cursor_move_locked 289 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_crtc_cursor_set2 379 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_cursor_reset [all...] |
radeon_evergreen_hdmi.c | 80 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:evergreen_hdmi_update_acr 81 bpc = radeon_crtc->bpc; 233 struct radeon_crtc *crtc, unsigned int clock) 276 struct radeon_crtc *crtc, unsigned int clock)
|
radeon_kms.c | 268 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_info_ioctl 269 *value = radeon_crtc->crtc_id;
|
radeon_audio.c | 72 struct radeon_crtc *crtc, unsigned int clock); 74 struct radeon_crtc *crtc, unsigned int clock); 76 struct radeon_crtc *crtc, unsigned int clock); 78 struct radeon_crtc *crtc, unsigned int clock); 80 struct radeon_crtc *crtc, unsigned int clock); 82 struct radeon_crtc *crtc, unsigned int clock); 504 struct radeon_crtc *crtc = to_radeon_crtc(encoder->crtc); 662 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:radeon_hdmi_set_color_depth 663 bpc = radeon_crtc->bpc [all...] |
radeon_dp_mst.c | 362 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_dp_mst_prepare_pll 365 struct radeon_encoder *radeon_encoder = to_radeon_encoder(radeon_crtc->encoder); 374 radeon_crtc->bpc = radeon_connector->base.display_info.bpc; 376 radeon_crtc->bpc = 8; 381 radeon_crtc->ss_enabled = 382 radeon_atombios_get_asic_ss_info(rdev, &radeon_crtc->ss, 397 struct radeon_crtc *radeon_crtc; local in function:radeon_mst_encoder_dpms 424 radeon_crtc = to_radeon_crtc(crtc) [all...] |
radeon_connectors.c | 758 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_connector_set_property 760 radeon_crtc->output_csc = radeon_encoder->output_csc;
|
radeon_device.c | 1761 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_suspend_kms 1765 if (radeon_crtc->cursor_bo) { 1766 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); 1888 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_resume_kms 1890 if (radeon_crtc->cursor_bo) { 1891 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); 1899 &radeon_crtc->cursor_addr);
|
radeon_legacy_crtc.c | 47 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_overscan_setup 49 WREG32(RADEON_OVR_CLR + radeon_crtc->crtc_offset, 0); 50 WREG32(RADEON_OVR_WID_LEFT_RIGHT + radeon_crtc->crtc_offset, 0); 51 WREG32(RADEON_OVR_WID_TOP_BOTTOM + radeon_crtc->crtc_offset, 0); 59 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_legacy_rmx_mode_set 71 struct drm_display_mode *native_mode = &radeon_crtc->native_mode; 134 switch (radeon_crtc->rmx_type) { 304 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc) local in function:radeon_crtc_dpms 384 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_crtc_do_set_base 593 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_set_crtc_timing 753 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_set_pll 1056 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_crtc_mode_set [all...] |
radeon_legacy_tv.c | 247 struct radeon_crtc *radeon_crtc; local in function:radeon_legacy_tv_get_std_mode 252 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); 253 if (radeon_crtc->crtc_id == 1) 538 struct radeon_crtc *radeon_crtc; local in function:radeon_legacy_tv_mode_set 555 radeon_crtc = to_radeon_crtc(encoder->crtc); 601 if (radeon_crtc->crtc_id == 1) 604 if (radeon_crtc->rmx_type != RMX_OFF)
|
radeon_pm.c | 1684 struct radeon_crtc *radeon_crtc; local in function:radeon_pm_compute_clocks_old 1696 radeon_crtc = to_radeon_crtc(crtc); 1697 if (radeon_crtc->enabled) { 1698 rdev->pm.active_crtcs |= (1 << radeon_crtc->crtc_id); 1757 struct radeon_crtc *radeon_crtc; local in function:radeon_pm_compute_clocks_dpm 1770 radeon_crtc = to_radeon_crtc(crtc); 1772 rdev->pm.dpm.new_active_crtcs |= (1 << radeon_crtc->crtc_id);
|
radeon_rs600.c | 125 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local in function:rs600_page_flip 126 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); 131 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); 134 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 136 WREG32(AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 138 WREG32(AVIVO_D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 143 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING) 151 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); 156 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id] local in function:rs600_page_flip_pending 325 struct radeon_crtc *radeon_crtc; local in function:rs600_pm_prepare 343 struct radeon_crtc *radeon_crtc; local in function:rs600_pm_finish [all...] |
radeon_rs780_dpm.c | 59 struct radeon_crtc *radeon_crtc; local in function:rs780_get_pm_mode_parameters 69 radeon_crtc = to_radeon_crtc(crtc); 70 pi->crtc_id = radeon_crtc->crtc_id;
|
radeon_rv770.c | 815 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local in function:rv770_page_flip 816 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); 821 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); 824 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 826 if (radeon_crtc->crtc_id) { 833 WREG32(D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 835 WREG32(D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 840 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING) 848 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp) 853 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local in function:rv770_page_flip_pending [all...] |
radeon_atombios_crtc.c | 50 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_overscan_setup 57 args.ucCRTC = radeon_crtc->crtc_id; 59 switch (radeon_crtc->rmx_type) { 80 args.usOverscanRight = cpu_to_le16(radeon_crtc->h_border); 81 args.usOverscanLeft = cpu_to_le16(radeon_crtc->h_border); 82 args.usOverscanBottom = cpu_to_le16(radeon_crtc->v_border); 83 args.usOverscanTop = cpu_to_le16(radeon_crtc->v_border); 93 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc) local in function:atombios_scaler_setup 175 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_lock_crtc 192 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_enable_crtc 208 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_enable_crtc_memreq 234 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_blank_crtc 259 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_powergate_crtc 277 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_crtc_dpms 311 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_set_crtc_dtd_timing 358 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_crtc_set_timing 566 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_adjust_pll 970 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_crtc_prepare_pll 1070 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_crtc_set_pll 1153 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:dce4_crtc_do_set_base 1476 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:avivo_crtc_do_set_base 1717 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_legacy_atom_fixup 1806 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_get_shared_nondp_ppll 1885 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_atom_pick_pll 2066 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_crtc_mode_set 2109 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_crtc_mode_fixup 2167 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:atombios_crtc_disable [all...] |
radeon_atombios_encoders.c | 469 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:radeon_atom_get_bpc 470 bpc = radeon_crtc->bpc; 1063 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:atombios_dig_transmitter_setup2 1064 pll_id = radeon_crtc->pll_id; 1551 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:atombios_yuv_setup 1567 (radeon_crtc->crtc_id << 18))); 1569 WREG32(reg, (ATOM_S3_CV_ACTIVE | (radeon_crtc->crtc_id << 24))) 1874 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:atombios_set_encoder_crtc_source 2021 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:atombios_set_mst_encoder_crtc_source 2070 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:atombios_apply_encoder_quirks 2122 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:radeon_atom_pick_dig_encoder [all...] |
radeon_display.c | 55 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:avivo_crtc_load_lut 61 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); 62 WREG32(AVIVO_DC_LUTA_CONTROL + radeon_crtc->crtc_offset, 0); 64 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_BLUE + radeon_crtc->crtc_offset, 0); 65 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_GREEN + radeon_crtc->crtc_offset, 0); 66 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_RED + radeon_crtc->crtc_offset, 0); 68 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_BLUE + radeon_crtc->crtc_offset, 0xffff); 69 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_GREEN + radeon_crtc->crtc_offset, 0xffff); 70 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_RED + radeon_crtc->crtc_offset, 0xffff) 93 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:dce4_crtc_load_lut 127 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:dce5_crtc_load_lut 199 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:legacy_crtc_load_lut 254 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_crtc_destroy 291 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local in function:radeon_crtc_handle_vblank 372 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local in function:radeon_crtc_handle_flip 419 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[work->crtc_id]; local in function:radeon_flip_work_func 494 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_crtc_page_flip_target 681 struct radeon_crtc *radeon_crtc; local in function:radeon_crtc_init 1687 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_crtc_scaling_mode_fixup [all...] |
radeon_legacy_encoders.c | 194 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:radeon_legacy_lvds_mode_set 232 if (radeon_crtc->crtc_id == 0) { 253 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 255 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 595 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:radeon_legacy_primary_dac_mode_set 601 if (radeon_crtc->crtc_id == 0) { 641 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 643 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id) 792 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:radeon_legacy_tmds_int_mode_set 957 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:radeon_legacy_tmds_ext_mode_set 1163 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:radeon_legacy_tv_dac_mode_set 1552 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local in function:radeon_legacy_tv_dac_detect [all...] |
radeon_r600_dpm.c | 165 struct radeon_crtc *radeon_crtc; local in function:r600_dpm_get_vblank_time 171 radeon_crtc = to_radeon_crtc(crtc); 172 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { 174 radeon_crtc->hw_mode.crtc_htotal * 175 (radeon_crtc->hw_mode.crtc_vblank_end - 176 radeon_crtc->hw_mode.crtc_vdisplay + 177 (radeon_crtc->v_border * 2)); 179 vblank_time_us = vblank_in_pixels * 1000 / radeon_crtc->hw_mode.clock 192 struct radeon_crtc *radeon_crtc; local in function:r600_dpm_get_vrefresh [all...] |
radeon_r600_cs.c | 833 struct radeon_crtc *radeon_crtc; local in function:r600_cs_common_vline_parse 898 radeon_crtc = to_radeon_crtc(crtc); 899 crtc_id = radeon_crtc->crtc_id;
|
radeon_r600.c | 308 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:dce3_program_fmt 353 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp);
|
radeon_r100.c | 169 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local in function:r100_page_flip 175 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); 179 if (RREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset) & RADEON_CRTC_OFFSET__GUI_TRIG_OFFSET) 187 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); 202 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local in function:r100_page_flip_pending 205 return !!(RREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset) & 458 struct radeon_crtc *radeon_crtc; local in function:r100_pm_prepare 489 struct radeon_crtc *radeon_crtc; local in function:r100_pm_finish 1446 struct radeon_crtc *radeon_crtc; local in function:r100_cs_packet_parse_vline [all...] |
radeon_evergreen.c | 1305 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:dce4_program_fmt 1353 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); 1426 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local in function:evergreen_page_flip 1429 WREG32(EVERGREEN_GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 1431 WREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS_HIGH + radeon_crtc->crtc_offset, 1433 WREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 1436 RREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset); 1449 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id] local in function:evergreen_page_flip_pending 1680 struct radeon_crtc *radeon_crtc; local in function:evergreen_pm_prepare 1705 struct radeon_crtc *radeon_crtc; local in function:evergreen_pm_finish [all...] |
radeon_mode.h | 48 #define to_radeon_crtc(x) container_of(x, struct radeon_crtc, base) 249 struct radeon_crtc *crtcs[RADEON_MAX_CRTCS]; 329 struct radeon_crtc { struct 938 struct radeon_crtc *radeon_crtc); 940 struct radeon_crtc *radeon_crtc); 955 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc);
|
radeon_cik.c | 8811 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local in function:dce8_program_fmt 8867 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); 8875 * @radeon_crtc: the selected display controller 8884 struct radeon_crtc *radeon_crtc, 8888 u32 pipe_offset = radeon_crtc->crtc_id * 0x20; 8897 if (radeon_crtc->base.enabled && mode) { 8917 WREG32(LB_MEMORY_CTRL + radeon_crtc->crtc_offset, 8929 if (radeon_crtc->base.enabled && mode) [all...] |
radeon_si_dpm.c | 5322 struct radeon_crtc *radeon_crtc = NULL; local in function:si_upload_smc_data 5330 radeon_crtc = rdev->mode_info.crtcs[i]; 5335 if (radeon_crtc == NULL) 5338 if (radeon_crtc->line_time <= 0) 5343 radeon_crtc->crtc_id) != PPSMC_Result_OK) 5348 radeon_crtc->wm_high / radeon_crtc->line_time) != PPSMC_Result_OK) 5353 radeon_crtc->wm_low / radeon_crtc->line_time) != PPSMC_Result_OK [all...] |