Searched refs:mig_state (Results 1 – 4 of 4) sorted by relevance
386 u32 cur = mvdev->mig_state; in mlx5vf_pci_step_device_state_locked()475 mvdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in mlx5vf_state_mutex_unlock()494 while (new_state != mvdev->mig_state) { in mlx5vf_pci_set_device_state()495 ret = vfio_mig_get_next_state(vdev, mvdev->mig_state, in mlx5vf_pci_set_device_state()504 mvdev->mig_state = next_state; in mlx5vf_pci_set_device_state()505 if (WARN_ON(res && new_state != mvdev->mig_state)) { in mlx5vf_pci_set_device_state()522 *curr_state = mvdev->mig_state; in mlx5vf_pci_get_device_state()563 mvdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in mlx5vf_pci_open_device()
105 enum vfio_device_mig_state mig_state; member
649 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in hisi_acc_vf_state_mutex_unlock()869 u32 cur = hisi_acc_vdev->mig_state; in hisi_acc_vf_set_device_state()937 while (new_state != hisi_acc_vdev->mig_state) { in hisi_acc_vfio_pci_set_device_state()939 hisi_acc_vdev->mig_state, in hisi_acc_vfio_pci_set_device_state()949 hisi_acc_vdev->mig_state = next_state; in hisi_acc_vfio_pci_set_device_state()950 if (WARN_ON(res && new_state != hisi_acc_vdev->mig_state)) { in hisi_acc_vfio_pci_set_device_state()968 *curr_state = hisi_acc_vdev->mig_state; in hisi_acc_vfio_pci_get_device_state()1196 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in hisi_acc_vfio_pci_open_device()
103 enum vfio_device_mig_state mig_state; member