Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dvfio.h67 void (*release)(void *iommu_data);
68 ssize_t (*read)(void *iommu_data, char __user *buf,
70 ssize_t (*write)(void *iommu_data, const char __user *buf,
72 long (*ioctl)(void *iommu_data, unsigned int cmd,
74 int (*mmap)(void *iommu_data, struct vm_area_struct *vma);
75 int (*attach_group)(void *iommu_data,
77 void (*detach_group)(void *iommu_data,
79 int (*pin_pages)(void *iommu_data,
84 int (*unpin_pages)(void *iommu_data,
86 int (*register_notifier)(void *iommu_data,
[all …]
Diommu.h477 void *iommu_data,
478 void (*release)(void *iommu_data));
816 void *iommu_data, in iommu_group_set_iommudata() argument
817 void (*release)(void *iommu_data)) in iommu_group_set_iommudata() argument
/kernel/linux/linux-5.10/drivers/vfio/
Dvfio.c62 void *iommu_data; member
184 static void vfio_noiommu_release(void *iommu_data) in vfio_noiommu_release() argument
188 static long vfio_noiommu_ioctl(void *iommu_data, in vfio_noiommu_ioctl() argument
197 static int vfio_noiommu_attach_group(void *iommu_data, in vfio_noiommu_attach_group() argument
203 static void vfio_noiommu_detach_group(void *iommu_data, in vfio_noiommu_detach_group() argument
1063 ret = driver->ops->ioctl(container->iommu_data, in vfio_ioctl_check_extension()
1161 container->iommu_data = data; in vfio_ioctl_set_iommu()
1194 data = container->iommu_data; in vfio_fops_unl_ioctl()
1244 ret = driver->ops->read(container->iommu_data, in vfio_fops_read()
1259 ret = driver->ops->write(container->iommu_data, in vfio_fops_write()
[all …]
Dvfio_iommu_spapr_tce.c32 static void tce_iommu_detach_group(void *iommu_data,
342 static void tce_iommu_release(void *iommu_data) in tce_iommu_release() argument
344 struct tce_container *container = iommu_data; in tce_iommu_release()
352 tce_iommu_detach_group(iommu_data, tcegrp->grp); in tce_iommu_release()
776 static long tce_iommu_ioctl(void *iommu_data, in tce_iommu_ioctl() argument
779 struct tce_container *container = iommu_data; in tce_iommu_ioctl()
1240 static int tce_iommu_attach_group(void *iommu_data, in tce_iommu_attach_group() argument
1244 struct tce_container *container = iommu_data; in tce_iommu_attach_group()
1324 static void tce_iommu_detach_group(void *iommu_data, in tce_iommu_detach_group() argument
1327 struct tce_container *container = iommu_data; in tce_iommu_detach_group()
Dvfio_iommu_type1.c654 static int vfio_iommu_type1_pin_pages(void *iommu_data, in vfio_iommu_type1_pin_pages() argument
660 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_pin_pages()
760 static int vfio_iommu_type1_unpin_pages(void *iommu_data, in vfio_iommu_type1_unpin_pages() argument
764 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_unpin_pages()
2021 static int vfio_iommu_type1_attach_group(void *iommu_data, in vfio_iommu_type1_attach_group() argument
2024 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_attach_group()
2345 static void vfio_iommu_type1_detach_group(void *iommu_data, in vfio_iommu_type1_detach_group() argument
2348 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_detach_group()
2483 static void vfio_iommu_type1_release(void *iommu_data) in vfio_iommu_type1_release() argument
2485 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_release()
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/iommu/
Diommu.c41 void *iommu_data; member
42 void (*iommu_data_release)(void *iommu_data);
539 group->iommu_data_release(group->iommu_data); in iommu_group_release()
663 return group->iommu_data; in iommu_group_get_iommudata()
677 void iommu_group_set_iommudata(struct iommu_group *group, void *iommu_data, in iommu_group_set_iommudata() argument
678 void (*release)(void *iommu_data)) in iommu_group_set_iommudata() argument
680 group->iommu_data = iommu_data; in iommu_group_set_iommudata()
Dtegra-smmu.c896 static void tegra_smmu_group_release(void *iommu_data) in tegra_smmu_group_release() argument
898 struct tegra_smmu_group *group = iommu_data; in tegra_smmu_group_release()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Diommu.c925 static void group_release(void *iommu_data) in group_release() argument
927 struct iommu_table_group *table_group = iommu_data; in group_release()