Home
last modified time | relevance | path

Searched refs:bt_cmap (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/sys/arch/luna68k/dev/
H A Dlunafb.c63 volatile uint8_t bt_cmap; /* colormap data register */ member
69 volatile uint8_t bt_cmap; /* colormap data register */ member
377 odac->bt_cmap = sc->sc_dc->dc_cmap.r[i]; in omsetcmap()
378 odac->bt_cmap = sc->sc_dc->dc_cmap.g[i]; in omsetcmap()
379 odac->bt_cmap = sc->sc_dc->dc_cmap.b[i]; in omsetcmap()
385 ndac->bt_cmap = sc->sc_dc->dc_cmap.r[i]; in omsetcmap()
386 ndac->bt_cmap = sc->sc_dc->dc_cmap.g[i]; in omsetcmap()
387 ndac->bt_cmap = sc->sc_dc->dc_cmap.b[i]; in omsetcmap()
408 odac->bt_cmap = dc->dc_cmap.r[i] = 0; in omfb_resetcmap()
409 odac->bt_cmap = dc->dc_cmap.g[i] = 0; in omfb_resetcmap()
[all …]
/netbsd-src/sys/dev/sun/
H A Dbtreg.h73 u_int bt_cmap; /* colormap data register */ member
86 (bt)->bt_cmap = (x); \
88 (bt)->bt_cmap = (x) << 8; \
89 (bt)->bt_cmap = (x) << 16; \
100 (bt)->bt_cmap = 0 << (shift); \
H A Dbtvar.h52 union bt_cmap { union
60 int bt_getcmap(struct fbcmap *, union bt_cmap *, int, int);
61 int bt_putcmap(struct fbcmap *, union bt_cmap *, int, int);
62 void bt_initcmap(union bt_cmap *, int);
H A Dbt_subr.c67 bt_getcmap(struct fbcmap *p, union bt_cmap *cm, int cmsize, int uspace) in bt_getcmap()
122 bt_putcmap(struct fbcmap *p, union bt_cmap *cm, int cmsize, int uspace) in bt_putcmap()
177 bt_initcmap(union bt_cmap *cm, int cmsize) in bt_initcmap()
246 bt->bt_cmap = v; in bt_loadcmap_packed256()
H A Dcgthreevar.h54 union bt_cmap sc_cmap; /* Brooktree color map */
H A Dcgsixvar.h81 union bt_cmap sc_cmap; /* Brooktree color map */
H A Dcgsix.c789 (union bt_cmap *)&cc->cc_color, 2, 1); in cgsixioctl()
813 error = bt_putcmap(&p->cmap, (union bt_cmap *)&tcm, 2, in cgsixioctl()
976 bt->bt_cmap = i; in cg6_loadcmap()
977 bt->bt_cmap = i << 8; in cg6_loadcmap()
978 bt->bt_cmap = i << 16; in cg6_loadcmap()
979 bt->bt_cmap = i << 24; in cg6_loadcmap()
H A Dcgthree.c358 bt->bt_cmap = *ip++; in cgthreeloadcmap()
/netbsd-src/sys/dev/tc/
H A Dmfb.c65 #define bt_cmap 0x4 macro
511 REGWRITE32(vdac, bt_cmap, 0); in mfbintr()
512 REGWRITE32(vdac, bt_cmap, cp[1]); in mfbintr()
513 REGWRITE32(vdac, bt_cmap, 0); in mfbintr()
515 REGWRITE32(vdac, bt_cmap, 0); in mfbintr()
516 REGWRITE32(vdac, bt_cmap, cp[1]); in mfbintr()
517 REGWRITE32(vdac, bt_cmap, 0); in mfbintr()
584 REGWRITE32(vdac, bt_cmap, 0); in mfbhwinit()
585 REGWRITE32(vdac, bt_cmap, 0); in mfbhwinit()
586 REGWRITE32(vdac, bt_cmap, 0); in mfbhwinit()
[all …]
H A Dtfb.c99 #define bt_cmap 0xc macro
633 REGWRITE32(vdac, bt_cmap, cm->r[index]); in tfbintr()
634 REGWRITE32(vdac, bt_cmap, cm->g[index]); in tfbintr()
635 REGWRITE32(vdac, bt_cmap, cm->b[index]); in tfbintr()
687 REGWRITE32(vdac, bt_cmap, p[0]); in tfbhwinit()
688 REGWRITE32(vdac, bt_cmap, p[1]); in tfbhwinit()
689 REGWRITE32(vdac, bt_cmap, p[2]); in tfbhwinit()
695 REGWRITE32(vdac, bt_cmap, i); in tfbhwinit()
696 REGWRITE32(vdac, bt_cmap, i); in tfbhwinit()
697 REGWRITE32(vdac, bt_cmap, i); in tfbhwinit()
H A Dcfb.c88 #define bt_cmap 0xc macro
586 REGWRITE32(vdac, bt_cmap, cm->r[index]); in cfbintr()
587 REGWRITE32(vdac, bt_cmap, cm->g[index]); in cfbintr()
588 REGWRITE32(vdac, bt_cmap, cm->b[index]); in cfbintr()
634 REGWRITE32(vdac, bt_cmap, p[0]); in cfbhwinit()
635 REGWRITE32(vdac, bt_cmap, p[1]); in cfbhwinit()
636 REGWRITE32(vdac, bt_cmap, p[2]); in cfbhwinit()
H A Dsfb.c89 #define bt_cmap 0xc macro
638 REGWRITE32(vdac, bt_cmap, cm->r[index]); in sfbintr()
639 REGWRITE32(vdac, bt_cmap, cm->g[index]); in sfbintr()
640 REGWRITE32(vdac, bt_cmap, cm->b[index]); in sfbintr()
687 REGWRITE32(vdac, bt_cmap, p[0]); in sfbhwinit()
688 REGWRITE32(vdac, bt_cmap, p[1]); in sfbhwinit()
689 REGWRITE32(vdac, bt_cmap, p[2]); in sfbhwinit()
H A Dsfbplus.c71 #define bt_cmap 3 macro
642 REG(vdac, bt_cmap) = p[0]; tc_wmb(); in bt459init()
643 REG(vdac, bt_cmap) = p[1]; tc_wmb(); in bt459init()
644 REG(vdac, bt_cmap) = p[2]; tc_wmb(); in bt459init()
956 REG(hw, bt_cmap) = cm->r[index]; tc_wmb(); in bt459setlut()
957 REG(hw, bt_cmap) = cm->g[index]; tc_wmb(); in bt459setlut()
958 REG(hw, bt_cmap) = cm->b[index]; tc_wmb(); in bt459setlut()
H A Dstic.c115 #define bt_cmap 3 macro
1221 REG(vdac, bt_cmap) = DUPBYTE0(cm->r[index]); in stic_flush()
1223 REG(vdac, bt_cmap) = DUPBYTE0(cm->g[index]); in stic_flush()
1225 REG(vdac, bt_cmap) = DUPBYTE0(cm->b[index]); in stic_flush()
/netbsd-src/sys/arch/sun3/dev/
H A Dbtvar.h52 union bt_cmap { union
60 int bt_getcmap(struct fbcmap *, union bt_cmap *, int);
61 int bt_putcmap(struct fbcmap *, union bt_cmap *, int);
H A Dcg4.c601 btcm->btcm_int[i] = bt->bt_cmap; in cg4b_init()
605 btcm->btcm_char[i] = bt->bt_cmap >> 24; in cg4b_init()
644 bt->bt_cmap = btcm->btcm_int[i]; in cg4b_ldcmap()
648 bt->bt_cmap = 0; in cg4b_ldcmap()
655 bt->bt_cmap = btcm->btcm_char[i] << 24; in cg4b_ldcmap()
659 bt->bt_cmap = 0; in cg4b_ldcmap()
H A Dbt_subr.c65 bt_getcmap(struct fbcmap *p, union bt_cmap *cm, int cmsize) in bt_getcmap()
90 bt_putcmap(struct fbcmap *p, union bt_cmap *cm, int cmsize) in bt_putcmap()
H A Dbtreg.h73 u_int bt_cmap; /* colormap data register */ member
/netbsd-src/sys/arch/sparc/dev/
H A Dcgfour.c132 union bt_cmap sc_cmap; /* Brooktree color map */
305 ((char *)&sc->sc_cmap)[i] = bt->bt_cmap >> 24; in cgfourattach()
500 bt->bt_cmap = i; in cgfourloadcmap()
501 bt->bt_cmap = i << 8; in cgfourloadcmap()
502 bt->bt_cmap = i << 16; in cgfourloadcmap()
503 bt->bt_cmap = i << 24; in cgfourloadcmap()
H A Dcgeight.c134 union bt_cmap sc_cmap; /* Brooktree color map */
313 sc->sc_cmap.cm_chip[i] = bt->bt_cmap; in cgeightattach()
529 bt->bt_cmap = *ip++; in cgeightloadcmap()
/netbsd-src/lib/libc/db/recno/
H A Drec_get.c245 sp = (uint8_t *)t->bt_cmap; in __rec_fmap()
260 t->bt_cmap = (caddr_t)sp; in __rec_fmap()
282 sp = (uint8_t *)t->bt_cmap; in __rec_vmap()
297 t->bt_cmap = (caddr_t)sp; in __rec_vmap()
H A Drec_open.c178 t->bt_cmap = t->bt_smap; in __rec_open()
/netbsd-src/sys/arch/vax/vsa/
H A Dspx.c262 static volatile char *bt_cmap; variable
422 *bt_cmap = red; in spx_update_cmap()
423 *bt_cmap = green; in spx_update_cmap()
424 *bt_cmap = blue; in spx_update_cmap()
1281 bt_cmap = (char *)virtual_avail; in SPX_map_fb()
1283 ioaccess((vaddr_t)bt_cmap, SPX_BT459_CMAP, 1); in SPX_map_fb()
1316 bt_cmap = (char *)vax_map_physmem(SPX_BT459_CMAP, 1); in SPX_map_fb()
1317 if (bt_cmap == 0) { in SPX_map_fb()
1343 bt_cmap = bt_addrl + 0x0c; in SPXg_map_fb()
1364 bt_cmap = bt_addrl + 0x0c; in SPXg_map_fb()
/netbsd-src/lib/libc/db/btree/
H A Dbtree.h397 caddr_t bt_cmap; /* R: current point in mapped space */ member
/netbsd-src/sys/dev/sbus/
H A Dagten.c119 union bt_cmap sc_cmap; /* Brooktree color map */

12