Home | History | Annotate | Download | only in dev

Lines Matching defs:grf_softc

82 void	grf_scinit(struct grf_softc *, const char *, int);
88 struct grf_softc *grf_softc;
95 grf_scinit(struct grf_softc *sc, const char *name, int unit)
97 memset(sc, 0, sizeof(struct grf_softc));
103 * (Re-)initialize the grf_softc block so that at least the requested
111 struct grf_softc *sc;
118 if (grf_softc == NULL)
119 sc = (struct grf_softc *)
123 sc = (struct grf_softc *)
124 realloc(grf_softc, numgrf * sizeof(*sc),
126 grf_softc = sc;
130 grf_scinit(&grf_softc[i], "grf", i);
168 grf_softc[unit].mfb_sc = sc;
177 struct grf_softc *sc;
181 if (grf_softc == NULL || unit >= numgrf)
184 sc = &grf_softc[unit];
194 struct grf_softc *sc;
198 if (grf_softc == NULL || unit >= numgrf)
201 sc = &grf_softc[unit];
213 struct grf_softc *sc;
222 if (grf_softc == NULL || unit >= numgrf)
225 sc = &grf_softc[unit];
292 struct grf_softc *sc;
296 if (grf_softc == NULL || unit >= numgrf)
299 sc = &grf_softc[unit];