Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c385 uint32_t crtc_pitch, pitch_pixels; in radeon_crtc_do_set_base() local
478 crtc_pitch = DIV_ROUND_UP(pitch_pixels * target_fb->format->cpp[0] * 8, in radeon_crtc_do_set_base()
480 crtc_pitch |= crtc_pitch << 16; in radeon_crtc_do_set_base()
556 WREG32(RADEON_CRTC_PITCH + radeon_crtc->crtc_offset, crtc_pitch); in radeon_crtc_do_set_base()
Dr100.c165 uint32_t crtc_pitch, pitch_pixels; in r100_page_flip() local
176 crtc_pitch = DIV_ROUND_UP(pitch_pixels * fb->format->cpp[0] * 8, in r100_page_flip()
178 crtc_pitch |= crtc_pitch << 16; in r100_page_flip()
179 WREG32(RADEON_CRTC_PITCH + radeon_crtc->crtc_offset, crtc_pitch); in r100_page_flip()
/drivers/video/fbdev/aty/
Dradeon_base.c1321 save->crtc_pitch = INREG(CRTC_PITCH); in radeon_save_state()
1490 OUTREG(CRTC_PITCH, mode->crtc_pitch); in radeon_write_mode()
1772 newmode->crtc_pitch = (rinfo->pitch << 3) / ((mode->bits_per_pixel + 1) / 8); in radeonfb_set_par()
1774 newmode->crtc_pitch = (mode->xres_virtual >> 3); in radeonfb_set_par()
1776 newmode->crtc_pitch |= (newmode->crtc_pitch << 16); in radeonfb_set_par()
Dradeonfb.h193 u32 crtc_pitch; member