Searched refs:mlxfw_dev (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/sys/dev/mlxfw/ |
| H A D | mlxfw_fsm.c | 82 err = mlxfw_dev->ops->fsm_query_state(mlxfw_dev, fwhandle, in mlxfw_fsm_state_wait() 107 static int mlxfw_flash_component(struct mlxfw_dev *mlxfw_dev, in mlxfw_flash_component() argument 119 err = mlxfw_dev->ops->component_query(mlxfw_dev, comp->index, in mlxfw_flash_component() 136 err = mlxfw_dev->ops->fsm_component_update(mlxfw_dev, fwhandle, in mlxfw_flash_component() 154 err = mlxfw_dev->ops->fsm_block_download(mlxfw_dev, fwhandle, in mlxfw_flash_component() 173 mlxfw_dev->ops->fsm_cancel(mlxfw_dev, fwhandle); in mlxfw_flash_component() 209 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, in mlxfw_firmware_flash() argument 226 err = mlxfw_dev->ops->fsm_lock(mlxfw_dev, &fwhandle); in mlxfw_firmware_flash() 242 err = mlxfw_dev->ops->fsm_activate(mlxfw_dev, fwhandle); in mlxfw_firmware_flash() 253 mlxfw_dev->ops->fsm_release(mlxfw_dev, fwhandle); in mlxfw_firmware_flash() [all …]
|
| H A D | mlxfw.h | 66 struct mlxfw_dev; 74 int (*fsm_lock)(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle); 76 int (*fsm_component_update)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 79 int (*fsm_block_download)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 82 int (*fsm_component_verify)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 85 int (*fsm_activate)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle); 87 int (*fsm_query_state)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 91 void (*fsm_cancel)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle); 93 void (*fsm_release)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle); 96 struct mlxfw_dev { struct [all …]
|
| /freebsd-12.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_fw.c | 466 struct mlxfw_dev mlxfw_dev; member 470 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query() argument 475 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_component_query() 485 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_lock() 506 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_update() 517 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_block_download() 527 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_verify() 537 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_activate() 549 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_query_state() 567 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_cancel() [all …]
|