Home
last modified time | relevance | path

Searched refs:BT_D4M3 (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/sys/arch/sparc/dev/
Dcgfour.c493 ip = &sc->sc_cmap.cm_chip[BT_D4M3(start)]; /* start/4 * 3 */ in cgfourloadcmap()
494 count = BT_D4M3(start + ncolors - 1) - BT_D4M3(start) + 3; in cgfourloadcmap()
Dcgeight.c524 ip = &sc->sc_cmap.cm_chip[BT_D4M3(start)]; /* start/4 * 3 */ in cgeightloadcmap()
525 count = BT_D4M3(start + ncolors - 1) - BT_D4M3(start) + 3; in cgeightloadcmap()
/netbsd/src/sys/dev/sun/
Dbt_subr.c210 count = BT_D4M3(start + ncolors - 1) - BT_D4M3(start) + 3; in bt_loadcmap_packed256()
Dbtvar.h69 #define BT_D4M3(x) ((((x) >> 2) << 1) + ((x) >> 2)) /* (x / 4) * 3 */ macro
Dcgthree.c353 ip = &sc->sc_cmap.cm_chip[BT_D4M3(start)]; /* start/4 * 3 */ in cgthreeloadcmap()
354 count = BT_D4M3(start + ncolors - 1) - BT_D4M3(start) + 3; in cgthreeloadcmap()
Dcgsix.c928 ip = &sc->sc_cmap.cm_chip[BT_D4M3(start)]; /* start/4 * 3 */ in cg6_loadcmap()
929 count = BT_D4M3(start + ncolors - 1) - BT_D4M3(start) + 3; in cg6_loadcmap()
/netbsd/src/sys/arch/sun3/dev/
Dbtvar.h68 #define BT_D4M3(x) ((((x) >> 2) << 1) + ((x) >> 2)) /* (x / 4) * 3 */ macro