Lines Matching refs:INREG

284 	if (INREG(LVDS) & PORT_ENABLE)  in intelfbhw_check_non_crt()
286 if (INREG(DVOA) & PORT_ENABLE) in intelfbhw_check_non_crt()
288 if (INREG(DVOB) & PORT_ENABLE) in intelfbhw_check_non_crt()
290 if (INREG(DVOC) & PORT_ENABLE) in intelfbhw_check_non_crt()
425 tmp = INREG(DSPACNTR); in intelfbhw_do_blank()
432 tmp = INREG(DSPABASE); in intelfbhw_do_blank()
449 tmp = INREG(ADPA) & ~ADPA_DPMS_CONTROL_MASK; in intelfbhw_do_blank()
529 hw->vga0_divisor = INREG(VGA0_DIVISOR); in intelfbhw_read_hw_state()
530 hw->vga1_divisor = INREG(VGA1_DIVISOR); in intelfbhw_read_hw_state()
531 hw->vga_pd = INREG(VGAPD); in intelfbhw_read_hw_state()
532 hw->dpll_a = INREG(DPLL_A); in intelfbhw_read_hw_state()
533 hw->dpll_b = INREG(DPLL_B); in intelfbhw_read_hw_state()
534 hw->fpa0 = INREG(FPA0); in intelfbhw_read_hw_state()
535 hw->fpa1 = INREG(FPA1); in intelfbhw_read_hw_state()
536 hw->fpb0 = INREG(FPB0); in intelfbhw_read_hw_state()
537 hw->fpb1 = INREG(FPB1); in intelfbhw_read_hw_state()
545 hw->palette_a[i] = INREG(PALETTE_A + (i << 2)); in intelfbhw_read_hw_state()
546 hw->palette_b[i] = INREG(PALETTE_B + (i << 2)); in intelfbhw_read_hw_state()
553 hw->htotal_a = INREG(HTOTAL_A); in intelfbhw_read_hw_state()
554 hw->hblank_a = INREG(HBLANK_A); in intelfbhw_read_hw_state()
555 hw->hsync_a = INREG(HSYNC_A); in intelfbhw_read_hw_state()
556 hw->vtotal_a = INREG(VTOTAL_A); in intelfbhw_read_hw_state()
557 hw->vblank_a = INREG(VBLANK_A); in intelfbhw_read_hw_state()
558 hw->vsync_a = INREG(VSYNC_A); in intelfbhw_read_hw_state()
559 hw->src_size_a = INREG(SRC_SIZE_A); in intelfbhw_read_hw_state()
560 hw->bclrpat_a = INREG(BCLRPAT_A); in intelfbhw_read_hw_state()
561 hw->htotal_b = INREG(HTOTAL_B); in intelfbhw_read_hw_state()
562 hw->hblank_b = INREG(HBLANK_B); in intelfbhw_read_hw_state()
563 hw->hsync_b = INREG(HSYNC_B); in intelfbhw_read_hw_state()
564 hw->vtotal_b = INREG(VTOTAL_B); in intelfbhw_read_hw_state()
565 hw->vblank_b = INREG(VBLANK_B); in intelfbhw_read_hw_state()
566 hw->vsync_b = INREG(VSYNC_B); in intelfbhw_read_hw_state()
567 hw->src_size_b = INREG(SRC_SIZE_B); in intelfbhw_read_hw_state()
568 hw->bclrpat_b = INREG(BCLRPAT_B); in intelfbhw_read_hw_state()
573 hw->adpa = INREG(ADPA); in intelfbhw_read_hw_state()
574 hw->dvoa = INREG(DVOA); in intelfbhw_read_hw_state()
575 hw->dvob = INREG(DVOB); in intelfbhw_read_hw_state()
576 hw->dvoc = INREG(DVOC); in intelfbhw_read_hw_state()
577 hw->dvoa_srcdim = INREG(DVOA_SRCDIM); in intelfbhw_read_hw_state()
578 hw->dvob_srcdim = INREG(DVOB_SRCDIM); in intelfbhw_read_hw_state()
579 hw->dvoc_srcdim = INREG(DVOC_SRCDIM); in intelfbhw_read_hw_state()
580 hw->lvds = INREG(LVDS); in intelfbhw_read_hw_state()
585 hw->pipe_a_conf = INREG(PIPEACONF); in intelfbhw_read_hw_state()
586 hw->pipe_b_conf = INREG(PIPEBCONF); in intelfbhw_read_hw_state()
587 hw->disp_arb = INREG(DISPARB); in intelfbhw_read_hw_state()
592 hw->cursor_a_control = INREG(CURSOR_A_CONTROL); in intelfbhw_read_hw_state()
593 hw->cursor_b_control = INREG(CURSOR_B_CONTROL); in intelfbhw_read_hw_state()
594 hw->cursor_a_base = INREG(CURSOR_A_BASEADDR); in intelfbhw_read_hw_state()
595 hw->cursor_b_base = INREG(CURSOR_B_BASEADDR); in intelfbhw_read_hw_state()
601 hw->cursor_a_palette[i] = INREG(CURSOR_A_PALETTE0 + (i << 2)); in intelfbhw_read_hw_state()
602 hw->cursor_b_palette[i] = INREG(CURSOR_B_PALETTE0 + (i << 2)); in intelfbhw_read_hw_state()
608 hw->cursor_size = INREG(CURSOR_SIZE); in intelfbhw_read_hw_state()
613 hw->disp_a_ctrl = INREG(DSPACNTR); in intelfbhw_read_hw_state()
614 hw->disp_b_ctrl = INREG(DSPBCNTR); in intelfbhw_read_hw_state()
615 hw->disp_a_base = INREG(DSPABASE); in intelfbhw_read_hw_state()
616 hw->disp_b_base = INREG(DSPBBASE); in intelfbhw_read_hw_state()
617 hw->disp_a_stride = INREG(DSPASTRIDE); in intelfbhw_read_hw_state()
618 hw->disp_b_stride = INREG(DSPBSTRIDE); in intelfbhw_read_hw_state()
623 hw->vgacntrl = INREG(VGACNTRL); in intelfbhw_read_hw_state()
628 hw->add_id = INREG(ADD_ID); in intelfbhw_read_hw_state()
634 hw->swf0x[i] = INREG(SWF00 + (i << 2)); in intelfbhw_read_hw_state()
635 hw->swf1x[i] = INREG(SWF10 + (i << 2)); in intelfbhw_read_hw_state()
637 hw->swf3x[i] = INREG(SWF30 + (i << 2)); in intelfbhw_read_hw_state()
641 hw->fence[i] = INREG(FENCE + (i << 2)); in intelfbhw_read_hw_state()
643 hw->instpm = INREG(INSTPM); in intelfbhw_read_hw_state()
644 hw->mem_mode = INREG(MEM_MODE); in intelfbhw_read_hw_state()
645 hw->fw_blc_0 = INREG(FW_BLC_0); in intelfbhw_read_hw_state()
646 hw->fw_blc_1 = INREG(FW_BLC_1); in intelfbhw_read_hw_state()
1300 tmp = INREG(VGACNTRL); in intelfbhw_program_mode()
1357 tmp = INREG(pipe_conf_reg); in intelfbhw_program_mode()
1363 tmp_val[count % 3] = INREG(PIPEA_DSL); in intelfbhw_program_mode()
1369 tmp = INREG(pipe_conf_reg); in intelfbhw_program_mode()
1375 OUTREG(ADPA, INREG(ADPA) & ~ADPA_DAC_ENABLE); in intelfbhw_program_mode()
1378 tmp = INREG(DSPACNTR); in intelfbhw_program_mode()
1381 tmp = INREG(DSPBCNTR); in intelfbhw_program_mode()
1388 OUTREG(DVOB, INREG(DVOB) & ~PORT_ENABLE); in intelfbhw_program_mode()
1389 OUTREG(DVOC, INREG(DVOC) & ~PORT_ENABLE); in intelfbhw_program_mode()
1390 OUTREG(ADPA, INREG(ADPA) & ~ADPA_DAC_ENABLE); in intelfbhw_program_mode()
1393 tmp = INREG(ADPA); in intelfbhw_program_mode()
1402 tmp = INREG(dpll_reg); in intelfbhw_program_mode()
1421 OUTREG(ADPA, INREG(ADPA) | ADPA_DAC_ENABLE); in intelfbhw_program_mode()
1448 tmp = INREG(ADPA); in intelfbhw_program_mode()
1460 tmp = INREG(DSPACNTR); in intelfbhw_program_mode()
1476 tmp = INREG(DSPACNTR); in intelfbhw_program_mode()
1512 u32 last_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring()
1520 dinfo->ring_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring()
1583 dinfo->ring_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in refresh_ring()
1584 dinfo->ring_tail = INREG(PRI_RING_TAIL) & RING_TAIL_MASK; in refresh_ring()
1601 tmp = INREG(PRI_RING_LENGTH); in reset_state()
1851 tmp = INREG(CURSOR_A_CONTROL); in intelfbhw_cursor_init()
1859 tmp = INREG(CURSOR_CONTROL); in intelfbhw_cursor_init()
1883 tmp = INREG(CURSOR_A_CONTROL); in intelfbhw_cursor_hide()
1890 tmp = INREG(CURSOR_CONTROL); in intelfbhw_cursor_hide()
1912 tmp = INREG(CURSOR_A_CONTROL); in intelfbhw_cursor_show()
1919 tmp = INREG(CURSOR_CONTROL); in intelfbhw_cursor_show()
2028 OUTREG(PIPEASTAT, INREG(PIPEASTAT)); in intelfbhw_irq()