Searched refs:scratch (Results 1 - 11 of 11) sorted by relevance

/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/ast/
H A Dmapper.c126 uchar_t scratch; local
129 if (ast_get_index_reg(&scratch, CRTC_PORT, 0x90) != 0) {
130 gfx_vts_set_message(rp, 1, test, "unable to get scratch");
134 if (ast_set_index_reg(CRTC_PORT, 0x90, scratch ^ 0x33) != 0) {
135 gfx_vts_set_message(rp, 1, test, "unable to set scratch");
144 if ((scratch ^ 0x33) != newscratch) {
145 gfx_vts_set_message(rp, 1, test, "scratch mismatch");
149 if (ast_set_index_reg(CRTC_PORT, 0x90, scratch) != 0) {
150 gfx_vts_set_message(rp, 1, test, "unable to set scratch");
/solaris-x11-s11/open-src/kernel/efb/src/
H A Dr300_cmdbuf.c754 header.scratch.n_bufs * sizeof (buf_idx)) {
758 if (header.scratch.reg >= 5) {
762 dev_priv->scratch_ages[header.scratch.reg] ++;
769 for (i = 0; i < header.scratch.n_bufs; i++) {
774 &dev_priv->scratch_ages[header.scratch.reg],
800 OUT_RING(CP_PACKET0(RADEON_SCRATCH_REG0 + header.scratch.reg * 4, 0));
801 OUT_RING(dev_priv->scratch_ages[header.scratch.reg]);
976 * (2) more importantly, some chips lock up hard when scratch registers
H A Dradeon_cp.c1200 * Initialize the scratch register pointer. This will cause
1201 * the scratch register values to be written out to memory
1210 dev_priv->scratch = ((__volatile__ u32 *)
1220 dev_priv->sarea_priv->last_frame = dev_priv->scratch[0] = 0;
1223 dev_priv->sarea_priv->last_dispatch = dev_priv->scratch[1] = 0;
1227 dev_priv->sarea_priv->last_clear = dev_priv->scratch[2] = 0;
2057 * the scratch register * (used to keep track of last buffer
H A Dradeon_drm.h286 } scratch; member in union:__anon133
H A Dradeon_drv.h66 * 1.4 - Add scratch registers to get_param ioctl.
110 * 1.24- Add general-purpose packet for manipulating scratch registers (r300)
245 volatile u32 *scratch; member in struct:drm_radeon_private
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dmultivis.c406 * The 'Label', instead of pPel->colmap could be a scratch bit ?
602 static XColor scratch; local
606 the color into scratch, return a pointer to scratch */
609 scratch.red=pCmap->Colors[(pix & pCmap->red_mask)>>pCmap->rshft].red;
610 scratch.green=pCmap->Colors[(pix & pCmap->green_mask)>>pCmap->gshft].green;
611 scratch.blue=pCmap->Colors[(pix & pCmap->blue_mask)>>pCmap->bshft].blue;
612 scratch.pixel=pix;
613 return(&scratch);
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/
H A DXPanoramiX.c667 xXineramaScreenInfo scratch; local
669 _XRead(dpy, (char*)(&scratch), sz_XineramaScreenInfo);
672 scrnInfo[i].x_org = scratch.x_org;
673 scrnInfo[i].y_org = scratch.y_org;
674 scrnInfo[i].width = scratch.width;
675 scrnInfo[i].height = scratch.height;
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_agpsupport.c580 pfn_t scratch,
590 unbind.agp_scratch = scratch;
576 drm_agp_unbind_pages(struct drm_device *dev, pfn_t *pages, unsigned long num_pages, uint32_t gtt_offset, pfn_t scratch, uint32_t type) argument
/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A DDPSScrollWP.h115 float *scratch; /* To avoid reallocating buffers */ member in struct:__anon198
160 scratch: Used to hold temporary copies of rectangle lists.
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DDPSScrollW.c703 /* Make the scratch list have at least one element */
706 dsw->sw.scratch = NULL;
707 GrowRectList(&dsw->sw.scratch, &dsw->sw.scratch_size, 0, 1, 1);
773 if (dsw->sw.scratch != NULL) XtFree((char *) dsw->sw.scratch);
1050 /* Copy current drawing area to scratch */
1052 GrowRectList(&dsw->sw.scratch, &dsw->sw.scratch_size, 0,
1056 dsw->sw.scratch[i] = dsw->sw.current_drawing[i];
1077 IntersectRects(&dsw->sw.scratch, &dsw->sw.scratch_size,
1084 /* Copy scratch bac
[all...]
/solaris-x11-s11/open-src/kernel/sys/drm/
H A DdrmP.h1360 unsigned long num_pages, uint32_t gtt_offset, pfn_t scratch, uint32_t type);

Completed in 539 milliseconds