Home
last modified time | relevance | path

Searched refs:crtc_gen_cntl (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/hw/display/
H A Dati.c54 s->mode, !!(s->regs.crtc_gen_cntl & CRTC2_EXT_DISP_EN)); in ati_vga_switch_mode()
55 if (s->regs.crtc_gen_cntl & CRTC2_EXT_DISP_EN) { in ati_vga_switch_mode()
58 if (s->regs.crtc_gen_cntl & CRTC2_EN) { in ati_vga_switch_mode()
74 switch (s->regs.crtc_gen_cntl & CRTC_PIX_WIDTH_MASK) { in ati_vga_switch_mode()
172 int size = (s->regs.crtc_gen_cntl & CRTC2_CUR_EN) ? 64 : 0; in ati_cursor_invalidate()
203 if (!(s->regs.crtc_gen_cntl & CRTC2_CUR_EN) || in ati_cursor_draw_line()
318 val = ati_reg_read_offs(s->regs.crtc_gen_cntl, in ati_mm_read()
585 uint32_t val = s->regs.crtc_gen_cntl; in ati_mm_write()
586 ati_reg_write_offs(&s->regs.crtc_gen_cntl, in ati_mm_write()
588 if ((val & CRTC2_CUR_EN) != (s->regs.crtc_gen_cntl & CRTC2_CUR_EN)) { in ati_mm_write()
[all …]
H A Dati_int.h40 uint32_t crtc_gen_cntl; member
/openbmc/u-boot/drivers/video/
H A Dati_radeon_fb.c320 mode->crtc_gen_cntl = 0x03000200; in radeon_setmode()
329 OUTREG(CRTC_GEN_CNTL, mode->crtc_gen_cntl); in radeon_setmode()
363 mode->crtc_gen_cntl = CRTC_EN | CRTC_EXT_DISP_EN; in radeon_setmode_9200()
370 mode->crtc_gen_cntl |= 0x6 << 8; /* x888 */ in radeon_setmode_9200()
377 mode->crtc_gen_cntl |= 0x4 << 8; /* 565 */ in radeon_setmode_9200()
384 mode->crtc_gen_cntl |= 0x2 << 8; /* palette */ in radeon_setmode_9200()
515 OUTREG(CRTC_GEN_CNTL, mode->crtc_gen_cntl | CRTC_DISP_REQ_EN_B); in radeon_setmode_9200()
526 OUTREG(CRTC_GEN_CNTL, mode->crtc_gen_cntl); in radeon_setmode_9200()
H A Dati_radeon_fb.h175 u32 crtc_gen_cntl; member
/openbmc/linux/drivers/video/fbdev/aty/
H A Dmach64_ct.c282 u32 crtc_gen_cntl; in aty_set_pll_ct() local
310 crtc_gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); in aty_set_pll_ct()
311 if (!(crtc_gen_cntl & CRTC_EXT_DISP_EN)) in aty_set_pll_ct()
312 aty_st_le32(CRTC_GEN_CNTL, crtc_gen_cntl | CRTC_EXT_DISP_EN, par); in aty_set_pll_ct()
346 if (!(crtc_gen_cntl & CRTC_EXT_DISP_EN)) in aty_set_pll_ct()
347 aty_st_le32(CRTC_GEN_CNTL, crtc_gen_cntl, par); in aty_set_pll_ct()
H A Dradeonfb.h184 u32 crtc_gen_cntl; member
H A Dradeon_base.c1314 save->crtc_gen_cntl = INREG(CRTC_GEN_CNTL); in radeon_save_state()
1480 OUTREG(CRTC_GEN_CNTL, mode->crtc_gen_cntl); in radeon_write_mode()
1733 newmode->crtc_gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | in radeonfb_set_par()
1745 newmode->crtc_gen_cntl &= ~(CRTC_DBL_SCAN_EN | in radeonfb_set_par()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_bios.c515 uint32_t crtc_gen_cntl; in legacy_read_disabled_bios() local
527 crtc_gen_cntl = RREG32(RADEON_CRTC_GEN_CNTL); in legacy_read_disabled_bios()
555 ((crtc_gen_cntl & ~RADEON_CRTC_EN) | in legacy_read_disabled_bios()
582 WREG32(RADEON_CRTC_GEN_CNTL, crtc_gen_cntl); in legacy_read_disabled_bios()
H A Dradeon_legacy_crtc.c684 uint32_t crtc_gen_cntl; in radeon_set_crtc_timing() local
688 crtc_gen_cntl = RREG32(RADEON_CRTC_GEN_CNTL) & 0x00718000; in radeon_set_crtc_timing()
689 crtc_gen_cntl |= (RADEON_CRTC_EXT_DISP_EN in radeon_set_crtc_timing()
704 crtc_gen_cntl |= RADEON_CRTC_EN; in radeon_set_crtc_timing()
716 WREG32(RADEON_CRTC_GEN_CNTL, crtc_gen_cntl); in radeon_set_crtc_timing()