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

1 2 3 4

  /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))
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);
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);
  /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...]
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)
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...]
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...]
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
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...]
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...]
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...]
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_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...]
  /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);
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);

Completed in 44 milliseconds

1 2 3 4