/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | i915_gem_stolen.c | 52 u32 base; local 55 * is unreliable, so on those compute the base by subtracting the 67 base = 0; 69 pci_read_config_dword(dev->pdev, 0x5c, &base); 70 base &= ~((1<<20) - 1); 76 pci_read_config_dword(pdev, 0xB0, &base); 77 base &= ~4095; /* lower bits used for locking register */ 80 pci_read_config_dword(pdev, 0xA4, &base); 86 base = val >> 3 << 27; 87 base [all...] |
H A D | intel_dvo.c | 99 struct intel_encoder base; member in struct:intel_dvo 109 return container_of(encoder, struct intel_dvo, base.base); 115 struct intel_dvo, base); 120 struct intel_dvo *intel_dvo = intel_attached_dvo(&connector->base); 128 struct drm_device *dev = encoder->base.dev; 130 struct intel_dvo *intel_dvo = enc_to_intel_dvo(&encoder->base); 146 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private; 147 struct intel_dvo *intel_dvo = enc_to_intel_dvo(&encoder->base); 165 struct drm_i915_private *dev_priv = encoder->base [all...] |
H A D | intel_bios.c | 46 u8 *base = (u8 *)bdb; local 57 current_id = *(base + index); 59 current_size = *((u16 *)(uintptr_t)(base + index)); 62 return base + index;
|
H A D | intel_lvds.c | 45 struct intel_connector base; member in struct:intel_lvds_connector 50 struct intel_encoder base; member in struct:intel_lvds_encoder 60 return container_of(encoder, struct intel_lvds_encoder, base.base); 65 return container_of(connector, struct intel_lvds_connector, base.base); 71 struct drm_device *dev = encoder->base.dev; 73 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); 92 struct drm_device *dev = encoder->base.dev; 127 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); [all...] |
H A D | intel_crt.c | 50 struct intel_encoder base; member in struct:intel_crt 61 struct intel_crt, base); 66 return container_of(encoder, struct intel_crt, base); 72 struct drm_device *dev = encoder->base.dev; 93 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private; 116 struct drm_device *dev = encoder->base.dev; 152 intel_crt_set_dpms(encoder, crt->connector->base.dpms); 174 crtc = encoder->base.crtc; 232 struct drm_device *dev = encoder->base.dev; 460 struct drm_i915_private *dev_priv = crt->base [all...] |
H A D | i915_dma.c | 1364 resource_size_t base, size; local 1392 base = drm_get_resource_start(dev, mmio_bar); 1396 dev_priv->regs->offset = base; 1578 i915_gem_free_object(&dev_priv->fbcon_obj->base); 1627 * So we read the agp base and size here.
|
H A D | i915_gem_gtt.c | 432 obj->base.size >> PAGE_SHIFT, 433 obj->base.pfnarray, 442 obj->base.size >> PAGE_SHIFT); 470 if (!dma_map_sg(&obj->base.dev->pdev->dev, 488 struct drm_device *dev = obj->base.dev; 491 unsigned num_entries = obj->base.size / PAGE_SIZE; 500 page_addr = obj->base.pfnarray[j] << PAGE_SHIFT; 507 BUG_ON(j != obj->base.size / PAGE_SIZE); 517 page_addr = obj->base.pfnarray[j-1] << PAGE_SHIFT; 537 unsigned num_entries = obj->base 771 caddr_t base; local [all...] |
H A D | intel_overlay.c | 302 drm_gem_object_unreference(&obj->base); 315 drm_gem_object_unreference(&obj->base); 610 switch (overlay->crtc->base.fb->bits_per_pixel) { 617 if (overlay->crtc->base.fb->depth == 15) { 864 struct drm_display_mode *mode = &overlay->crtc->base.mode; 977 if (rec->offset_Y + tmp > new_bo->base.size) 988 if (rec->offset_Y + tmp > new_bo->base.size) 992 if (rec->offset_U + tmp > new_bo->base.size || 993 rec->offset_V + tmp > new_bo->base.size) 1072 if (&new_bo->base 1417 unsigned long base; member in struct:intel_overlay_error_state [all...] |
H A D | intel_tv.c | 53 struct intel_encoder base; member in struct:intel_tv 834 return container_of(encoder, struct intel_tv, base.base); 841 base); 847 struct drm_device *dev = encoder->base.dev; 862 struct drm_device *dev = encoder->base.dev; 871 struct drm_device *dev = encoder->base.dev; 917 struct intel_tv *intel_tv = enc_to_intel_tv(&encoder->base); 1176 struct drm_encoder *encoder = &intel_tv->base.base; [all...] |
H A D | intel_drv.h | 83 struct drm_framebuffer base; member in struct:intel_framebuffer 95 struct drm_encoder base; member in struct:intel_encoder 98 * base->crtc while a modeset is in progress. 125 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 139 struct drm_connector base; member in struct:intel_connector 276 struct drm_crtc base; member in struct:intel_crtc 294 /* Display surface base address adjustement for pageflips. Note that on 318 struct drm_plane base; member in struct:intel_plane 374 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base) 375 #define to_intel_connector(x) container_of(x, struct intel_connector, base) 485 struct intel_encoder base; member in struct:intel_digital_port [all...] |
H A D | intel_sdvo.c | 70 struct intel_encoder base; member in struct:intel_sdvo 154 struct intel_connector base; member in struct:intel_sdvo_connector 209 return container_of(encoder, struct intel_sdvo, base.base); 215 struct intel_sdvo, base); 220 return container_of(to_intel_connector(connector), struct intel_sdvo_connector, base); 240 struct drm_device *dev = intel_sdvo->base.base.dev; 970 struct intel_crtc *intel_crtc = to_intel_crtc(intel_sdvo->base.base [all...] |
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_stub.c | 55 int base, limit; local 59 base = DRM_MINOR_ID_BASE_LEGACY; 63 base = DRM_MINOR_ID_BASE_CONTROL; 67 base = DRM_MINOR_ID_BASE_RENDER; 71 base = DRM_MINOR_ID_BASE_VGATEXT; 75 base = DRM_MINOR_ID_BASE_AGPMASTER; 84 base, &new_id);
|
H A D | drm_sun_pci.c | 182 u32 base; local 184 base = 0xC0000; 187 return (u8*)drm_sun_ioremap(base, *size, DRM_MEM_UNCACHED); 191 void pci_unmap_rom(struct pci_dev *pdev, u8 *base) argument 193 iounmap(base);
|
/solaris-x11-s11/open-src/kernel/efb/src/ |
H A D | drm_memory.c | 103 uint_t base, regsize; local 121 base = (uint_t)regs[i].pci_phys_low; 123 if ((uint_t)physical >= base && 124 (uint_t)physical < (base + regsize)) { 126 *off = (off_t)(physical - base);
|
H A D | radeon_cp.c | 1142 RADEON_WRITE(RADEON_AGP_BASE, (unsigned int)dev->agp->base); 1149 dev->agp->base + dev_priv->gart_vm_start; 1171 dev->agp->base + dev_priv->gart_vm_start); 1341 /* set PCI GART page-table base address */ 1581 u32 base = 0; local 1592 base = dev->agp->base; 1594 if ((base + dev_priv->gart_size - 1) >= 1596 base < (dev_priv->fb_location + 1598 DRM_INFO("Can't use AGP base [all...] |
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/ast/ |
H A D | memory.c | 214 register caddr_t const base) 246 base) || 253 base); 313 register caddr_t const base) 329 mem_addr = (y * pitch * bytepp) + x + base; 364 mem_addr = (y * pitch * bytepp) + x + base; 207 check_plane( register int const num_planes, register int const access_mode, register int const fb_pitch, register int const fb_height, register int const fb_width, register int const bytepp, register caddr_t const base) argument 305 write_read( register int const xoff, register int const yoff, register boolean_t const complement, register int const access_mode, register boolean_t const pass, register int const fb_pitch, register int const bytepp, register caddr_t const base) argument
|
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/efb/ |
H A D | memory.c | 216 register caddr_t const base) 248 base) || 255 base); 315 register caddr_t const base) 331 mem_addr = (y * pitch * bytepp) + x + base; 366 mem_addr = (y * pitch * bytepp) + x + base; 209 check_plane( register int const num_planes, register int const access_mode, register int const fb_pitch, register int const fb_height, register int const fb_width, register int const bytepp, register caddr_t const base) argument 307 write_read( register int const xoff, register int const yoff, register boolean_t const complement, register int const access_mode, register boolean_t const pass, register int const fb_pitch, register int const bytepp, register caddr_t const base) argument
|
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/mga/ |
H A D | memory.c | 222 register caddr_t const base) 252 base) || 259 base); 318 register caddr_t const base) 334 mem_addr = (y*pitch*bytepp) + x + base; 369 mem_addr = (y*pitch*bytepp) + x + base; 215 check_plane( register int const num_planes, register int const access_mode, register int const fb_pitch, register int const fb_height, register int const fb_width, register int const bytepp, register caddr_t const base) argument 310 write_read( register int const xoff, register int const yoff, register boolean_t const complement, register int const access_mode, register boolean_t const pass, register int const fb_pitch, register int const bytepp, register caddr_t const base) argument
|
/solaris-x11-s11/open-src/driver/xf86-video-ast/sun-src/src/ |
H A D | ast_sparc_driver.c | 189 unsigned long base, unsigned long size) 202 realBase = base & ~(getpagesize() - 1); 203 alignOff = base - realBase; 209 printf("base: %lx, realBase: %lx, alignOff: %lx \n", 210 base, realBase, alignOff); 233 ASTUnmapVidMem(ScrnInfoPtr pScrn, pointer base, unsigned long size) argument 235 memType alignOff = (memType)base - ((memType)base & ~(getpagesize() - 1)); 237 munmap((caddr_t)((memType)base - alignOff), (size + alignOff)); 188 ASTMapVidMem(ScrnInfoPtr pScrn, unsigned int flags, PCITAG pciTag, unsigned long base, unsigned long size) argument
|
/solaris-x11-s11/open-src/app/dsession/sun-src/ |
H A D | dsession.c | 79 struct pci_device base; member in struct:sol_device_private
|
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/ |
H A D | scan.c | 145 int base = 10; local 155 base = 16; 158 base = 8; 162 if ((*p >= '0') && (*p <= ((base == 8) ? '7' : '9'))) 164 tot = tot * base + (*p - '0'); 166 else if ((base == 16) && (*p >= 'a') && (*p <= 'f')) 168 tot = tot * base + 10 + (*p - 'a'); 170 else if ((base == 16) && (*p >= 'A') && (*p <= 'F')) 172 tot = tot * base + 10 + (*p - 'A'); 424 int base; local [all...] |
/solaris-x11-s11/open-src/driver/efb/sun-src/src/ |
H A D | efb_driver.c | 244 unsigned long base, unsigned long size) 257 realBase = base & ~(getpagesize() - 1); 258 alignOff = base - realBase; 263 printf("base: %lx, realBase: %lx, alignOff: %lx \n", 264 base, realBase, alignOff); 284 EFBUnmapVidMem(ScrnInfoPtr pScrn, pointer base, unsigned long size) argument 286 memType alignOff = (memType)base - ((memType)base & ~(getpagesize() - 1)); 289 munmap((caddr_t)((memType)base - alignOff), (size + alignOff)); 243 EFBMapVidMem(ScrnInfoPtr pScrn, unsigned int flags, PCITAG picTag, unsigned long base, unsigned long size) argument
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | cslibint.c | 1756 char *base; local 1761 base = iov->iov_base; 1764 nbytes = read(fd, base, len); 1770 base += nbytes;
|
H A D | dpsXcmu.c | 1090 unsigned long base; local 1134 if (size == r0) SetRamp(black, white, size, &redMult, &base); 1135 else if (size == r1) SetRamp(altBlack, white, size, &redMult, &base); 1136 else if (size == r2) SetRamp(black, altWhite, size, &redMult, &base); 1137 else if (size == r3) SetRamp(altBlack, altWhite, size, &redMult, &base); 1145 grayRamp->base_pixel = base; 1181 unsigned long *base) 1183 *base = black->pixel; 1176 SetRamp( XColor *black, XColor *white, int size, int *mult, unsigned long *base) argument
|
H A D | dpsclient.c | 363 static void ConvSeqInPlace(nObjs, currObj, base, tokenType) 366 char *base; 391 ConvSeqInPlace(currObj->length, (DPSBinObj)(base + currObj->val.arrayVal), base, tokenType); 1249 char *base, 1328 p = base + index; 1338 base, 1339 (DPSBinObj)(base+currObj->val.arrayVal), 1355 p = base + i; 1615 char *base, 1247 WriteSeqAsAscii( DPSContext ctxt, char *base, DPSBinObj currObj, unsigned int nObjs, unsigned char tokenType, int *numstringOffsets) argument 1613 WriteSeqAsTokens( DPSContext ctxt, char *base, DPSBinObj currObj, unsigned int nObjs, unsigned char tokenType, int *numstringOffsets) argument [all...] |