Lines Matching refs:bt
110 struct bt_regs __iomem *bt; member
174 struct bt_regs __iomem *bt = par->bt; in tcx_setcolreg() local
186 sbus_writel(regno << 24, &bt->addr); in tcx_setcolreg()
187 sbus_writel(red << 24, &bt->color_map); in tcx_setcolreg()
188 sbus_writel(green << 24, &bt->color_map); in tcx_setcolreg()
189 sbus_writel(blue << 24, &bt->color_map); in tcx_setcolreg()
354 if (par->bt) in tcx_unmap_regs()
356 par->bt, sizeof(struct bt_regs)); in tcx_unmap_regs()
397 par->bt = of_ioremap(&op->resource[8], 0, in tcx_probe()
402 !par->bt || !info->screen_base) in tcx_probe()
445 sbus_writel(0x04 << 24, &par->bt->addr); /* color planes */ in tcx_probe()
446 sbus_writel(0xff << 24, &par->bt->control); in tcx_probe()
447 sbus_writel(0x05 << 24, &par->bt->addr); in tcx_probe()
448 sbus_writel(0x00 << 24, &par->bt->control); in tcx_probe()
449 sbus_writel(0x06 << 24, &par->bt->addr); /* overlay plane */ in tcx_probe()
450 sbus_writel(0x73 << 24, &par->bt->control); in tcx_probe()
451 sbus_writel(0x07 << 24, &par->bt->addr); in tcx_probe()
452 sbus_writel(0x00 << 24, &par->bt->control); in tcx_probe()