Lines Matching refs:bt

493 	struct bt_regs *bt = fb->s.cg6.bt;  in cg6_loadcmap()  local
498 sbus_writel(index << 24, &bt->addr); in cg6_loadcmap()
501 &bt->color_map); in cg6_loadcmap()
503 &bt->color_map); in cg6_loadcmap()
505 &bt->color_map); in cg6_loadcmap()
512 struct bt_regs *bt = fb->s.cg6.bt; in cg6_restore_palette() local
516 sbus_writel(0, &bt->addr); in cg6_restore_palette()
517 sbus_writel(0xffffffff, &bt->color_map); in cg6_restore_palette()
518 sbus_writel(0xffffffff, &bt->color_map); in cg6_restore_palette()
519 sbus_writel(0xffffffff, &bt->color_map); in cg6_restore_palette()
535 struct bt_regs *bt = fb->s.cg6.bt; in cg6_setcursormap() local
539 sbus_writel(1 << 24, &bt->addr); in cg6_setcursormap()
540 sbus_writel(red[0] << 24, &bt->cursor); in cg6_setcursormap()
541 sbus_writel(green[0] << 24, &bt->cursor); in cg6_setcursormap()
542 sbus_writel(blue[0] << 24, &bt->cursor); in cg6_setcursormap()
543 sbus_writel(3 << 24, &bt->addr); in cg6_setcursormap()
544 sbus_writel(red[1] << 24, &bt->cursor); in cg6_setcursormap()
545 sbus_writel(green[1] << 24, &bt->cursor); in cg6_setcursormap()
546 sbus_writel(blue[1] << 24, &bt->cursor); in cg6_setcursormap()
663 sbus_writel(0x06 << 24, &fb->s.cg6.bt->addr); in cg6_reset()
664 tmp = sbus_readl(&fb->s.cg6.bt->control); in cg6_reset()
666 sbus_writel(tmp, &fb->s.cg6.bt->control); in cg6_reset()
702 struct bt_regs *bt; in cgsixfb_init() local
739 fb->s.cg6.bt = bt = (struct bt_regs *) in cgsixfb_init()
754 fb->s.cg6.bt, in cgsixfb_init()
775 sbus_writel(0x04 << 24, &bt->addr); /* color planes */ in cgsixfb_init()
776 sbus_writel(0xff << 24, &bt->control); in cgsixfb_init()
777 sbus_writel(0x05 << 24, &bt->addr); in cgsixfb_init()
778 sbus_writel(0x00 << 24, &bt->control); in cgsixfb_init()
779 sbus_writel(0x06 << 24, &bt->addr); /* overlay plane */ in cgsixfb_init()
780 sbus_writel(0x73 << 24, &bt->control); in cgsixfb_init()
781 sbus_writel(0x07 << 24, &bt->addr); in cgsixfb_init()
782 sbus_writel(0x00 << 24, &bt->control); in cgsixfb_init()