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