Home
last modified time | relevance | path

Searched refs:fp_horz_stretch (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c60 u32 fp_horz_stretch, fp_vert_stretch, fp_horz_vert_active; in radeon_legacy_rmx_mode_set() local
68 fp_horz_stretch = RREG32(RADEON_FP_HORZ_STRETCH) & in radeon_legacy_rmx_mode_set()
130 fp_horz_stretch |= ((xres/8-1) << 16); in radeon_legacy_rmx_mode_set()
132 inc = (fp_horz_stretch & RADEON_HORZ_AUTO_RATIO_INC) ? 1 : 0; in radeon_legacy_rmx_mode_set()
135 fp_horz_stretch |= (((scale) & RADEON_HORZ_STRETCH_RATIO_MASK) | in radeon_legacy_rmx_mode_set()
154 fp_horz_stretch |= ((xres/8-1) << 16); in radeon_legacy_rmx_mode_set()
195 fp_horz_stretch |= ((xres/8-1) << 16); in radeon_legacy_rmx_mode_set()
200 WREG32(RADEON_FP_HORZ_STRETCH, fp_horz_stretch); in radeon_legacy_rmx_mode_set()
Dradeon_combios.c1104 uint32_t fp_vert_stretch, fp_horz_stretch; in radeon_legacy_get_lvds_info_from_regs() local
1114 fp_horz_stretch = RREG32(RADEON_FP_HORZ_STRETCH); in radeon_legacy_get_lvds_info_from_regs()
1132 if (fp_horz_stretch & RADEON_HORZ_STRETCH_ENABLE) in radeon_legacy_get_lvds_info_from_regs()
1134 (((fp_horz_stretch & RADEON_HORZ_PANEL_SIZE) >> in radeon_legacy_get_lvds_info_from_regs()
/Linux-v4.19/drivers/video/fbdev/aty/
Dradeon_base.c1339 save->fp_horz_stretch = INREG(FP_HORZ_STRETCH); in radeon_save_state()
1511 OUTREG(FP_HORZ_STRETCH, mode->fp_horz_stretch); in radeon_write_mode()
1855 newmode->fp_horz_stretch = (((rinfo->panel_info.xres / 8) - 1) in radeonfb_set_par()
1863 newmode->fp_horz_stretch = (((((unsigned long)hRatio) & HORZ_STRETCH_RATIO_MASK)) | in radeonfb_set_par()
1864 (newmode->fp_horz_stretch & in radeonfb_set_par()
1867 newmode->fp_horz_stretch |= (HORZ_STRETCH_BLEND | in radeonfb_set_par()
1871 newmode->fp_horz_stretch &= ~HORZ_AUTO_RATIO; in radeonfb_set_par()
Dradeonfb.h220 u32 fp_horz_stretch; member