HomeSort by: relevance | last modified time | path
    Searched defs:cmap (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/sys/arch/hpcarm/dev/
ipaq_lcd.c 273 struct wsdisplay_cmap *cmap; local in function:ipaqlcd_ioctl
278 cmap = (struct wsdisplay_cmap*)data;
282 256 <= cmap->index ||
283 256 < (cmap->index + cmap->count))
  /src/sys/dev/ic/
vga_subr.c 152 uint8_t cmap; local in function:vga_setfontset
163 cmap = cmaptaba[fontset1] | cmaptabb[fontset2];
165 vga_ts_write(vh, fontsel, cmap);
ct65550.c 199 uint8_t cmap[768]; local in function:chipsfb_do_attach
299 rasops_get_cmap(ri, cmap, sizeof(cmap));
301 chipsfb_putpalreg(sc, i, cmap[j], cmap[j + 1], cmap[j + 2]);
ssdfb.c 477 u_char cmap[16]; local in function:ssdfb_ioctl
565 cmap[i] = 255 * i / (cmaplen - 1);
567 error = copyout(&cmap[wc->index], wc->red, wc->count);
570 error = copyout(&cmap[wc->index], wc->green, wc->count);
573 error = copyout(&cmap[wc->index], wc->blue, wc->count);
  /src/bin/csh/
char.h 63 #define cmap(c, bits) \ macro
66 #define isglob(c) cmap(c, _GLOB)
67 #define isspc(c) cmap(c, _SP)
68 #define ismeta(c) cmap(c, _META)
69 #define iscmdmeta(c) cmap(c, _CMD)
87 #define Isspace(c) cmap(c, _SP|_NL)
88 #define Isdigit(c) cmap(c, _DIG)
89 #define Isalpha(c) (cmap(c,_LET) && !(((c) & META) && AsciiOnly))
90 #define Islower(c) (cmap(c,_LOW) && !(((c) & META) && AsciiOnly))
91 #define Isupper(c) (cmap(c, _UP) && !(((c) & META) && AsciiOnly)
    [all...]
  /src/sys/arch/hpcmips/dev/
