Searched refs:crtc_pitch (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/drivers/video/ |
H A D | ati_radeon_fb.c | 327 mode->crtc_pitch = 0x00500050; in radeon_setmode() 339 OUTREG(CRTC_PITCH, mode->crtc_pitch); in radeon_setmode() 405 mode->crtc_pitch = RADEON_CRT_PITCH(1280,32); in radeon_setmode_9200() 436 mode->crtc_pitch = RADEON_CRT_PITCH(1024,32); in radeon_setmode_9200() 467 mode->crtc_pitch = RADEON_CRT_PITCH(832,32); in radeon_setmode_9200() 472 mode->crtc_pitch = RADEON_CRT_PITCH(896,16); in radeon_setmode_9200() 477 mode->crtc_pitch = RADEON_CRT_PITCH(1024,8); in radeon_setmode_9200() 498 mode->crtc_pitch = RADEON_CRT_PITCH(640,32); in radeon_setmode_9200() 525 OUTREG(CRTC_PITCH, mode->crtc_pitch); in radeon_setmode_9200()
|
H A D | ati_radeon_fb.h | 184 u32 crtc_pitch; member
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_legacy_crtc.c | 385 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()
|
H A D | r100.c | 166 uint32_t crtc_pitch, pitch_pixels; in r100_page_flip() local 177 crtc_pitch = DIV_ROUND_UP(pitch_pixels * fb->format->cpp[0] * 8, in r100_page_flip() 179 crtc_pitch |= crtc_pitch << 16; in r100_page_flip() 180 WREG32(RADEON_CRTC_PITCH + radeon_crtc->crtc_offset, crtc_pitch); in r100_page_flip()
|
/openbmc/qemu/hw/display/ |
H A D | ati_int.h | 54 uint32_t crtc_pitch; member
|
H A D | ati.c | 62 int stride = (s->regs.crtc_pitch & 0x7ff) * 8; in ati_vga_switch_mode() 406 val = s->regs.crtc_pitch; in ati_mm_read() 713 s->regs.crtc_pitch = data & 0x07ff07ff; in ati_mm_write()
|
/openbmc/linux/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 1322 save->crtc_pitch = INREG(CRTC_PITCH); in radeon_save_state() 1491 OUTREG(CRTC_PITCH, mode->crtc_pitch); in radeon_write_mode() 1773 newmode->crtc_pitch = (rinfo->pitch << 3) / ((mode->bits_per_pixel + 1) / 8); in radeonfb_set_par() 1775 newmode->crtc_pitch = (mode->xres_virtual >> 3); in radeonfb_set_par() 1777 newmode->crtc_pitch |= (newmode->crtc_pitch << 16); in radeonfb_set_par()
|
H A D | radeonfb.h | 193 u32 crtc_pitch; member
|