Lines Matching refs:bt
105 struct bt_regs __iomem *bt; member
169 struct bt_regs __iomem *bt = par->bt; in tcx_setcolreg() local
181 sbus_writel(regno << 24, &bt->addr); in tcx_setcolreg()
182 sbus_writel(red << 24, &bt->color_map); in tcx_setcolreg()
183 sbus_writel(green << 24, &bt->color_map); in tcx_setcolreg()
184 sbus_writel(blue << 24, &bt->color_map); in tcx_setcolreg()
348 if (par->bt) in tcx_unmap_regs()
350 par->bt, sizeof(struct bt_regs)); in tcx_unmap_regs()
390 par->bt = of_ioremap(&op->resource[8], 0, in tcx_probe()
395 !par->bt || !info->screen_base) in tcx_probe()
437 sbus_writel(0x04 << 24, &par->bt->addr); /* color planes */ in tcx_probe()
438 sbus_writel(0xff << 24, &par->bt->control); in tcx_probe()
439 sbus_writel(0x05 << 24, &par->bt->addr); in tcx_probe()
440 sbus_writel(0x00 << 24, &par->bt->control); in tcx_probe()
441 sbus_writel(0x06 << 24, &par->bt->addr); /* overlay plane */ in tcx_probe()
442 sbus_writel(0x73 << 24, &par->bt->control); in tcx_probe()
443 sbus_writel(0x07 << 24, &par->bt->addr); in tcx_probe()
444 sbus_writel(0x00 << 24, &par->bt->control); in tcx_probe()