Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/vfio/
Dvfio.h43 void (*release)(void *iommu_data);
44 long (*ioctl)(void *iommu_data, unsigned int cmd,
46 int (*attach_group)(void *iommu_data,
49 void (*detach_group)(void *iommu_data,
51 int (*pin_pages)(void *iommu_data,
56 int (*unpin_pages)(void *iommu_data,
58 int (*register_notifier)(void *iommu_data,
61 int (*unregister_notifier)(void *iommu_data,
63 int (*dma_rw)(void *iommu_data, dma_addr_t user_iova,
65 struct iommu_domain *(*group_iommu_domain)(void *iommu_data,
[all …]
Dvfio.c61 void *iommu_data; member
176 static void vfio_noiommu_release(void *iommu_data) in vfio_noiommu_release() argument
180 static long vfio_noiommu_ioctl(void *iommu_data, in vfio_noiommu_ioctl() argument
189 static int vfio_noiommu_attach_group(void *iommu_data, in vfio_noiommu_attach_group() argument
195 static void vfio_noiommu_detach_group(void *iommu_data, in vfio_noiommu_detach_group() argument
748 ret = driver->ops->ioctl(container->iommu_data, in vfio_ioctl_check_extension()
840 container->iommu_data = data; in vfio_ioctl_set_iommu()
873 data = container->iommu_data; in vfio_fops_unl_ioctl()
905 driver->ops->notify(container->iommu_data, in vfio_fops_release()
937 driver->ops->detach_group(container->iommu_data, in __vfio_group_unset_container()
[all …]
Dvfio_iommu_spapr_tce.c33 static void tce_iommu_detach_group(void *iommu_data,
343 static void tce_iommu_release(void *iommu_data) in tce_iommu_release() argument
345 struct tce_container *container = iommu_data; in tce_iommu_release()
353 tce_iommu_detach_group(iommu_data, tcegrp->grp); in tce_iommu_release()
777 static long tce_iommu_ioctl(void *iommu_data, in tce_iommu_ioctl() argument
780 struct tce_container *container = iommu_data; in tce_iommu_ioctl()
1241 static int tce_iommu_attach_group(void *iommu_data, in tce_iommu_attach_group() argument
1245 struct tce_container *container = iommu_data; in tce_iommu_attach_group()
1328 static void tce_iommu_detach_group(void *iommu_data, in tce_iommu_detach_group() argument
1331 struct tce_container *container = iommu_data; in tce_iommu_detach_group()
Dvfio_iommu_type1.c841 static int vfio_iommu_type1_pin_pages(void *iommu_data, in vfio_iommu_type1_pin_pages() argument
847 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_pin_pages()
963 static int vfio_iommu_type1_unpin_pages(void *iommu_data, in vfio_iommu_type1_unpin_pages() argument
967 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_unpin_pages()
2168 static int vfio_iommu_type1_attach_group(void *iommu_data, in vfio_iommu_type1_attach_group() argument
2171 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_attach_group()
2474 static void vfio_iommu_type1_detach_group(void *iommu_data, in vfio_iommu_type1_detach_group() argument
2477 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_detach_group()
2608 static void vfio_iommu_type1_release(void *iommu_data) in vfio_iommu_type1_release() argument
2610 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_release()
[all …]
/linux-5.19.10/arch/sparc/kernel/
Dpsycho_common.c207 u64 control, iommu_tag[16], iommu_data[16]; in psycho_check_iommu_error() local
243 psycho_record_iommu_tags_and_data(pbm, iommu_tag, iommu_data); in psycho_check_iommu_error()
244 psycho_dump_iommu_tags_and_data(pbm, iommu_tag, iommu_data); in psycho_check_iommu_error()
Dpci_schizo.c241 unsigned long iommu_data[16]; in schizo_check_iommu_error_pbm() local
292 iommu_data[i] = in schizo_check_iommu_error_pbm()
310 data = iommu_data[i]; in schizo_check_iommu_error_pbm()
/linux-5.19.10/include/linux/
Diommu.h469 void *iommu_data,
470 void (*release)(void *iommu_data));
844 void *iommu_data, in iommu_group_set_iommudata() argument
845 void (*release)(void *iommu_data)) in iommu_group_set_iommudata() argument
/linux-5.19.10/drivers/iommu/
Diommu.c42 void *iommu_data; member
43 void (*iommu_data_release)(void *iommu_data);
601 group->iommu_data_release(group->iommu_data); in iommu_group_release()
726 return group->iommu_data; in iommu_group_get_iommudata()
740 void iommu_group_set_iommudata(struct iommu_group *group, void *iommu_data, in iommu_group_set_iommudata() argument
741 void (*release)(void *iommu_data)) in iommu_group_set_iommudata() argument
743 group->iommu_data = iommu_data; in iommu_group_set_iommudata()
Dapple-dart.c652 static void apple_dart_release_group(void *iommu_data) in apple_dart_release_group() argument
656 struct apple_dart_master_cfg *group_master_cfg = iommu_data; in apple_dart_release_group()
664 kfree(iommu_data); in apple_dart_release_group()
Dtegra-smmu.c882 static void tegra_smmu_group_release(void *iommu_data) in tegra_smmu_group_release() argument
884 struct tegra_smmu_group *group = iommu_data; in tegra_smmu_group_release()
/linux-5.19.10/arch/powerpc/kernel/
Diommu.c980 static void group_release(void *iommu_data) in group_release() argument
982 struct iommu_table_group *table_group = iommu_data; in group_release()