/src/sys/dev/sun/ |
cgthreevar.h | 54 union bt_cmap sc_cmap; /* Brooktree color map */ member in struct:cgthree_softc
|
cgsixvar.h | 81 union bt_cmap sc_cmap; /* Brooktree color map */ member in struct:cgsix_softc
|
/src/sys/dev/bi/ |
kdb.c | 87 bus_dmamap_t sc_cmap; /* Control structures */ member in struct:kdb_softc 178 1, sizeof(struct mscp_pack), 0, BUS_DMA_NOWAIT, &sc->sc_cmap))) { 184 if ((error = bus_dmamap_load(sc->sc_dmat, sc->sc_cmap, 187 bus_dmamap_destroy(sc->sc_dmat, sc->sc_cmap); 201 ma.ma_dmam = sc->sc_cmap;
|
/src/sys/dev/ic/ |
sgecvar.h | 56 bus_dmamap_t sc_cmap; /* Map for control structures */ member in struct:ze_softc
|
/src/sys/arch/sparc/dev/ |
cgfour.c | 132 union bt_cmap sc_cmap; /* Brooktree color map */ member in struct:cgfour_softc 305 ((char *)&sc->sc_cmap)[i] = bt->bt_cmap >> 24; 365 return (bt_getcmap(p, &sc->sc_cmap, 256, 1)); 369 error = bt_putcmap(p, &sc->sc_cmap, 256, 1); 493 ip = &sc->sc_cmap.cm_chip[BT_D4M3(start)]; /* start/4 * 3 */
|
cgeight.c | 134 union bt_cmap sc_cmap; /* Brooktree color map */ member in struct:cgeight_softc 313 sc->sc_cmap.cm_chip[i] = bt->bt_cmap; 374 return (bt_getcmap(p, &sc->sc_cmap, 256, 1)); 378 error = bt_putcmap(p, &sc->sc_cmap, 256, 1); 524 ip = &sc->sc_cmap.cm_chip[BT_D4M3(start)]; /* start/4 * 3 */
|
cgtwo.c | 83 volatile u_short *sc_cmap; member in struct:cgtwo_softc 84 #define sc_redmap(sc) ((sc)->sc_cmap) 85 #define sc_greenmap(sc) ((sc)->sc_cmap + CG2_CMSIZE) 86 #define sc_bluemap(sc) ((sc)->sc_cmap + 2 * CG2_CMSIZE) 203 sc->sc_cmap = (volatile u_short *)bh; /* XXX */
|
cgfourteenvar.h | 86 union cg14cmap sc_cmap; /* current colormap */ member in struct:cgfourteen_softc
|
/src/sys/dev/sbus/ |
zxvar.h | 93 uint8_t *sc_cmap; member in struct:zx_softc
|
agten.c | 119 union bt_cmap sc_cmap; /* Brooktree color map */ member in struct:agten_softc 583 red[i] = sc->sc_cmap.cm_map[i][0]; 584 green[i] = sc->sc_cmap.cm_map[i][1]; 585 blue[i] = sc->sc_cmap.cm_map[i][2]; 606 sc->sc_cmap.cm_map[idx][0] = r; 607 sc->sc_cmap.cm_map[idx][1] = g; 608 sc->sc_cmap.cm_map[idx][2] = b; 1128 return (bt_getcmap(p, &sc->sc_cmap, 256, 1)); 1132 error = bt_putcmap(p, &sc->sc_cmap, 256, 1);
|
p9100.c | 124 union bt_cmap sc_cmap; /* Brooktree color map */ member in struct:p9100_softc 464 sc->sc_cmap.cm_map[i][0] = cmap[j]; 466 sc->sc_cmap.cm_map[i][1] = cmap[j]; 468 sc->sc_cmap.cm_map[i][2] = cmap[j]; 571 return (bt_getcmap(p, &sc->sc_cmap, 256, 1)); 575 error = bt_putcmap(p, &sc->sc_cmap, 256, 1); 1021 sc->sc_cmap.cm_map[i + start][0]); 1023 sc->sc_cmap.cm_map[i + start][1]); 1025 sc->sc_cmap.cm_map[i + start][2]); 1416 sc->sc_cmap.cm_map[index][0] = *r [all...] |
/src/sys/arch/sun3/dev/ |
cg4.c | 115 struct soft_cmap sc_cmap; /* Soft cmap, user format */ member in struct:cg4_softc 459 struct soft_cmap *cm = &sc->sc_cmap; 489 struct soft_cmap *cm = &sc->sc_cmap; 521 struct soft_cmap *cm = &sc->sc_cmap; 536 struct soft_cmap *cm = &sc->sc_cmap; 571 struct soft_cmap *cm = &sc->sc_cmap; 620 struct soft_cmap *cm = &sc->sc_cmap;
|
/src/sys/arch/mac68k/dev/ |
grfvar.h | 75 struct grfbus_cmap sc_cmap; member in struct:grfbus_softc
|
/src/sys/arch/pmax/ibus/ |
pm.c | 89 struct hwcmap256 sc_cmap; member in struct:pm_softc 230 cm = &sc->sc_cmap; 649 cm = &sc->sc_cmap; 699 if ((rv = copyout(&sc->sc_cmap.r[index], p->red, count)) != 0) 701 if ((rv = copyout(&sc->sc_cmap.g[index], p->green, count)) != 0) 703 return (copyout(&sc->sc_cmap.b[index], p->blue, count)); 718 if ((rv = copyin(p->red, &sc->sc_cmap.r[index], count)) != 0) 720 if ((rv = copyin(p->green, &sc->sc_cmap.g[index], count)) != 0) 722 if ((rv = copyin(p->blue, &sc->sc_cmap.b[index], count)) != 0)
|
/src/sys/arch/evbppc/explora/dev/ |
fb_elb.c | 74 struct fb_cmap sc_cmap[CMAP_SIZE]; member in struct:fb_elb_softc 78 * We assume that rasops_cmap is compatible to sc_cmap. 253 memcpy(&sc->sc_cmap, rasops_cmap, sizeof(sc->sc_cmap)); 254 s3_putcmap(sc->sc_fb, sc->sc_cmap); 268 buf[i] = sc->sc_cmap[index + i].r; 269 buf[i + count] = sc->sc_cmap[index + i].g; 270 buf[i + 2 * count] = sc->sc_cmap[index + i].b; 297 sc->sc_cmap[index + i].r = buf[i]; 298 sc->sc_cmap[index + i].g = buf[i + count] [all...] |
/src/sys/dev/tc/ |
cfb.c | 120 struct hwcmap256 sc_cmap; /* software copy of colormap */ member in struct:cfb_softc 295 cm = &sc->sc_cmap; 581 struct hwcmap256 *cm = &sc->sc_cmap; 672 error = copyout(&sc->sc_cmap.r[index], p->red, count); 675 error = copyout(&sc->sc_cmap.g[index], p->green, count); 678 error = copyout(&sc->sc_cmap.b[index], p->blue, count); 702 memcpy(&sc->sc_cmap.r[index], &cmap.r[index], count); 703 memcpy(&sc->sc_cmap.g[index], &cmap.g[index], count); 704 memcpy(&sc->sc_cmap.b[index], &cmap.b[index], count);
|
xcfb.c | 86 struct hwcmap256 sc_cmap; /* software copy of colormap */ member in struct:xcfb_softc 258 cm = &sc->sc_cmap; 419 ims332_loadcmap(&sc->sc_cmap); 460 ims332_loadcmap(&sc->sc_cmap); 549 error = copyout(&sc->sc_cmap.r[index], p->red, count); 552 error = copyout(&sc->sc_cmap.g[index], p->green, count); 555 error = copyout(&sc->sc_cmap.b[index], p->blue, count); 578 memcpy(&sc->sc_cmap.r[index], &cmap.r[index], count); 579 memcpy(&sc->sc_cmap.g[index], &cmap.g[index], count); 580 memcpy(&sc->sc_cmap.b[index], &cmap.b[index], count) [all...] |
sfb.c | 128 struct hwcmap256 sc_cmap; /* software copy of colormap */ member in struct:sfb_softc 310 cm = &sc->sc_cmap; 633 struct hwcmap256 *cm = &sc->sc_cmap; 725 error = copyout(&sc->sc_cmap.r[index], p->red, count); 728 error = copyout(&sc->sc_cmap.g[index], p->green, count); 731 error = copyout(&sc->sc_cmap.b[index], p->blue, count); 756 memcpy(&sc->sc_cmap.r[index], &cmap.r[index], count); 757 memcpy(&sc->sc_cmap.g[index], &cmap.g[index], count); 758 memcpy(&sc->sc_cmap.b[index], &cmap.b[index], count);
|
tfb.c | 145 struct hwcmap256 sc_cmap; /* software copy of colormap */ member in struct:tfb_softc 379 cm = &sc->sc_cmap; 628 struct hwcmap256 *cm = &sc->sc_cmap; 730 error = copyout(&sc->sc_cmap.r[index], p->red, count); 733 error = copyout(&sc->sc_cmap.g[index], p->green, count); 736 error = copyout(&sc->sc_cmap.b[index], p->blue, count); 760 memcpy(&sc->sc_cmap.r[index], &cmap.r[index], count); 761 memcpy(&sc->sc_cmap.g[index], &cmap.g[index], count); 762 memcpy(&sc->sc_cmap.b[index], &cmap.b[index], count);
|
sfbplus.c | 111 struct hwcmap256 sc_cmap; /* software copy of colormap */ member in struct:sfbp_softc 319 cm = &sc->sc_cmap; 596 (*sc->sc_hwops.setlut)(base, &sc->sc_cmap); 708 error = copyout(&sc->sc_cmap.r[index], p->red, count); 711 error = copyout(&sc->sc_cmap.g[index], p->green, count); 714 error = copyout(&sc->sc_cmap.b[index], p->blue, count); 739 memcpy(&sc->sc_cmap.r[index], &cmap.r[index], count); 740 memcpy(&sc->sc_cmap.g[index], &cmap.g[index], count); 741 memcpy(&sc->sc_cmap.b[index], &cmap.b[index], count);
|
/src/sys/arch/macppc/dev/ |
platinumfb.c | 123 uint8_t *sc_cmap; member in struct:platinumfb_softc 302 out8(sc->sc_cmap + reg_offset, val); 308 return in8(sc->sc_cmap + reg_offset); 482 sc->sc_cmap = (uint8_t *)PLATINUM_CMAP_BASE_ADDR; 488 (paddr_t)sc->sc_cmap);
|