Searched refs:SMMUDevice (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/include/hw/arm/ |
H A D | smmu-common.h | 122 typedef struct SMMUDevice { struct 130 QLIST_ENTRY(SMMUDevice) next; argument 131 } SMMUDevice; typedef 135 SMMUDevice *pbdev[]; /* Parent array is sparse, so dynamically alloc */ 157 QLIST_HEAD(, SMMUDevice) devices_with_notifiers; 179 static inline uint16_t smmu_get_sid(SMMUDevice *sdev) in smmu_get_sid() 206 SMMUDevice *smmu_find_sdev(SMMUState *s, uint32_t sid);
|
/openbmc/qemu/hw/arm/ |
H A D | smmuv3.c | 826 SMMUDevice *sdev = container_of(mr, SMMUDevice, iommu); in smmuv3_decode_config() 870 static SMMUTransCfg *smmuv3_get_config(SMMUDevice *sdev, SMMUEventInfo *event) in smmuv3_get_config() 901 static void smmuv3_flush_config(SMMUDevice *sdev) in smmuv3_flush_config() 1040 SMMUDevice *sdev = container_of(mr, SMMUDevice, iommu); in smmuv3_translate() 1146 SMMUDevice *sdev = container_of(mr, SMMUDevice, iommu); in smmuv3_notify_iova() 1206 SMMUDevice *sdev; in smmuv3_inv_notifiers_iova() 1283 SMMUDevice *sdev = (SMMUDevice *)key; in smmuv3_invalidate_ste() 1344 SMMUDevice *sdev = smmu_find_sdev(bs, sid); in smmuv3_cmdq_consume() 1384 SMMUDevice *sdev = smmu_find_sdev(bs, sid); in smmuv3_cmdq_consume() 2014 SMMUDevice *sdev = container_of(iommu, SMMUDevice, iommu); in smmuv3_notify_flag_changed()
|
H A D | smmu-common.c | 833 SMMUDevice *sdev; in smmu_find_add_as() 838 sizeof(SMMUDevice *) * SMMU_PCI_DEVFN_MAX); in smmu_find_add_as() 847 sdev = sbus->pbdev[devfn] = g_new0(SMMUDevice, 1); in smmu_find_add_as() 869 SMMUDevice *smmu_find_sdev(SMMUState *s, uint32_t sid) in smmu_find_sdev() 897 SMMUDevice *sdev; in smmu_inv_notifiers_all()
|