/linux-master/arch/sparc/kernel/ |
H A D | pci_impl.h | 16 #include <asm/iommu.h> 150 struct iommu *iommu; member in struct:pci_pbm_info
|
H A D | pci_psycho.c | 20 #include <asm/iommu.h> 515 struct iommu *iommu; local 530 iommu = pbm->sibling->iommu; 532 iommu = kzalloc(sizeof(struct iommu), GFP_KERNEL); 533 if (!iommu) { 534 printk(KERN_ERR PFX "Cannot allocate PBM iommu.\n"); 539 pbm->iommu [all...] |
H A D | ldc.c | 19 #include <asm/iommu-common.h> 22 #include <asm/iommu.h> 146 struct ldc_iommu iommu; member in struct:ldc_channel 1022 static void ldc_demap(struct ldc_iommu *iommu, unsigned long id, u64 cookie, argument 1029 base = iommu->page_table + entry; 1044 struct ldc_iommu *ldc_iommu = &lp->iommu; 1045 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; local 1056 iommu->map = kzalloc(sz, GFP_KERNEL); 1057 if (!iommu->map) { 1061 iommu_tbl_pool_init(iommu, num_tsb_entrie 1103 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; local 2017 alloc_npages(struct ldc_iommu *iommu, unsigned long npages) argument 2155 struct ldc_iommu *iommu; local 2201 struct ldc_iommu *iommu; local 2233 free_npages(unsigned long id, struct ldc_iommu *iommu, u64 cookie, u64 size) argument 2248 struct ldc_iommu *iommu = &lp->iommu; local [all...] |
H A D | pci_sabre.c | 22 #include <asm/iommu.h> 466 struct iommu *iommu; local 491 iommu = kzalloc(sizeof(*iommu), GFP_KERNEL); 492 if (!iommu) { 493 printk(KERN_ERR PFX "Cannot allocate PBM iommu.\n"); 497 pbm->iommu = iommu; 580 kfree(pbm->iommu); [all...] |
H A D | of_device_common.c | 66 op->dev.archdata.iommu = bus_sd->iommu;
|
H A D | pci.c | 252 static void pci_init_dev_archdata(struct dev_archdata *sd, void *iommu, argument 257 sd->iommu = iommu; 279 pci_init_dev_archdata(sd, pbm->iommu, &pbm->stc, pbm, op, 282 sd->iommu = pbm->iommu; 821 struct iommu *iommu = dev->archdata.iommu; local 838 if (iommu [all...] |
/linux-master/arch/sparc/mm/ |
H A D | io-unit.c | 66 op->dev.archdata.iommu = iounit; 150 struct iounit_struct *iounit = dev->archdata.iommu; 166 struct iounit_struct *iounit = dev->archdata.iommu; 184 struct iounit_struct *iounit = dev->archdata.iommu; 199 struct iounit_struct *iounit = dev->archdata.iommu; 219 struct iounit_struct *iounit = dev->archdata.iommu;
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_dma.c | 8 #include <linux/iommu.h> 17 #include <asm/dma-iommu.h> 34 * drm_iommu_attach_device- attach device to iommu mapping 39 * This function should be called by sub drivers to attach it to iommu 80 * This function should be called by sub drivers to detach it from iommu
|
/linux-master/drivers/parisc/ |
H A D | iommu.h | 35 return pdata->iommu;
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | os.h | 30 #include <linux/iommu.h>
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib.h | 37 #include <linux/iommu.h>
|
/linux-master/arch/parisc/include/asm/ |
H A D | pci.h | 59 struct ioc *iommu; /* IOMMU this device is under */ member in struct:pci_hba_data
|
/linux-master/mm/ |
H A D | init-mm.c | 13 #include <linux/iommu.h>
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_mmu.h | 10 #include <linux/iommu.h>
|
/linux-master/include/linux/ |
H A D | iommu.h | 147 /* iommu fault flags */ 361 * @set_dirty_tracking: Enable or Disable dirty tracking on the iommu domain 376 * struct iommu_user_data - iommu driver specific user space data info 391 * struct iommu_user_data_array - iommu driver specific user space data array 408 * __iommu_copy_struct_from_user - Copy iommu driver specific user space data 409 * @dst_data: Pointer to an iommu driver specific user data that is defined in 433 * iommu_copy_struct_from_user - Copy iommu driver specific user space data 434 * @kdst: Pointer to an iommu driver specific user data that is defined in 448 * __iommu_copy_struct_from_user_array - Copy iommu driver specific user space 450 * @dst_data: Pointer to an iommu drive 1253 iommu_device_register(struct iommu_device *iommu, const struct iommu_ops *ops, struct device *hwdev) argument 1292 iommu_device_unregister(struct iommu_device *iommu) argument 1296 iommu_device_sysfs_add(struct iommu_device *iommu, struct device *parent, const struct attribute_group **groups, const char *fmt, ...) argument 1304 iommu_device_sysfs_remove(struct iommu_device *iommu) argument [all...] |
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_dev.c | 8 #include <linux/iommu.h> 254 mdev->iommu = iommu_get_domain_for_dev(mdev->dev); 255 if (!mdev->iommu) 328 if (mdev->iommu && mdev->funcs->connect_iommu) 330 DRM_ERROR("connect iommu failed.\n"); 337 if (mdev->iommu && mdev->funcs->disconnect_iommu) 339 DRM_ERROR("disconnect iommu failed.\n");
|
/linux-master/drivers/iommu/ |
H A D | io-pgfault.c | 8 #include <linux/iommu.h> 14 #include "iommu-priv.h" 23 struct dev_iommu *param = dev->iommu; 173 * Any valid page fault will be eventually routed to an iommu domain and the 175 * handling framework should guarantee that the iommu domain could only be 176 * freed after the device has stopped generating page faults (or the iommu 252 iopf_param = rcu_dereference_check(dev->iommu->fault_param, true); 333 struct dev_iommu *param = dev->iommu; 400 struct dev_iommu *param = dev->iommu;
|
H A D | mtk_iommu_v1.c | 8 * Based on driver/iommu/mtk_iommu.c 18 #include <linux/iommu.h> 29 #include <asm/dma-iommu.h> 78 /* MTK generation one iommu HW only support 4K size mapping */ 104 struct iommu_device iommu; member in struct:mtk_iommu_v1_data 212 * MTK v1 iommu HW could not determine whether the fault is read or 245 dev_dbg(dev, "%s iommu port: %d\n", 398 * MTK generation one iommu HW only support one iommu domain, and all the client 411 dev_err(dev, "invalid #iommu [all...] |
/linux-master/drivers/media/platform/nvidia/tegra-vde/ |
H A D | iommu.c | 8 #include <linux/iommu.h> 14 #include <asm/dma-iommu.h>
|
/linux-master/drivers/gpu/host1x/ |
H A D | context.c | 33 err = of_property_count_u32_elems(node, "iommu-map"); 134 if (cd->dev.iommu->iommu_dev != dev->iommu->iommu_dev)
|
/linux-master/arch/x86/kernel/ |
H A D | x86_init.c | 26 #include <asm/iommu.h> 103 .iommu = {
|
/linux-master/drivers/crypto/caam/ |
H A D | compat.h | 20 #include <linux/iommu.h>
|
/linux-master/arch/x86/include/asm/ |
H A D | pci.h | 21 void *iommu; /* IOMMU private data */ member in struct:pci_sysdata
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | Makefile | 7 setup.o iommu.o event_sources.o ras.o \
|
/linux-master/arch/x86/virt/svm/ |
H A D | sev.c | 19 #include <linux/iommu.h> 20 #include <linux/amd-iommu.h> 31 #include <asm/iommu.h>
|