Searched refs:CMAP_SIZE (Results 1 – 13 of 13) sorted by relevance
| /netbsd-src/sys/dev/tc/ |
| H A D | sticvar.h | 46 #define CMAP_SIZE 256 /* 256 R/G/B entries */ macro 47 u_int8_t r[CMAP_SIZE]; 48 u_int8_t g[CMAP_SIZE]; 49 u_int8_t b[CMAP_SIZE];
|
| H A D | xcfb.c | 58 #define CMAP_SIZE 256 /* 256 R/G/B entries */ macro 59 uint8_t r[CMAP_SIZE]; 60 uint8_t g[CMAP_SIZE]; 61 uint8_t b[CMAP_SIZE]; 260 for (index = 0; index < CMAP_SIZE; index++, p += 3) { in xcfb_cmap_init() 366 for (i = 0; i < CMAP_SIZE; i++, p += 3) { in xcfbhwinit() 409 wsd_fbip->cmsize = CMAP_SIZE; in xcfbioctl() 546 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in get_cmap() 566 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in set_cmap() 682 for (i = 0; i < CMAP_SIZE; i++) { in ims332_loadcmap()
|
| H A D | cfb.c | 99 #define CMAP_SIZE 256 /* 256 R/G/B entries */ macro 100 uint8_t r[CMAP_SIZE]; 101 uint8_t g[CMAP_SIZE]; 102 uint8_t b[CMAP_SIZE]; 297 for (index = 0; index < CMAP_SIZE; index++, p += 3) { in cfb_cmap_init() 376 wsd_fbip->cmsize = CMAP_SIZE; in cfbioctl() 585 for (index = 0; index < CMAP_SIZE; index++) { in cfbintr() 633 for (i = 0; i < CMAP_SIZE; i++, p += 3) { in cfbhwinit() 669 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in get_cmap() 689 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in set_cmap()
|
| H A D | tfb.c | 124 #define CMAP_SIZE 256 /* R/G/B entries */ macro 125 uint8_t r[CMAP_SIZE]; 126 uint8_t g[CMAP_SIZE]; 127 uint8_t b[CMAP_SIZE]; 381 for (index = 0; index < CMAP_SIZE; index++, p += 3) { in tfb_cmap_init() 410 wsd_fbip->cmsize = CMAP_SIZE; in tfbioctl() 632 for (index = 0; index < CMAP_SIZE; index++) { in tfbintr() 727 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in get_cmap() 747 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in set_cmap()
|
| H A D | sfb.c | 107 #define CMAP_SIZE 256 /* 256 R/G/B entries */ macro 108 uint8_t r[CMAP_SIZE]; 109 uint8_t g[CMAP_SIZE]; 110 uint8_t b[CMAP_SIZE]; 312 for (index = 0; index < CMAP_SIZE; index++, p += 3) { in sfb_cmap_init() 410 wsd_fbip->cmsize = CMAP_SIZE; in sfbioctl() 637 for (index = 0; index < CMAP_SIZE; index++) { in sfbintr() 686 for (i = 0; i < CMAP_SIZE; i++, p += 3) { in sfbhwinit() 722 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in get_cmap() 742 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in set_cmap()
|
| H A D | sfbplus.c | 81 #define CMAP_SIZE 256 /* 256 R/G/B entries */ macro 82 uint8_t r[CMAP_SIZE]; 83 uint8_t g[CMAP_SIZE]; 84 uint8_t b[CMAP_SIZE]; 321 for (index = 0; index < CMAP_SIZE; index++, p += 3) { in sfbp_cmap_init() 444 wsd_fbip->cmsize = CMAP_SIZE; /* XXX */ in sfbioctl() 641 for (i = 0; i < CMAP_SIZE; i++, p += 3) { in bt459init() 705 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in get_cmap() 725 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in set_cmap() 955 for (index = 0; index < CMAP_SIZE; index++) { in bt459setlut()
|
| H A D | stic.c | 548 wsd_fbip->cmsize = CMAP_SIZE; in sticioctl() 1220 for (index = 0; index < CMAP_SIZE; index++) { in stic_flush() 1237 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in stic_get_cmap() 1260 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in stic_set_cmap()
|
| /netbsd-src/sys/arch/evbppc/explora/dev/ |
| H A D | fb_elb.c | 52 #define CMAP_SIZE 256 macro 74 struct fb_cmap sc_cmap[CMAP_SIZE]; 80 CTASSERT(sizeof(rasops_cmap) == CMAP_SIZE * 3); 261 uint8_t buf[CMAP_SIZE * 3]; in fb_getcmap() 264 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in fb_getcmap() 285 uint8_t buf[CMAP_SIZE * 3]; in fb_putcmap() 288 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in fb_putcmap() 325 wdf->cmsize = CMAP_SIZE; in fb_ioctl() 533 for (i = 0; i < CMAP_SIZE; i++) { in s3_putcmap()
|
| /netbsd-src/sys/arch/sun3/dev/ |
| H A D | cg4.c | 96 #define CMAP_SIZE 256 macro 98 uint8_t r[CMAP_SIZE]; 99 uint8_t g[CMAP_SIZE]; 100 uint8_t b[CMAP_SIZE]; 466 if (start >= CMAP_SIZE || count > CMAP_SIZE - start) in cg4getcmap() 496 if (start >= CMAP_SIZE || count > CMAP_SIZE - start) in cg4putcmap()
|
| /netbsd-src/sys/arch/arm/iomd/ |
| H A D | vidcvideo.c | 68 #define CMAP_SIZE 256 /* 256 R/G/B entries */ macro 69 uint8_t r[CMAP_SIZE]; 70 uint8_t g[CMAP_SIZE]; 71 uint8_t b[CMAP_SIZE]; 378 wsd_fbip->cmsize = CMAP_SIZE; in vidcvideoioctl() 538 for (index = 0; index < CMAP_SIZE; index++) { in flush_dc_changes_to_screen() 631 for (index = 0; index < CMAP_SIZE; index++, p += 3) { in vidcvideo_colourmap_and_cursor_init() 647 if (index >= CMAP_SIZE || count > CMAP_SIZE - index) in get_cmap() 669 if (index >= CMAP_SIZE || coun in set_cmap() [all...] |
| /netbsd-src/sys/arch/luna68k/dev/ |
| H A D | lunafb.c | 85 #define CMAP_SIZE 256 macro 86 uint8_t r[CMAP_SIZE]; 87 uint8_t g[CMAP_SIZE]; 88 uint8_t b[CMAP_SIZE];
|
| /netbsd-src/sys/arch/vax/vsa/ |
| H A D | lcg.c | 180 #define CMAP_SIZE 256 /* 256 R/G/B entries */ macro 181 u_int8_t r[CMAP_SIZE]; 182 u_int8_t g[CMAP_SIZE]; 183 u_int8_t b[CMAP_SIZE];
|
| H A D | spx.c | 274 #define CMAP_SIZE 256 /* 256 R/G/B entries */ macro 275 u_int8_t r[CMAP_SIZE]; 276 u_int8_t g[CMAP_SIZE]; 277 u_int8_t b[CMAP_SIZE];
|