• Home
  • Raw
  • Download

Lines Matching refs:zdev

32 	struct zpci_dev		*zdev;  member
88 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_attach_device() local
93 if (!zdev) in s390_iommu_attach_device()
100 if (zdev->dma_table) in s390_iommu_attach_device()
101 zpci_dma_exit_device(zdev); in s390_iommu_attach_device()
103 zdev->dma_table = s390_domain->dma_table; in s390_iommu_attach_device()
104 rc = zpci_register_ioat(zdev, 0, zdev->start_dma + PAGE_OFFSET, in s390_iommu_attach_device()
105 zdev->start_dma + zdev->iommu_size - 1, in s390_iommu_attach_device()
106 (u64) zdev->dma_table); in s390_iommu_attach_device()
113 domain->geometry.aperture_start = zdev->start_dma; in s390_iommu_attach_device()
114 domain->geometry.aperture_end = zdev->end_dma; in s390_iommu_attach_device()
117 } else if (domain->geometry.aperture_start != zdev->start_dma || in s390_iommu_attach_device()
118 domain->geometry.aperture_end != zdev->end_dma) { in s390_iommu_attach_device()
123 domain_device->zdev = zdev; in s390_iommu_attach_device()
124 zdev->s390_domain = s390_domain; in s390_iommu_attach_device()
131 zpci_dma_init_device(zdev); in s390_iommu_attach_device()
141 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_detach_device() local
146 if (!zdev) in s390_iommu_detach_device()
152 if (domain_device->zdev == zdev) { in s390_iommu_detach_device()
162 zdev->s390_domain = NULL; in s390_iommu_detach_device()
163 zpci_unregister_ioat(zdev, 0); in s390_iommu_detach_device()
164 zpci_dma_init_device(zdev); in s390_iommu_detach_device()
188 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_remove_device() local
202 if (zdev && zdev->s390_domain) { in s390_iommu_remove_device()
244 rc = zpci_refresh_trans((u64) domain_device->zdev->fh << 32, in s390_iommu_update_trans()