Lines Matching refs:dinfo
523 #define INREG8(addr) readb((u8 __iomem *)(dinfo->mmio_base + (addr)))
524 #define INREG16(addr) readw((u16 __iomem *)(dinfo->mmio_base + (addr)))
525 #define INREG(addr) readl((u32 __iomem *)(dinfo->mmio_base + (addr)))
526 #define OUTREG8(addr, val) writeb((val),(u8 __iomem *)(dinfo->mmio_base + \
528 #define OUTREG16(addr, val) writew((val),(u16 __iomem *)(dinfo->mmio_base + \
530 #define OUTREG(addr, val) writel((val),(u32 __iomem *)(dinfo->mmio_base + \
535 writel((n), (u32 __iomem *)(dinfo->ring.virtual + dinfo->ring_tail));\
536 dinfo->ring_tail += 4; \
537 dinfo->ring_tail &= dinfo->ring_tail_mask; \
541 if (dinfo->ring_space < (n) * 4) \
542 wait_ring(dinfo,(n) * 4); \
543 dinfo->ring_space -= (n) * 4; \
547 OUTREG(PRI_RING_TAIL, dinfo->ring_tail); \
561 extern int intelfbhw_get_chipset(struct pci_dev *pdev, struct intelfb_info *dinfo);
564 extern int intelfbhw_check_non_crt(struct intelfb_info *dinfo);
566 extern int intelfbhw_validate_mode(struct intelfb_info *dinfo,
571 extern void intelfbhw_setcolreg(struct intelfb_info *dinfo, unsigned regno,
574 extern int intelfbhw_read_hw_state(struct intelfb_info *dinfo,
576 extern void intelfbhw_print_hw_state(struct intelfb_info *dinfo,
578 extern int intelfbhw_mode_to_hw(struct intelfb_info *dinfo,
581 extern int intelfbhw_program_mode(struct intelfb_info *dinfo,
583 extern void intelfbhw_do_sync(struct intelfb_info *dinfo);
584 extern void intelfbhw_2d_stop(struct intelfb_info *dinfo);
585 extern void intelfbhw_2d_start(struct intelfb_info *dinfo);
586 extern void intelfbhw_do_fillrect(struct intelfb_info *dinfo, u32 x, u32 y,
589 extern void intelfbhw_do_bitblt(struct intelfb_info *dinfo, u32 curx, u32 cury,
592 extern int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg,
595 extern void intelfbhw_cursor_init(struct intelfb_info *dinfo);
596 extern void intelfbhw_cursor_hide(struct intelfb_info *dinfo);
597 extern void intelfbhw_cursor_show(struct intelfb_info *dinfo);
598 extern void intelfbhw_cursor_setpos(struct intelfb_info *dinfo, int x, int y);
599 extern void intelfbhw_cursor_setcolor(struct intelfb_info *dinfo, u32 bg,
601 extern void intelfbhw_cursor_load(struct intelfb_info *dinfo, int width,
603 extern void intelfbhw_cursor_reset(struct intelfb_info *dinfo);
604 extern int intelfbhw_enable_irq(struct intelfb_info *dinfo);
605 extern void intelfbhw_disable_irq(struct intelfb_info *dinfo);
606 extern int intelfbhw_wait_for_vsync(struct intelfb_info *dinfo, u32 pipe);