Lines Matching defs:mach64_softc
88 struct mach64_softc {
225 CFATTACH_DECL_NEW(machfb, sizeof(struct mach64_softc), mach64_match,
228 static void mach64_init(struct mach64_softc *);
229 static int mach64_get_memsize(struct mach64_softc *);
230 static int mach64_get_max_ramdac(struct mach64_softc *);
234 static void mach64_get_mode(struct mach64_softc *, struct videomode *);
235 static void mach64_print_reg(struct mach64_softc *);
238 static int mach64_calc_crtcregs(struct mach64_softc *,
241 static void mach64_set_crtcregs(struct mach64_softc *,
244 static int mach64_modeswitch(struct mach64_softc *, struct videomode *);
245 static void mach64_set_dsp(struct mach64_softc *);
246 static void mach64_set_pll(struct mach64_softc *, int);
247 static void mach64_reset_engine(struct mach64_softc *);
248 static void mach64_init_engine(struct mach64_softc *);
250 static void mach64_adjust_frame(struct mach64_softc *, int, int);
252 static void mach64_init_lut(struct mach64_softc *);
255 static int mach64_is_console(struct mach64_softc *);
267 static void mach64_clearscreen(struct mach64_softc *);
269 static int mach64_putcmap(struct mach64_softc *, struct wsdisplay_cmap *);
270 static int mach64_getcmap(struct mach64_softc *, struct wsdisplay_cmap *);
271 static int mach64_putpalreg(struct mach64_softc *, uint8_t, uint8_t,
274 static void mach64_rectfill(struct mach64_softc *, int, int, int, int, int);
275 static void mach64_setup_mono(struct mach64_softc *, int, int, int, int,
277 static void mach64_feed_bytes(struct mach64_softc *, int, uint8_t *);
279 static void mach64_showpal(struct mach64_softc *);
282 static void machfb_blank(struct mach64_softc *, int);
315 regr(struct mach64_softc *sc, uint32_t index)
321 regrb(struct mach64_softc *sc, uint32_t index)
327 regw(struct mach64_softc *sc, uint32_t index, uint32_t data)
335 regws(struct mach64_softc *sc, uint32_t index, uint32_t data)
343 regwb(struct mach64_softc *sc, uint32_t index, uint8_t data)
351 regwb_pll(struct mach64_softc *sc, uint32_t index, uint8_t data)
368 regrb_pll(struct mach64_softc *sc, uint32_t index)
376 wait_for_fifo(struct mach64_softc *sc, uint8_t v)
383 wait_for_idle(struct mach64_softc *sc)
413 struct mach64_softc *sc = device_private(self);
825 struct mach64_softc *sc = cookie;
862 mach64_init(struct mach64_softc *sc)
868 mach64_get_memsize(struct mach64_softc *sc)
894 mach64_get_max_ramdac(struct mach64_softc *sc)
930 mach64_get_mode(struct mach64_softc *sc, struct videomode *mode)
1014 mach64_print_reg(struct mach64_softc *sc)
1064 mach64_calc_crtcregs(struct mach64_softc *sc, struct mach64_crtcregs *crtc,
1112 mach64_set_crtcregs(struct mach64_softc *sc, struct mach64_crtcregs *crtc)
1138 mach64_modeswitch(struct mach64_softc *sc, struct videomode *mode)
1157 mach64_reset_engine(struct mach64_softc *sc)
1173 mach64_init_engine(struct mach64_softc *sc)
1260 mach64_adjust_frame(struct mach64_softc *sc, int x, int y)
1272 mach64_set_dsp(struct mach64_softc *sc)
1375 mach64_set_pll(struct mach64_softc *sc, int clock)
1438 mach64_init_lut(struct mach64_softc *sc)
1453 mach64_putpalreg(struct mach64_softc *sc, uint8_t index, uint8_t r, uint8_t g,
1476 mach64_putcmap(struct mach64_softc *sc, struct wsdisplay_cmap *cm)
1514 mach64_getcmap(struct mach64_softc *sc, struct wsdisplay_cmap *cm)
1537 mach64_is_console(struct mach64_softc *sc)
1555 struct mach64_softc *sc = scr->scr_cookie;
1597 struct mach64_softc *sc = scr->scr_cookie;
1633 struct mach64_softc *sc = scr->scr_cookie;
1747 struct mach64_softc *sc = scr->scr_cookie;
1765 struct mach64_softc *sc = scr->scr_cookie;
1784 struct mach64_softc *sc = scr->scr_cookie;
1802 mach64_softc *sc = scr->scr_cookie;
1828 struct mach64_softc *sc = cookie;
1866 mach64_setup_mono(struct mach64_softc *sc, int xd, int yd, int width,
1888 mach64_feed_bytes(struct mach64_softc *sc, int count, uint8_t *data)
1912 mach64_rectfill(struct mach64_softc *sc, int x, int y, int width, int height,
1931 mach64_clearscreen(struct mach64_softc *sc)
1939 mach64_showpal(struct mach64_softc *sc)
1959 struct mach64_softc *sc = vd->cookie;
2035 struct mach64_softc *sc = vd->cookie;
2099 machfb_blank(struct mach64_softc *sc, int blank)