Home
last modified time | relevance | path

Searched refs:dc_cmap (Results 1 – 4 of 4) sorted by relevance

/netbsd/src/sys/arch/luna68k/dev/
Dlunafb.c120 struct hwcmap dc_cmap; /* software copy of colormap */ member
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()
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()
[all …]
/netbsd/src/sys/arch/arm/iomd/
Dvidcvideo.c107 struct hwcmap256 dc_cmap; /* software copy of colormap */ member
518 struct hwcmap256 *cm = &dc->dc_cmap; in flush_dc_changes_to_screen()
629 cm = &dc->dc_cmap; in vidcvideo_colourmap_and_cursor_init()
650 error = copyout(&sc->sc_dc->dc_cmap.r[index], p->red, count); in get_cmap()
653 error = copyout(&sc->sc_dc->dc_cmap.g[index], p->green, count); in get_cmap()
656 error = copyout(&sc->sc_dc->dc_cmap.b[index], p->blue, count); in get_cmap()
681 memcpy(&dc->dc_cmap.r[index], &cmap.r[index], count); in set_cmap()
682 memcpy(&dc->dc_cmap.g[index], &cmap.g[index], count); in set_cmap()
683 memcpy(&dc->dc_cmap.b[index], &cmap.b[index], count); in set_cmap()
/netbsd/src/sys/dev/ic/
Digsfb.c394 dc->dc_cmap.r[i] = p[0]; in igsfb_init_cmap()
395 dc->dc_cmap.g[i] = p[1]; in igsfb_init_cmap()
396 dc->dc_cmap.b[i] = p[2]; in igsfb_init_cmap()
751 err = copyout(&dc->dc_cmap.r[index], p->red, count); in igsfb_get_cmap()
754 err = copyout(&dc->dc_cmap.g[index], p->green, count); in igsfb_get_cmap()
757 err = copyout(&dc->dc_cmap.b[index], p->blue, count); in igsfb_get_cmap()
792 memcpy(&dc->dc_cmap.r[index], &r[index], count); in igsfb_set_cmap()
793 memcpy(&dc->dc_cmap.g[index], &g[index], count); in igsfb_set_cmap()
794 memcpy(&dc->dc_cmap.b[index], &b[index], count); in igsfb_set_cmap()
827 bus_space_write_1(t, h, IGS_DAC_PEL_DATA, dc->dc_cmap.r[i]); in igsfb_update_cmap()
[all …]
Digsfbvar.h117 struct igs_hwcmap dc_cmap; /* software copy of colormap */ member