/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | intel_overlay.c | 200 struct overlay_registers *regs; local 203 regs = (struct overlay_registers *)overlay->reg_bo->phys_obj->handle->vaddr; 205 regs = (struct overlay_registers *)(uintptr_t)overlay->reg_bo->page_list[0]; 207 return regs; 211 struct overlay_registers *regs) 542 static void update_polyphase_filter(struct overlay_registers *regs) argument 544 memcpy(regs->Y_HCOEFS, y_static_hcoeffs, sizeof(y_static_hcoeffs)); 545 memcpy(regs->UV_HCOEFS, uv_static_hcoeffs, sizeof(uv_static_hcoeffs)); 549 struct overlay_registers *regs, 588 regs 210 intel_overlay_unmap_regs(struct intel_overlay *overlay, struct overlay_registers *regs) argument 548 update_scaling_factors(struct intel_overlay *overlay, struct overlay_registers *regs, struct put_image_params *params) argument 605 update_colorkey(struct intel_overlay *overlay, struct overlay_registers *regs) argument 684 struct overlay_registers *regs; local 792 struct overlay_registers *regs; local 1175 update_reg_attrs(struct intel_overlay *overlay, struct overlay_registers *regs) argument 1231 struct overlay_registers *regs; local 1317 struct overlay_registers *regs; local 1416 struct overlay_registers regs; member in struct:intel_overlay_error_state 1426 struct overlay_registers *regs; local 1437 intel_overlay_unmap_regs_atomic(struct intel_overlay *overlay, struct overlay_registers *regs) argument 1451 struct overlay_registers __iomem *regs; local [all...] |
H A D | intel_ringbuffer.h | 232 u32 *regs = ring->status_page.page_addr; local 233 return regs[reg]; 240 u32 *regs = ring->status_page.page_addr; local 241 regs[reg] = value;
|
H A D | i915_drv.c | 1227 val = DRM_READ8(dev_priv->regs, reg); 1232 val = DRM_READ8(dev_priv->regs, (reg)); 1248 val = DRM_READ16(dev_priv->regs, reg); 1253 val = DRM_READ16(dev_priv->regs, (reg)); 1269 val = DRM_READ32(dev_priv->regs, reg); 1274 val = DRM_READ32(dev_priv->regs, (reg)); 1290 val = DRM_READ64(dev_priv->regs, reg); 1295 val = DRM_READ64(dev_priv->regs, (reg)); 1314 DRM_WRITE8(dev_priv->regs, (reg), (val)); 1336 DRM_WRITE16(dev_priv->regs, (re [all...] |
H A D | i915_dma.c | 74 u32 *regs = (u32 *)dev_priv->dri1.gfx_hws_cpu_addr.handle; local 75 return regs[reg]; 1046 /* Userspace can use first N regs */ 1395 dev_priv->regs = drm_alloc(sizeof (drm_local_map_t), DRM_MEM_MAPS); 1396 dev_priv->regs->offset = base; 1397 dev_priv->regs->size = size; 1398 dev_priv->regs->type = _DRM_REGISTERS; 1399 dev_priv->regs->flags = _DRM_REMOVABLE; 1400 if (drm_ioremap(dev, dev_priv->regs)) { 1405 DRM_DEBUG("mmio paddr=%lx, kvaddr=%p", dev_priv->regs [all...] |
H A D | i915_drv.h | 868 /** LRU list of objects with fence regs on them. */ 1017 drm_local_map_t *regs; member in struct:drm_i915_private 2004 #define I915_READ_NOTRACE(reg) DRM_READ32(dev_priv->regs, (reg)) 2005 #define I915_WRITE_NOTRACE(reg, val) DRM_WRITE32(dev_priv->regs, (reg), (val)) 2008 #define I915_READ16_NOTRACE(reg) DRM_READ16(dev_priv->regs, (reg)) 2009 #define I915_WRITE16_NOTRACE(reg, val) DRM_WRITE16(dev_priv->regs, (reg), (val)) 2014 #define POSTING_READ(reg) (void)DRM_READ32(dev_priv->regs, (reg)) 2015 #define POSTING_READ16(reg) (void)DRM_READ16(dev_priv->regs, (reg)) 2016 #define POSTING_READ8(reg) (void)DRM_READ8(dev_priv->regs, (reg))
|
H A D | intel_panel.c | 627 u32 *regs = (u32 *)dev_priv->opregion.lid_state; 628 return regs[0] & 0x1 ?
|
H A D | i915_gem.c | 748 u32 *regs = ring->status_page.page_addr; local 749 if (wait_for(i915_seqno_passed(regs[I915_GEM_HWS_INDEX], 2429 * This function walks the fence regs looking for a free one for @obj, 3793 * e.g. for cursor + overlay regs
|
/solaris-x11-s11/open-src/kernel/efb/src/ |
H A D | drm_memory.c | 100 pci_regspec_t *regs; 114 "assigned-addresses", (caddr_t)®s, &length) != 121 base = (uint_t)regs[i].pci_phys_low; 122 regsize = (uint_t)regs[i].pci_size_low; 130 kmem_free(regs, (size_t)length); 133 kmem_free(regs, (size_t)length); 174 DRM_ERROR("do_ioremap: failed to map regs: regno=%d,"
|
H A D | drm_pci.c | 291 pci_regspec_t *regs; local 295 "assigned-addresses", (caddr_t)®s, &length) != 301 (unsigned long)regs[resp->regnum].pci_phys_low; 303 (unsigned long)regs[resp->regnum].pci_size_low; 304 kmem_free(regs, (size_t)length);
|
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_memory.c | 103 pci_regspec_t *regs = NULL; 117 "assigned-addresses", (caddr_t)®s, &len) != DDI_PROP_SUCCESS) { 119 if (regs) 120 kmem_free(regs, (size_t)len); 125 regbase = (uint_t)regs[i].pci_phys_low; 126 regsize = (uint_t)regs[i].pci_size_low; 135 if (regs) 136 kmem_free(regs, (size_t)len); 171 DRM_ERROR("failed to map regs: "
|
H A D | drm_pci.c | 197 pci_regspec_t *regs; local 201 "assigned-addresses", (caddr_t)®s, &length) != 207 (unsigned long)regs[resp->regnum].pci_phys_low; 209 (unsigned long)regs[resp->regnum].pci_size_low; 210 kmem_free(regs, (size_t)length);
|
H A D | drm_sun_pci.c | 60 int *regs, ret, len, i; local 79 DDI_PROP_DONTPASS, "reg", (int **)®s, &nregs); 84 pdev->bus = (int)PCI_BUS(regs[0]); 85 pdev->slot = (int)PCI_SLOT(regs[0]); 86 pdev->func = (int)PCI_FUNC(regs[0]); 87 ddi_prop_free(regs);
|
/solaris-x11-s11/open-src/kernel/mdb/modules/ |
H A D | i915.c | 664 struct drm_local_map regs; local 667 if (mdb_vread(®s, sizeof (struct drm_local_map), 668 (intptr_t)dev_priv->regs) == -1) { 669 mdb_warn("Failed to read dev_priv->regs\n"); 675 (intptr_t)regs.offset + addr) == -1) { 1232 u32 *regs; local 1235 regs = mdb_alloc(0x4000, UM_SLEEP); 1236 if (mdb_vread(regs, 0x4000, 1246 i * 4, regs[i], regs[ [all...] |