cgfour_softc
CFATTACH_DECL_NEW(cgfour, sizeof(struct cgfour_softc),
static void cgfourloadcmap(struct cgfour_softc *, int, int);
static int cgfour_get_video(struct cgfour_softc *);
static void cgfour_set_video(struct cgfour_softc *, int);
static void cgfour_setup_palette(struct cgfour_softc *);
static void cgfour_clear_screen(struct cgfour_softc *, int);
static int cgfour_putcmap(struct cgfour_softc *, struct wsdisplay_cmap *);
static int cgfour_getcmap(struct cgfour_softc *, struct wsdisplay_cmap *);
struct cgfour_softc *sc = device_private(self);
struct cgfour_softc *sc = device_lookup_private(&cgfour_cd, minor(dev));
struct cgfour_softc *sc = device_lookup_private(&cgfour_cd, minor(dev));
cgfour_get_video(struct cgfour_softc *sc)
cgfour_set_video(struct cgfour_softc *sc, int enable)
cgfourloadcmap(struct cgfour_softc *sc, int start, int ncolors)
cgfour_setup_palette(struct cgfour_softc *sc)
struct cgfour_softc *sc = vd->cookie;
struct cgfour_softc *sc = vd->cookie;
cgfour_putcmap(struct cgfour_softc *sc, struct wsdisplay_cmap *cm)
cgfour_getcmap(struct cgfour_softc *sc, struct wsdisplay_cmap *cm)
struct cgfour_softc *sc = cookie;
cgfour_clear_screen(struct cgfour_softc *sc, int bg)