Lines Matching refs:sbus_writel
291 sbus_writel(CG6_THC_CURSOFF, &thc->thc_cursxy); in cg6_switch_from_graph()
329 sbus_writel(rect->color, &fbc->fg); in cg6_fillrect()
330 sbus_writel(~(u32)0, &fbc->pixelm); in cg6_fillrect()
331 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect()
332 sbus_writel(0, &fbc->s); in cg6_fillrect()
333 sbus_writel(0, &fbc->clip); in cg6_fillrect()
334 sbus_writel(~(u32)0, &fbc->pm); in cg6_fillrect()
335 sbus_writel(rect->dy, &fbc->arecty); in cg6_fillrect()
336 sbus_writel(rect->dx, &fbc->arectx); in cg6_fillrect()
337 sbus_writel(rect->dy + rect->height, &fbc->arecty); in cg6_fillrect()
338 sbus_writel(rect->dx + rect->width, &fbc->arectx); in cg6_fillrect()
366 sbus_writel(0xff, &fbc->fg); in cg6_copyarea()
367 sbus_writel(0x00, &fbc->bg); in cg6_copyarea()
368 sbus_writel(~0, &fbc->pixelm); in cg6_copyarea()
369 sbus_writel(0xe880cccc, &fbc->alu); in cg6_copyarea()
370 sbus_writel(0, &fbc->s); in cg6_copyarea()
371 sbus_writel(0, &fbc->clip); in cg6_copyarea()
373 sbus_writel(area->sy, &fbc->y0); in cg6_copyarea()
374 sbus_writel(area->sx, &fbc->x0); in cg6_copyarea()
375 sbus_writel(area->sy + area->height - 1, &fbc->y1); in cg6_copyarea()
376 sbus_writel(area->sx + area->width - 1, &fbc->x1); in cg6_copyarea()
377 sbus_writel(area->dy, &fbc->y2); in cg6_copyarea()
378 sbus_writel(area->dx, &fbc->x2); in cg6_copyarea()
379 sbus_writel(area->dy + area->height - 1, &fbc->y3); in cg6_copyarea()
380 sbus_writel(area->dx + area->width - 1, &fbc->x3); in cg6_copyarea()
411 sbus_writel(image->fg_color, &fbc->fg); in cg6_imageblit()
412 sbus_writel(image->bg_color, &fbc->bg); in cg6_imageblit()
413 sbus_writel(0x140000, &fbc->mode); in cg6_imageblit()
414 sbus_writel(0xe880fc30, &fbc->alu); in cg6_imageblit()
415 sbus_writel(~(u32)0, &fbc->pixelm); in cg6_imageblit()
416 sbus_writel(0, &fbc->s); in cg6_imageblit()
417 sbus_writel(0, &fbc->clip); in cg6_imageblit()
418 sbus_writel(0xff, &fbc->pm); in cg6_imageblit()
419 sbus_writel(32, &fbc->incx); in cg6_imageblit()
420 sbus_writel(0, &fbc->incy); in cg6_imageblit()
430 sbus_writel(y, &fbc->y0); in cg6_imageblit()
431 sbus_writel(x, &fbc->x0); in cg6_imageblit()
432 sbus_writel(x + 32 - 1, &fbc->x1); in cg6_imageblit()
438 sbus_writel(val, &fbc->font); in cg6_imageblit()
447 sbus_writel(y, &fbc->y0); in cg6_imageblit()
448 sbus_writel(x, &fbc->x0); in cg6_imageblit()
449 sbus_writel(x + width - 1, &fbc->x1); in cg6_imageblit()
463 sbus_writel(val, &fbc->font); in cg6_imageblit()
500 sbus_writel((u32)regno << 24, &bt->addr); in cg6_setcolreg()
501 sbus_writel((u32)red << 24, &bt->color_map); in cg6_setcolreg()
502 sbus_writel((u32)green << 24, &bt->color_map); in cg6_setcolreg()
503 sbus_writel((u32)blue << 24, &bt->color_map); in cg6_setcolreg()
541 sbus_writel(val, &thc->thc_misc); in cg6_blank()
656 sbus_writel(0x04 << 24, &bt->addr); /* color planes */ in cg6_bt_init()
657 sbus_writel(0xff << 24, &bt->control); in cg6_bt_init()
658 sbus_writel(0x05 << 24, &bt->addr); in cg6_bt_init()
659 sbus_writel(0x00 << 24, &bt->control); in cg6_bt_init()
660 sbus_writel(0x06 << 24, &bt->addr); /* overlay plane */ in cg6_bt_init()
661 sbus_writel(0x73 << 24, &bt->control); in cg6_bt_init()
662 sbus_writel(0x07 << 24, &bt->addr); in cg6_bt_init()
663 sbus_writel(0x00 << 24, &bt->control); in cg6_bt_init()
676 sbus_writel(CG6_THC_CURSOFF, &thc->thc_cursxy); in cg6_chip_init()
679 sbus_writel(0, &tec->tec_matrix); in cg6_chip_init()
680 sbus_writel(0, &tec->tec_clip); in cg6_chip_init()
681 sbus_writel(0, &tec->tec_vdc); in cg6_chip_init()
692 sbus_writel(conf, par->fhc); in cg6_chip_init()
710 sbus_writel(mode, &fbc->mode); in cg6_chip_init()
712 sbus_writel(0, &fbc->clip); in cg6_chip_init()
713 sbus_writel(0, &fbc->offx); in cg6_chip_init()
714 sbus_writel(0, &fbc->offy); in cg6_chip_init()
715 sbus_writel(0, &fbc->clipminx); in cg6_chip_init()
716 sbus_writel(0, &fbc->clipminy); in cg6_chip_init()
717 sbus_writel(info->var.xres - 1, &fbc->clipmaxx); in cg6_chip_init()
718 sbus_writel(info->var.yres - 1, &fbc->clipmaxy); in cg6_chip_init()