Lines Matching refs:cap_ptr
90 u16 cap_ptr; member
331 dev_name(&iommu->dev->dev), iommu->cap_ptr); in iommu_enable()
401 static int __init find_last_devid_on_pci(int bus, int dev, int fn, int cap_ptr) in find_last_devid_on_pci() argument
405 cap = read_pci_config(bus, dev, fn, cap_ptr+MMIO_RANGE_OFFSET); in find_last_devid_on_pci()
426 h->cap_ptr); in find_last_devid_from_ivhd()
735 int cap_ptr = iommu->cap_ptr; in init_iommu_from_pci() local
739 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_CAP_HDR_OFFSET, in init_iommu_from_pci()
741 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_RANGE_OFFSET, in init_iommu_from_pci()
743 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_MISC_OFFSET, in init_iommu_from_pci()
796 pci_read_config_dword(iommu->dev, iommu->cap_ptr + 4, in init_iommu_from_pci()
798 pci_read_config_dword(iommu->dev, iommu->cap_ptr + 8, in init_iommu_from_pci()
1067 iommu->cap_ptr = h->cap_ptr; in init_iommu_one()
1124 PCI_FUNC(h->devid), h->cap_ptr, in init_iommu_all()
1383 pci_write_config_dword(iommu->dev, iommu->cap_ptr + 4, in iommu_apply_resume_quirks()
1385 pci_write_config_dword(iommu->dev, iommu->cap_ptr + 8, in iommu_apply_resume_quirks()
1398 pci_write_config_dword(iommu->dev, iommu->cap_ptr + 4, in iommu_apply_resume_quirks()