Lines Matching defs:hyperfb_softc
80 struct hyperfb_softc {
113 CFATTACH_DECL_NEW(hyperfb, sizeof(struct hyperfb_softc), hyperfb_match,
116 static inline void hyperfb_setup_fb(struct hyperfb_softc *);
117 static inline void hyperfb_setup_fb24(struct hyperfb_softc *);
124 static int hyperfb_putcmap(struct hyperfb_softc *,
126 static int hyperfb_getcmap(struct hyperfb_softc *,
128 static void hyperfb_restore_palette(struct hyperfb_softc *);
129 static int hyperfb_putpalreg(struct hyperfb_softc *, uint8_t, uint8_t,
131 void hyperfb_setup(struct hyperfb_softc *);
132 static void hyperfb_set_video(struct hyperfb_softc *, int);
134 static void hyperfb_rectfill(struct hyperfb_softc *, int, int, int, int,
146 static void hyperfb_move_cursor(struct hyperfb_softc *, int, int);
147 static int hyperfb_do_cursor(struct hyperfb_softc *,
150 static inline void hyperfb_wait_fifo(struct hyperfb_softc *, uint32_t);
167 hyperfb_read4(struct hyperfb_softc *sc, uint32_t offset)
173 hyperfb_read1(struct hyperfb_softc *sc, uint32_t offset)
179 hyperfb_write4(struct hyperfb_softc *sc, uint32_t offset, uint32_t val)
185 hyperfb_write1(struct hyperfb_softc *sc, uint32_t offset, uint8_t val)
191 hyperfb_wait(struct hyperfb_softc *sc)
203 hyperfb_wait_fifo(struct hyperfb_softc *sc, uint32_t slots)
213 hyperfb_setup_fb(struct hyperfb_softc *sc)
237 hyperfb_setup_fb24(struct hyperfb_softc *sc)
327 struct hyperfb_softc *sc = device_private(self);
510 struct hyperfb_softc *sc = cookie;
548 struct hyperfb_softc *sc = vd->cookie;
674 struct hyperfb_softc *sc = vd->cookie;
697 hyperfb_putcmap(struct hyperfb_softc *sc, struct wsdisplay_cmap *cm)
735 hyperfb_getcmap(struct hyperfb_softc *sc, struct wsdisplay_cmap *cm)
758 hyperfb_restore_palette(struct hyperfb_softc *sc)
775 hyperfb_putpalreg(struct hyperfb_softc *sc, uint8_t idx, uint8_t r, uint8_t g,
797 hyperfb_setup(struct hyperfb_softc *sc)
964 hyperfb_set_video(struct hyperfb_softc *sc, int on)
984 hyperfb_rectfill(struct hyperfb_softc *sc, int x, int y, int wi, int he,
1031 struct hyperfb_softc *sc = cookie;
1052 struct hyperfb_softc *sc = scr->scr_cookie;
1070 struct hyperfb_softc *sc = scr->scr_cookie;
1101 struct hyperfb_softc *sc = scr->scr_cookie;
1182 struct hyperfb_softc *sc = scr->scr_cookie;
1210 struct hyperfb_softc *sc = scr->scr_cookie;
1233 struct hyperfb_softc *sc = scr->scr_cookie;
1258 struct hyperfb_softc *sc = scr->scr_cookie;
1276 hyperfb_move_cursor(struct hyperfb_softc *sc, int x, int y)
1295 hyperfb_do_cursor(struct hyperfb_softc *sc, struct wsdisplay_cursor *cur)