Lines Matching refs:sc_dc

127 	struct om_hwdevconfig *sc_dc;	/* device configuration */  member
207 sc->sc_dc = &omfb_console_dc; in omfbattach()
210 sc->sc_dc = kmem_zalloc(sizeof(struct om_hwdevconfig), in omfbattach()
212 omfb_getdevconfig(OMFB_FB_WADDR, sc->sc_dc); in omfbattach()
214 aprint_normal(": %d x %d, %dbpp\n", sc->sc_dc->dc_wid, sc->sc_dc->dc_ht, in omfbattach()
215 sc->sc_dc->dc_depth); in omfbattach()
244 struct om_hwdevconfig *dc = sc->sc_dc; in omfbioctl()
300 struct om_hwdevconfig *dc = sc->sc_dc; in omfbmmap()
330 cmsize = sc->sc_dc->dc_cmsize; in omgetcmap()
334 error = copyout(&sc->sc_dc->dc_cmap.r[index], p->red, count); in omgetcmap()
337 error = copyout(&sc->sc_dc->dc_cmap.g[index], p->green, count); in omgetcmap()
340 error = copyout(&sc->sc_dc->dc_cmap.b[index], p->blue, count); in omgetcmap()
355 cmsize = sc->sc_dc->dc_cmsize; in omsetcmap()
370 memcpy(&sc->sc_dc->dc_cmap.r[index], &cmap.r[index], count); in omsetcmap()
371 memcpy(&sc->sc_dc->dc_cmap.g[index], &cmap.g[index], count); in omsetcmap()
372 memcpy(&sc->sc_dc->dc_cmap.b[index], &cmap.b[index], count); in omsetcmap()
377 odac->bt_cmap = sc->sc_dc->dc_cmap.r[i]; in omsetcmap()
378 odac->bt_cmap = sc->sc_dc->dc_cmap.g[i]; in omsetcmap()
379 odac->bt_cmap = sc->sc_dc->dc_cmap.b[i]; in omsetcmap()
385 ndac->bt_cmap = sc->sc_dc->dc_cmap.r[i]; in omsetcmap()
386 ndac->bt_cmap = sc->sc_dc->dc_cmap.g[i]; in omsetcmap()
387 ndac->bt_cmap = sc->sc_dc->dc_cmap.b[i]; in omsetcmap()
532 struct rasops_info *ri = &sc->sc_dc->dc_ri; in omfb_alloc_screen()
550 if (sc->sc_dc == &omfb_console_dc) in omfb_free_screen()