Lines Matching refs:ioctl

99 VFIO_GROUP_SET_CONTAINER ioctl, passing the file descriptor of the
109 device within a group using an ioctl on the VFIO group file descriptor.
177 if (ioctl(container, VFIO_GET_API_VERSION) != VFIO_API_VERSION)
180 if (!ioctl(container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU))
187 ioctl(group, VFIO_GROUP_GET_STATUS, &group_status);
193 ioctl(group, VFIO_GROUP_SET_CONTAINER, &container);
196 ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU);
199 ioctl(container, VFIO_IOMMU_GET_INFO, &iommu_info);
208 ioctl(container, VFIO_IOMMU_MAP_DMA, &dma_map);
211 device = ioctl(group, VFIO_GROUP_GET_DEVICE_FD, "0000:06:0d.0");
214 ioctl(device, VFIO_DEVICE_GET_INFO, &device_info);
221 ioctl(device, VFIO_DEVICE_GET_REGION_INFO, &reg);
232 ioctl(device, VFIO_DEVICE_GET_IRQ_INFO, &irq);
238 ioctl(device, VFIO_DEVICE_RESET);
272 long (*ioctl)(void *device_data, unsigned int cmd,
281 device (via VFIO_GROUP_GET_DEVICE_FD). The ioctl interface provides
284 own VFIO_DEVICE_GET_REGION_INFO ioctl.
316 additional ioctl commands.
337 ioctl(group, VFIO_GROUP_SET_CONTAINER, &container);
340 ioctl(container, VFIO_SET_IOMMU, VFIO_SPAPR_TCE_IOMMU)
344 ioctl(container, VFIO_IOMMU_SPAPR_TCE_GET_INFO, &spapr_iommu_info);
346 if (ioctl(container, VFIO_IOMMU_ENABLE))
358 ioctl(container, VFIO_IOMMU_MAP_DMA, &dma_map);
361 device = ioctl(group, VFIO_GROUP_GET_DEVICE_FD, "0000:06:0d.0");
366 ioctl(device, VFIO_DEVICE_RESET);
369 ioctl(container, VFIO_CHECK_EXTENSION, VFIO_EEH);
373 ioctl(container, VFIO_EEH_PE_OP, &pe_op);
382 ioctl(container, VFIO_EEH_PE_OP, &pe_op);
398 ioctl(container, VFIO_EEH_PE_OP, &pe_op);
406 ioctl(container, VFIO_EEH_PE_OP, &pe_op);
418 ioctl(container, VFIO_EEH_PE_OP, &pe_op);
426 ioctl(container, VFIO_EEH_PE_OP, &pe_op);
428 ioctl(container, VFIO_EEH_PE_OP, &pe_op);
432 ioctl(container, VFIO_EEH_PE_OP, &pe_op);