Home
last modified time | relevance | path

Searched refs:dev_set (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/vfio/
H A Diommufd.c26 lockdep_assert_held(&vdev->dev_set->lock); in vfio_df_iommufd_bind()
37 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_compat_attach_ioas()
55 lockdep_assert_held(&vdev->dev_set->lock); in vfio_df_iommufd_unbind()
128 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_physical_unbind()
143 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_physical_attach_ioas()
161 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_physical_detach_ioas()
197 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_emulated_bind()
209 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_emulated_unbind()
223 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_emulated_attach_ioas()
238 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_emulated_detach_ioas()
H A Dgroup.c178 mutex_lock(&device->dev_set->lock); in vfio_df_group_open()
220 mutex_unlock(&device->dev_set->lock); in vfio_df_group_open()
230 mutex_unlock(&device->dev_set->lock); in vfio_df_group_open()
241 mutex_lock(&device->dev_set->lock); in vfio_df_group_close()
249 mutex_unlock(&device->dev_set->lock); in vfio_df_group_close()
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c178 static void vfio_pci_dev_set_try_reset(struct vfio_device_set *dev_set);
179 static int vfio_pci_dev_set_hot_reset(struct vfio_device_set *dev_set,
565 lockdep_assert_held(&vdev->vdev.dev_set->lock); in vfio_pci_core_disable()
675 vfio_pci_dev_set_try_reset(vdev->vdev.dev_set); in vfio_pci_core_disable()
800 struct vfio_device_set *dev_set = fill->vdev->dev_set; in vfio_pci_fill_devs() local
807 vdev = vfio_find_device_in_devset(dev_set, &pdev->dev); in vfio_pci_fill_devs()
1301 mutex_lock(&vdev->vdev.dev_set->lock); in vfio_pci_ioctl_get_pci_hot_reset_info()
1304 mutex_unlock(&vdev->vdev.dev_set->lock); in vfio_pci_ioctl_get_pci_hot_reset_info()
1394 ret = vfio_pci_dev_set_hot_reset(vdev->vdev.dev_set, &info, NULL); in vfio_pci_ioctl_pci_hot_reset_groups()
1430 return vfio_pci_dev_set_hot_reset(vdev->vdev.dev_set, NULL, in vfio_pci_ioctl_pci_hot_reset()
[all …]
/linux/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc_intr.c122 mutex_lock(&vdev->vdev.dev_set->lock); in vfio_fsl_mc_set_irq_trigger()
131 mutex_unlock(&vdev->vdev.dev_set->lock); in vfio_fsl_mc_set_irq_trigger()
155 mutex_unlock(&vdev->vdev.dev_set->lock); in vfio_fsl_mc_set_irq_trigger()
/linux/include/linux/
H A Dvfio.h51 struct vfio_device_set *dev_set; member
284 unsigned int vfio_device_set_open_count(struct vfio_device_set *dev_set);
286 vfio_find_device_in_devset(struct vfio_device_set *dev_set,
/linux/drivers/firmware/
H A Darm_scpi.c776 struct dev_pstate_set dev_set = { in scpi_device_set_power_state() local
781 return scpi_send_message(CMD_SET_DEVICE_PWR_STATE, &dev_set, in scpi_device_set_power_state()
782 sizeof(dev_set), &stat, sizeof(stat)); in scpi_device_set_power_state()