mq200.c 473 struct wsdisplay_cmap *cmap; local in function:mq200_ioctl
478 cmap = (struct wsdisplay_cmap *)data;
482 256 <= cmap->index ||
483 256 - cmap->index < cmap->count)
ite8181.c 637 struct wsdisplay_cmap *cmap; local in function:ite8181_ioctl
643 cmap = (struct wsdisplay_cmap *)data;
647 256 <= cmap->index ||
648 256 - cmap->index < cmap->count)
652 error = copyout(&bivideo_cmap_r[cmap->index], cmap->red,
653 cmap->count);
656 error = copyout(&bivideo_cmap_g[cmap->index], cmap->green
    [all...]
plumvideo.c 427 struct wsdisplay_cmap *cmap; local in function:plumvideo_ioctl
436 cmap = (struct wsdisplay_cmap *)data;
437 cnt = cmap->count;
438 idx = cmap->index;
453 error = copyout(r, cmap->red, cnt);
456 error = copyout(g, cmap->green, cnt);
459 error = copyout(b, cmap->blue, cnt);
466 cmap = (struct wsdisplay_cmap *)data;
467 cnt = cmap->count;
468 idx = cmap->index
    [all...]
  /src/sys/arch/hp300/dev/
diofbvar.h 95 struct diocmap cmap; member in struct:diofb
  /src/sys/arch/ews4800mips/sbd/
fb_sbdio.c 271 struct wsdisplay_cmap *cmap = (void *)data; local in function:_fb_ioctl
296 if (cmap->index >= 256 || cmap->count > 256 - cmap->index)
298 for (i = 0; i < cmap->count; i++) {
299 cmap->red[i] = ga->clut[cmap->index + i][0];
300 cmap->green[i] = ga->clut[cmap->index + i][1];
301 cmap->blue[i] = ga->clut[cmap->index + i][2]
    [all...]
  /src/sys/dev/hpc/
bivideo.c 395 struct wsdisplay_cmap *cmap; local in function:bivideo_ioctl
401 cmap = (struct wsdisplay_cmap *)data;
405 cmap->index >= 256 ||
406 cmap->count > 256 - cmap->index)
409 error = copyout(&bivideo_cmap_r[cmap->index], cmap->red,
410 cmap->count);
413 error = copyout(&bivideo_cmap_g[cmap->index], cmap->green
    [all...]
  /src/sys/arch/sun3/dev/
cg2.c 295 struct fbcmap *cmap = data; local in function:cg2getcmap
302 start = cmap->index;
303 count = cmap->count;
322 if ((error = copyout(red + start, cmap->red, count)) != 0)
324 if ((error = copyout(green + start, cmap->green, count)) != 0)
326 if ((error = copyout(blue + start, cmap->blue, count)) != 0)
336 struct fbcmap *cmap = data; local in function:cg2putcmap
344 start = cmap->index;
345 count = cmap->count;
351 if ((error = copyin(cmap->red, red + start, count)) != 0
    [all...]
  /src/sys/arch/amiga/dev/
grf_rt.c 1062 rt_getcmap(struct grf_softc *gfp, struct grf_colormap *cmap)
1069 if (cmap->count == 0 || cmap->index >= 256)
1072 if (cmap->count > 256 - cmap->index)
1073 cmap->count = 256 - cmap->index;
1077 vgaw (ba, VDAC_REG_SELECT, cmap->index);
1078 x = cmap->count - 1;
1079 rp = red + cmap->index
1183 struct grf_colormap cmap; local in function:rt_getspriteinfo
    [all...]
grf_rh.c 1807 rh_getcmap(struct grf_softc *gfp, struct grf_colormap *cmap)
1814 if (cmap->count == 0 || cmap->index >= 256)
1817 if (cmap->count > 256 - cmap->index)
1818 cmap->count = 256 - cmap->index;
1822 vgaw (ba, VDAC_ADDRESS_W, cmap->index);
1823 x = cmap->count - 1;
1824 rp = red + cmap->index
1925 struct grf_colormap cmap; local in function:rh_getspriteinfo
    [all...]
grfioctl.h 182 struct grf_colormap cmap; /* colormap for the sprite. */ member in struct:grf_spriteinfo
  /src/sys/arch/luna68k/dev/
lunafb.c 350 struct hwcmap cmap; local in function:omsetcmap
360 error = copyin(p->red, &cmap.r[index], count);
363 error = copyin(p->green, &cmap.g[index], count);
366 error = copyin(p->blue, &cmap.b[index], count);
370 memcpy(&sc->sc_dc->dc_cmap.r[index], &cmap.r[index], count);
371 memcpy(&sc->sc_dc->dc_cmap.g[index], &cmap.g[index], count);
372 memcpy(&sc->sc_dc->dc_cmap.b[index], &cmap.b[index], count);
  /src/sys/arch/hpcmips/tx/
tx3912video.c 505 struct wsdisplay_cmap *cmap; local in function:tx3912video_ioctl
512 cmap = (struct wsdisplay_cmap *)data;
513 cnt = cmap->count;
514 idx = cmap->index;
529 error = copyout(r, cmap->red, cnt);
532 error = copyout(g, cmap->green,cnt);
535 error = copyout(b, cmap->blue, cnt);
  /src/sys/arch/sparc64/sparc64/
netbsd32_machdep.c 632 struct netbsd32_fbcmap cmap; /* color map info */ member in struct:netbsd32_fbcursor
692 netbsd32_to_fbcmap(&s32p->cmap, &p->cmap, cmd);
731 netbsd32_from_fbcmap(&p->cmap, &s32p->cmap, cmd);
  /src/sys/dev/sun/
fbio.h 193 struct fbcmap cmap; /* color map info */ member in struct:fbcursor
  /src/sys/dev/tc/
cfb.c 685 struct hwcmap256 cmap; local in function:set_cmap
692 error = copyin(p->red, &cmap.r[index], count);
695 error = copyin(p->green, &cmap.g[index], count);
698 error = copyin(p->blue, &cmap.b[index], 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);
720 index = p->cmap.index;
721 count = p->cmap.count;
724 error = copyin(p->cmap.red, &r[index], count)
    [all...]
xcfb.c 562 struct hwcmap256 cmap; local in function:set_cmap
569 error = copyin(p->red, &cmap.r[index], count);
572 error = copyin(p->green, &cmap.g[index], count);
575 error = copyin(p->blue, &cmap.b[index], 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);
594 index = p->cmap.index;
595 count = p->cmap.count;
599 error = copyin(p->cmap.red, &r[index], count)
    [all...]
  /src/sys/arch/atari/dev/
grfioctl.h 178 struct grf_colormap cmap; /* colormap for the sprite. */ member in struct:grf_spriteinfo
  /src/sys/dev/pci/
sisfb.c 61 uint8_t cmap[256 * 3]; member in struct:sisfb
407 rc = sisfb_getcmap(fb->cmap, cm);
411 rc = sisfb_putcmap(fb->cmap, cm);
644 bcopy(rasops_cmap, fb->cmap, sizeof(fb->cmap));
671 uint8_t *cmap = fb->cmap + baseidx * 3; local in function:sisfb_loadcmap
675 bus_space_write_1(fb->iot, fb->ioh, DAC_DATA, *cmap++ >> 2);
676 bus_space_write_1(fb->iot, fb->ioh, DAC_DATA, *cmap++ >> 2);
677 bus_space_write_1(fb->iot, fb->ioh, DAC_DATA, *cmap++ >> 2)
    [all...]
  /src/sys/arch/arm/iomd/
vidcvideo.c 665 struct hwcmap256 cmap; local in function:set_cmap
672 error = copyin(p->red, &cmap.r[index], count);
675 error = copyin(p->green, &cmap.g[index], count);
678 error = copyin(p->blue, &cmap.b[index], count);
681 memcpy(&dc->dc_cmap.r[index], &cmap.r[index], count);
682 memcpy(&dc->dc_cmap.g[index], &cmap.g[index], count);
683 memcpy(&dc->dc_cmap.b[index], &cmap.b[index], count);
703 index = p->cmap.index;
704 count = p->cmap.count;
708 error = copyin(p->cmap.red, &r[index], count)
    [all...]
  /src/sys/dev/sbus/
agten.c 697 uint8_t cmap[768]; local in function:agten_init_cmap
699 rasops_get_cmap(ri, cmap, 768);
703 agten_putpalreg(sc, i, cmap[j], cmap[j + 1], cmap[j + 2]);
949 agten_write_idx(sc, IBM561_CURSOR_LUT + cur->cmap.index + 2);
950 for (i = 0; i < cur->cmap.count; i++) {
951 agten_write_dac(sc, IBM561_CMD_CMAP, cur->cmap.red[i]);
953 cur->cmap.green[i]);
954 agten_write_dac(sc, IBM561_CMD_CMAP, cur->cmap.blue[i])
    [all...]

Completed in 32 milliseconds

1 2