cgthree_softc
CFATTACH_DECL_NEW(cgthree_sbus, sizeof(struct cgthree_softc),
struct cgthree_softc *sc = device_private(self);
static void cg3_setup_palette(struct cgthree_softc *);
int cgthree_putcmap(struct cgthree_softc *, struct wsdisplay_cmap *);
int cgthree_getcmap(struct cgthree_softc *, struct wsdisplay_cmap *);
cgthreeattach(struct cgthree_softc *sc, const char *name, int isconsole)
struct cgthree_softc *sc = device_lookup_private(&cgthree_cd,
struct cgthree_softc *sc = device_private(self);
cgthree_set_video(struct cgthree_softc *sc, int enable)
cgthree_get_video(struct cgthree_softc *sc)
cgthreeloadcmap(struct cgthree_softc *sc, int start, int ncolors)
struct cgthree_softc *sc = device_lookup_private(&cgthree_cd,
cg3_setup_palette(struct cgthree_softc *sc)
struct cgthree_softc *sc = vd->cookie;
struct cgthree_softc *sc = vd->cookie;
cgthree_putcmap(struct cgthree_softc *sc, struct wsdisplay_cmap *cm)
cgthree_getcmap(struct cgthree_softc *sc, struct wsdisplay_cmap *cm)
struct cgthree_softc *sc = cookie;
static void cgthreeloadcmap(struct cgthree_softc *, int, int);
static void cgthree_set_video(struct cgthree_softc *, int);
static int cgthree_get_video(struct cgthree_softc *);
void cgthreeattach(struct cgthree_softc *, const char *, int);