Lines Matching refs:writel
60 writel(p->var.bits_per_pixel == 32 ? 3 : in wmt_ge_fillrect()
62 writel(p->var.bits_per_pixel == 15 ? 1 : 0, regbase + GE_HIGHCOLOR_OFF); in wmt_ge_fillrect()
63 writel(p->fix.smem_start, regbase + GE_DESTBASE_OFF); in wmt_ge_fillrect()
64 writel(p->var.xres_virtual - 1, regbase + GE_DESTDISPW_OFF); in wmt_ge_fillrect()
65 writel(p->var.yres_virtual - 1, regbase + GE_DESTDISPH_OFF); in wmt_ge_fillrect()
66 writel(rect->dx, regbase + GE_DESTAREAX_OFF); in wmt_ge_fillrect()
67 writel(rect->dy, regbase + GE_DESTAREAY_OFF); in wmt_ge_fillrect()
68 writel(rect->width - 1, regbase + GE_DESTAREAW_OFF); in wmt_ge_fillrect()
69 writel(rect->height - 1, regbase + GE_DESTAREAH_OFF); in wmt_ge_fillrect()
71 writel(pat, regbase + GE_PAT0C_OFF); in wmt_ge_fillrect()
72 writel(1, regbase + GE_COMMAND_OFF); in wmt_ge_fillrect()
73 writel(rect->rop == ROP_XOR ? 0x5a : 0xf0, regbase + GE_ROPCODE_OFF); in wmt_ge_fillrect()
74 writel(1, regbase + GE_FIRE_OFF); in wmt_ge_fillrect()
86 writel(p->var.bits_per_pixel > 16 ? 3 : in wmt_ge_copyarea()
89 writel(p->fix.smem_start, regbase + GE_SRCBASE_OFF); in wmt_ge_copyarea()
90 writel(p->var.xres_virtual - 1, regbase + GE_SRCDISPW_OFF); in wmt_ge_copyarea()
91 writel(p->var.yres_virtual - 1, regbase + GE_SRCDISPH_OFF); in wmt_ge_copyarea()
92 writel(area->sx, regbase + GE_SRCAREAX_OFF); in wmt_ge_copyarea()
93 writel(area->sy, regbase + GE_SRCAREAY_OFF); in wmt_ge_copyarea()
94 writel(area->width - 1, regbase + GE_SRCAREAW_OFF); in wmt_ge_copyarea()
95 writel(area->height - 1, regbase + GE_SRCAREAH_OFF); in wmt_ge_copyarea()
97 writel(p->fix.smem_start, regbase + GE_DESTBASE_OFF); in wmt_ge_copyarea()
98 writel(p->var.xres_virtual - 1, regbase + GE_DESTDISPW_OFF); in wmt_ge_copyarea()
99 writel(p->var.yres_virtual - 1, regbase + GE_DESTDISPH_OFF); in wmt_ge_copyarea()
100 writel(area->dx, regbase + GE_DESTAREAX_OFF); in wmt_ge_copyarea()
101 writel(area->dy, regbase + GE_DESTAREAY_OFF); in wmt_ge_copyarea()
102 writel(area->width - 1, regbase + GE_DESTAREAW_OFF); in wmt_ge_copyarea()
103 writel(area->height - 1, regbase + GE_DESTAREAH_OFF); in wmt_ge_copyarea()
105 writel(0xcc, regbase + GE_ROPCODE_OFF); in wmt_ge_copyarea()
106 writel(1, regbase + GE_COMMAND_OFF); in wmt_ge_copyarea()
107 writel(1, regbase + GE_FIRE_OFF); in wmt_ge_copyarea()
142 writel(1, regbase + GE_ENABLE_OFF); in wmt_ge_rops_probe()