Lines Matching refs:sdev
231 SMMUDevice *sdev = (SMMUDevice *)key; in smmu_hash_remove_by_sid_range() local
232 uint32_t sid = smmu_get_sid(sdev); in smmu_hash_remove_by_sid_range()
853 SMMUDevice *sdev; in smmu_find_add_as() local
863 sdev = sbus->pbdev[devfn]; in smmu_find_add_as()
864 if (!sdev) { in smmu_find_add_as()
867 sdev = sbus->pbdev[devfn] = g_new0(SMMUDevice, 1); in smmu_find_add_as()
869 sdev->smmu = s; in smmu_find_add_as()
870 sdev->bus = bus; in smmu_find_add_as()
871 sdev->devfn = devfn; in smmu_find_add_as()
873 memory_region_init_iommu(&sdev->iommu, sizeof(sdev->iommu), in smmu_find_add_as()
876 address_space_init(&sdev->as, in smmu_find_add_as()
877 MEMORY_REGION(&sdev->iommu), name); in smmu_find_add_as()
882 return &sdev->as; in smmu_find_add_as()
917 SMMUDevice *sdev; in smmu_inv_notifiers_all() local
919 QLIST_FOREACH(sdev, &s->devices_with_notifiers, next) { in smmu_inv_notifiers_all()
920 smmu_inv_notifiers_mr(&sdev->iommu); in smmu_inv_notifiers_all()