Lines Matching refs:pcidev
65 struct pci_dev *pcidev; /* device one */ member
114 if (!dma_map_sg(&intel_private.pcidev->dev, st->sgl, st->nents, in intel_gtt_map_memory()
130 dma_unmap_sg(&intel_private.pcidev->dev, sg_list, num_sg, in intel_gtt_unmap_memory()
185 reg_addr = pci_resource_start(intel_private.pcidev, I810_MMADR_BAR); in i810_setup()
198 dev_info(&intel_private.pcidev->dev, in i810_setup()
306 dma_addr = dma_map_page(&intel_private.pcidev->dev, page, 0, in intel_gtt_setup_scratch_page()
308 if (dma_mapping_error(&intel_private.pcidev->dev, dma_addr)) { in intel_gtt_setup_scratch_page()
498 dev_info(&intel_private.pcidev->dev, in i965_gtt_total_entries()
545 aperture_size = pci_resource_len(intel_private.pcidev, 2); in intel_gtt_mappable_entries()
555 dma_unmap_page(&intel_private.pcidev->dev, in intel_gtt_teardown_scratch_page()
576 const unsigned short gpu_devid = intel_private.pcidev->device; in needs_ilk_vtd_wa()
584 device_iommu_mapped(&intel_private.pcidev->dev)); in needs_ilk_vtd_wa()
661 intel_private.gma_bus_addr = pci_bus_address(intel_private.pcidev, bar); in intel_gtt_init()
760 dev_err(&intel_private.pcidev->dev, in intel_gmch_enable_gtt()
776 dev_err(&intel_private.pcidev->dev, in intel_gmch_enable_gtt()
793 reg_addr = pci_resource_start(intel_private.pcidev, I810_MMADR_BAR); in i830_setup()
1093 dev_err(&intel_private.pcidev->dev, in intel_i9xx_setup_flush()
1134 reg_addr = pci_resource_start(intel_private.pcidev, I915_MMADR_BAR); in i9xx_setup()
1143 pci_resource_start(intel_private.pcidev, I915_PTE_BAR); in i9xx_setup()
1357 intel_private.pcidev = gmch_device; in find_gmch()
1370 intel_private.pcidev = pci_dev_get(gpu_pdev); in intel_gmch_probe()
1412 if (dma_set_mask(&intel_private.pcidev->dev, DMA_BIT_MASK(mask))) in intel_gmch_probe()
1413 dev_err(&intel_private.pcidev->dev, in intel_gmch_probe()
1417 dma_set_coherent_mask(&intel_private.pcidev->dev, in intel_gmch_probe()
1455 if (intel_private.pcidev) in intel_gmch_remove()
1456 pci_dev_put(intel_private.pcidev); in intel_gmch_remove()