Searched refs:mlx5vf_pci_core_device (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/vfio/pci/mlx5/ |
H A D | cmd.h | 102 struct mlx5vf_pci_core_device *mvdev; 159 struct mlx5vf_pci_core_device { struct 186 int mlx5vf_cmd_suspend_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod); argument 187 int mlx5vf_cmd_resume_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod); 188 int mlx5vf_cmd_query_vhca_migration_state(struct mlx5vf_pci_core_device *mvdev, 190 void mlx5vf_cmd_set_migratable(struct mlx5vf_pci_core_device *mvdev, 193 void mlx5vf_cmd_remove_migratable(struct mlx5vf_pci_core_device *mvdev); 194 void mlx5vf_cmd_close_migratable(struct mlx5vf_pci_core_device *mvdev); 195 int mlx5vf_cmd_save_vhca_state(struct mlx5vf_pci_core_device *mvdev, 199 int mlx5vf_cmd_load_vhca_state(struct mlx5vf_pci_core_device *mvdev, [all …]
|
H A D | main.c | 27 static struct mlx5vf_pci_core_device *mlx5vf_drvdata(struct pci_dev *pdev) in mlx5vf_drvdata() 31 return container_of(core_device, struct mlx5vf_pci_core_device, in mlx5vf_drvdata() 392 struct mlx5vf_pci_core_device *mvdev = migf->mvdev; in mlx5vf_precopy_ioctl() 498 static int mlx5vf_pci_save_device_inc_data(struct mlx5vf_pci_core_device *mvdev) in mlx5vf_pci_save_device_inc_data() 539 mlx5vf_pci_save_device_data(struct mlx5vf_pci_core_device *mvdev, bool track) in mlx5vf_pci_save_device_data() 949 mlx5vf_pci_resume_device_data(struct mlx5vf_pci_core_device *mvdev) in mlx5vf_pci_resume_device_data() 1010 void mlx5vf_disable_fds(struct mlx5vf_pci_core_device *mvdev) in mlx5vf_disable_fds() 1029 mlx5vf_pci_step_device_state_locked(struct mlx5vf_pci_core_device *mvdev, in mlx5vf_pci_step_device_state_locked() 1144 void mlx5vf_state_mutex_unlock(struct mlx5vf_pci_core_device *mvdev) in mlx5vf_state_mutex_unlock() 1163 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_pci_set_device_state() [all …]
|
H A D | cmd.c | 36 _mlx5vf_free_page_tracker_resources(struct mlx5vf_pci_core_device *mvdev); 38 int mlx5vf_cmd_suspend_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod) in mlx5vf_cmd_suspend_vhca() 72 int mlx5vf_cmd_resume_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod) in mlx5vf_cmd_resume_vhca() 88 int mlx5vf_cmd_query_vhca_migration_state(struct mlx5vf_pci_core_device *mvdev, in mlx5vf_cmd_query_vhca_migration_state() 145 static void set_tracker_error(struct mlx5vf_pci_core_device *mvdev) in set_tracker_error() 155 struct mlx5vf_pci_core_device *mvdev = in mlx5fv_vf_event() 156 container_of(nb, struct mlx5vf_pci_core_device, nb); in mlx5fv_vf_event() 177 void mlx5vf_cmd_close_migratable(struct mlx5vf_pci_core_device *mvdev) in mlx5vf_cmd_close_migratable() 190 void mlx5vf_cmd_remove_migratable(struct mlx5vf_pci_core_device *mvdev) in mlx5vf_cmd_remove_migratable() 200 void mlx5vf_cmd_set_migratable(struct mlx5vf_pci_core_device *mvdev, in mlx5vf_cmd_set_migratable() [all …]
|