Home
last modified time | relevance | path

Searched refs:pdef (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxcmap.c173 dmxStoreColors(ColormapPtr pColormap, int ndef, xColorItem * pdef) in dmxStoreColors() argument
185 color[i].pixel = pdef[i].pixel; in dmxStoreColors()
186 color[i].red = pdef[i].red; in dmxStoreColors()
187 color[i].blue = pdef[i].blue; in dmxStoreColors()
188 color[i].green = pdef[i].green; in dmxStoreColors()
189 color[i].flags = pdef[i].flags; in dmxStoreColors()
190 color[i].pad = pdef[i].pad; in dmxStoreColors()
199 c.pixel = pdef[i].pixel; in dmxStoreColors()
200 c.red = pdef[i].red; in dmxStoreColors()
201 c.blue = pdef[i].blue; in dmxStoreColors()
[all …]
H A Ddmxcmap.h50 extern void dmxStoreColors(ColormapPtr pColormap, int ndef, xColorItem * pdef);
H A Ddmxpict.h89 int ndef, xColorItem * pdef);
H A Ddmxpict.c1193 int ndef, xColorItem * pdef) in dmxUpdateIndexed() argument
/OK3568_Linux_fs/external/xserver/dix/
H A Dcolormap.c701 xColorItem *pdef; in UpdateColors() local
712 pdef = defs; in UpdateColors()
718 pdef->pixel = ((Pixel) i << pVisual->offsetRed) | in UpdateColors()
721 pdef->red = pmap->red[i].co.local.red; in UpdateColors()
722 pdef->green = pmap->green[i].co.local.green; in UpdateColors()
723 pdef->blue = pmap->blue[i].co.local.blue; in UpdateColors()
724 pdef->flags = DoRed | DoGreen | DoBlue; in UpdateColors()
725 pdef++; in UpdateColors()
733 pdef->pixel = i; in UpdateColors()
735 pdef->red = pent->co.shco.red->color; in UpdateColors()
[all …]
/OK3568_Linux_fs/external/xserver/render/
H A Dmiindex.c317 PictFormatPtr pFormat, int ndef, xColorItem * pdef) in miUpdateIndexed() argument
323 pIndexed->rgba[pdef->pixel] = (0xff000000 | in miUpdateIndexed()
324 ((pdef->red & 0xff00) << 8) | in miUpdateIndexed()
325 ((pdef->green & 0xff00)) | in miUpdateIndexed()
326 ((pdef->blue & 0xff00) >> 8)); in miUpdateIndexed()
327 pdef++; in miUpdateIndexed()
H A Dmipict.h122 PictFormatPtr pFormat, int ndef, xColorItem * pdef);
H A Dpicture.c106 PictureStoreColors(ColormapPtr pColormap, int ndef, xColorItem * pdef) in PictureStoreColors() argument
112 (*pScreen->StoreColors) (pColormap, ndef, pdef); in PictureStoreColors()
123 (*ps->UpdateIndexed) (pScreen, format, ndef, pdef); in PictureStoreColors()
H A Dpicturestr.h269 int ndef, xColorItem * pdef);
/OK3568_Linux_fs/external/xserver/mi/
H A Dmisprite.c206 static void miSpriteStoreColors(ColormapPtr pMap, int ndef, xColorItem * pdef);
588 miSpriteStoreColors(ColormapPtr pMap, int ndef, xColorItem * pdef) in miSpriteStoreColors() argument
600 (*pScreen->StoreColors) (pMap, ndef, pdef); in miSpriteStoreColors()
613 if (MaskMatch (dev->colors[plane].pixel,pdef[i].pixel,mask)) {\ in miSpriteStoreColors()
614 dev->colors[plane].dac = pdef[i].dac; \ in miSpriteStoreColors()
632 if (pdef[i].pixel == pPriv->colors[SOURCE_COLOR].pixel) { in miSpriteStoreColors()
633 pPriv->colors[SOURCE_COLOR] = pdef[i]; in miSpriteStoreColors()
637 if (pdef[i].pixel == pPriv->colors[MASK_COLOR].pixel) { in miSpriteStoreColors()
638 pPriv->colors[MASK_COLOR] = pdef[i]; in miSpriteStoreColors()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dbpf-loader.c1250 const struct bpf_map_def *pdef,
1257 int map_fd, const struct bpf_map_def *pdef, in foreach_key_array_all() argument
1263 for (i = 0; i < pdef->max_entries; i++) { in foreach_key_array_all()
1264 err = func(name, map_fd, pdef, op, &i, arg); in foreach_key_array_all()
1277 const struct bpf_map_def *pdef, in foreach_key_array_ranges() argument
1290 err = func(name, map_fd, pdef, op, &idx, arg); in foreach_key_array_ranges()
1453 const struct bpf_map_def *pdef, in apply_obj_config_map_for_key() argument
1462 pdef->value_size, in apply_obj_config_map_for_key()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dgdth_proc.c169 gdth_defcnt_str *pdef; in gdth_show_info() local
314 pdef = (gdth_defcnt_str *)buf; in gdth_show_info()
322 pdef->sddc_type = 0x08; in gdth_show_info()
327 pdef->sddc_cnt); in gdth_show_info()
/OK3568_Linux_fs/external/xserver/miext/rootless/
H A DrootlessScreen.c539 RootlessStoreColors(ColormapPtr pMap, int ndef, xColorItem * pdef) in RootlessStoreColors() argument
551 pScreen->StoreColors(pMap, ndef, pdef); in RootlessStoreColors()