Home
last modified time | relevance | path

Searched refs:iommu_data (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/vfio/
Dcontainer.c23 void *iommu_data; member
42 static void vfio_noiommu_release(void *iommu_data) in vfio_noiommu_release() argument
46 static long vfio_noiommu_ioctl(void *iommu_data, in vfio_noiommu_ioctl() argument
55 static int vfio_noiommu_attach_group(void *iommu_data, in vfio_noiommu_attach_group() argument
61 static void vfio_noiommu_detach_group(void *iommu_data, in vfio_noiommu_detach_group() argument
171 device->group->container->iommu_data, device); in vfio_device_container_register()
181 device->group->container->iommu_data, device); in vfio_device_container_unregister()
225 ret = driver->ops->ioctl(container->iommu_data, in vfio_container_ioctl_check_extension()
317 container->iommu_data = data; in vfio_ioctl_set_iommu()
350 data = container->iommu_data; in vfio_fops_unl_ioctl()
[all …]
Dvfio.h206 void (*release)(void *iommu_data);
207 long (*ioctl)(void *iommu_data, unsigned int cmd,
209 int (*attach_group)(void *iommu_data,
212 void (*detach_group)(void *iommu_data,
214 int (*pin_pages)(void *iommu_data,
219 void (*unpin_pages)(void *iommu_data,
221 void (*register_device)(void *iommu_data,
223 void (*unregister_device)(void *iommu_data,
225 int (*dma_rw)(void *iommu_data, dma_addr_t user_iova,
227 struct iommu_domain *(*group_iommu_domain)(void *iommu_data,
Dvfio_iommu_spapr_tce.c34 static void tce_iommu_detach_group(void *iommu_data,
344 static void tce_iommu_release(void *iommu_data) in tce_iommu_release() argument
346 struct tce_container *container = iommu_data; in tce_iommu_release()
354 tce_iommu_detach_group(iommu_data, tcegrp->grp); in tce_iommu_release()
828 static long tce_iommu_ioctl(void *iommu_data, in tce_iommu_ioctl() argument
831 struct tce_container *container = iommu_data; in tce_iommu_ioctl()
1236 static int tce_iommu_attach_group(void *iommu_data, in tce_iommu_attach_group() argument
1240 struct tce_container *container = iommu_data; in tce_iommu_attach_group()
1317 static void tce_iommu_detach_group(void *iommu_data, in tce_iommu_detach_group() argument
1320 struct tce_container *container = iommu_data; in tce_iommu_detach_group()
Dvfio_iommu_type1.c780 static int vfio_iommu_type1_pin_pages(void *iommu_data, in vfio_iommu_type1_pin_pages() argument
786 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_pin_pages()
900 static void vfio_iommu_type1_unpin_pages(void *iommu_data, in vfio_iommu_type1_unpin_pages() argument
903 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_unpin_pages()
2138 static int vfio_iommu_type1_attach_group(void *iommu_data, in vfio_iommu_type1_attach_group() argument
2141 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_attach_group()
2448 static void vfio_iommu_type1_detach_group(void *iommu_data, in vfio_iommu_type1_detach_group() argument
2451 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_detach_group()
2582 static void vfio_iommu_type1_release(void *iommu_data) in vfio_iommu_type1_release() argument
2584 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_release()
[all …]
/linux-6.12.1/arch/sparc/kernel/
Dpsycho_common.c208 u64 control, iommu_tag[16], iommu_data[16]; in psycho_check_iommu_error() local
244 psycho_record_iommu_tags_and_data(pbm, iommu_tag, iommu_data); in psycho_check_iommu_error()
245 psycho_dump_iommu_tags_and_data(pbm, iommu_tag, iommu_data); in psycho_check_iommu_error()
Dpci_schizo.c244 unsigned long iommu_data[16]; in schizo_check_iommu_error_pbm() local
295 iommu_data[i] = in schizo_check_iommu_error_pbm()
313 data = iommu_data[i]; in schizo_check_iommu_error_pbm()
/linux-6.12.1/include/linux/
Diommu.h832 void *iommu_data,
833 void (*release)(void *iommu_data));
1220 void *iommu_data, in iommu_group_set_iommudata() argument
1221 void (*release)(void *iommu_data)) in iommu_group_set_iommudata() argument
/linux-6.12.1/drivers/iommu/
Diommu.c53 void *iommu_data; member
54 void (*iommu_data_release)(void *iommu_data);
932 group->iommu_data_release(group->iommu_data); in iommu_group_release()
1031 return group->iommu_data; in iommu_group_get_iommudata()
1045 void iommu_group_set_iommudata(struct iommu_group *group, void *iommu_data, in iommu_group_set_iommudata() argument
1046 void (*release)(void *iommu_data)) in iommu_group_set_iommudata() argument
1048 group->iommu_data = iommu_data; in iommu_group_set_iommudata()
Dapple-dart.c828 static void apple_dart_release_group(void *iommu_data) in apple_dart_release_group() argument
832 struct apple_dart_master_cfg *group_master_cfg = iommu_data; in apple_dart_release_group()
840 kfree(iommu_data); in apple_dart_release_group()
Dtegra-smmu.c900 static void tegra_smmu_group_release(void *iommu_data) in tegra_smmu_group_release() argument
902 struct tegra_smmu_group *group = iommu_data; in tegra_smmu_group_release()
/linux-6.12.1/arch/powerpc/kernel/
Diommu.c1011 static void group_release(void *iommu_data) in group_release() argument
1013 struct iommu_table_group *table_group = iommu_data; in group_release()