Home | History | Annotate | Download | only in sun

Lines Matching refs:bt

60  *	bt->bt_addr = 0;
61 * bt->bt_cmap = R0G0B0R1;
62 * bt->bt_cmap = G1B1R2G2;
77 #define BT_INIT(bt, shift) do { /* whatever this means.. */ \
78 (bt)->bt_addr = 0x06 << (shift); /* command reg */ \
79 (bt)->bt_ctrl = 0x73 << (shift); /* overlay plane */ \
80 (bt)->bt_addr = 0x04 << (shift); /* read mask */ \
81 (bt)->bt_ctrl = 0xff << (shift); /* color planes */ \
83 #define BT_UNBLANK(bt, x, shift) do { \
85 (bt)->bt_addr = 0 << (shift); \
86 (bt)->bt_cmap = (x); \
88 (bt)->bt_cmap = (x) << 8; \
89 (bt)->bt_cmap = (x) << 16; \
91 BT_INIT((bt), (shift)); \
93 #define BT_BLANK(bt, shift) do { \
94 (bt)->bt_addr = 0x06 << (shift); /* command reg */ \
95 (bt)->bt_ctrl = 0x70 << (shift); /* overlay plane */ \
96 (bt)->bt_addr = 0x04 << (shift); /* read mask */ \
97 (bt)->bt_ctrl = 0x00 << (shift); /* color planes */ \
99 (bt)->bt_addr = 0 << (shift); \
100 (bt)->bt_cmap = 0 << (shift); \
102 BT_INIT((bt), (shift)); \