Searched refs:mlxfw_dev (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/mlxfw/ |
H A D | mlxfw_fsm.c | 80 err = mlxfw_dev->ops->fsm_query_state(mlxfw_dev, fwhandle, in mlxfw_fsm_state_wait() 105 static int mlxfw_flash_component(struct mlxfw_dev *mlxfw_dev, in mlxfw_flash_component() argument 117 err = mlxfw_dev->ops->component_query(mlxfw_dev, comp->index, in mlxfw_flash_component() 134 err = mlxfw_dev->ops->fsm_component_update(mlxfw_dev, fwhandle, in mlxfw_flash_component() 152 err = mlxfw_dev->ops->fsm_block_download(mlxfw_dev, fwhandle, in mlxfw_flash_component() 171 mlxfw_dev->ops->fsm_cancel(mlxfw_dev, fwhandle); in mlxfw_flash_component() 207 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, in mlxfw_firmware_flash() argument 224 err = mlxfw_dev->ops->fsm_lock(mlxfw_dev, &fwhandle); in mlxfw_firmware_flash() 240 err = mlxfw_dev->ops->fsm_activate(mlxfw_dev, fwhandle); in mlxfw_firmware_flash() 251 mlxfw_dev->ops->fsm_release(mlxfw_dev, fwhandle); in mlxfw_firmware_flash() [all …]
|
H A D | mlxfw.h | 64 struct mlxfw_dev; 72 int (*fsm_lock)(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle); 74 int (*fsm_component_update)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 77 int (*fsm_block_download)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 80 int (*fsm_component_verify)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 83 int (*fsm_activate)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle); 85 int (*fsm_query_state)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 89 void (*fsm_cancel)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle); 91 void (*fsm_release)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle); 94 struct mlxfw_dev { struct [all …]
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fw.c | 479 struct mlxfw_dev mlxfw_dev; member 483 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query() argument 488 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_component_query() 498 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_lock() 519 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_update() 530 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_block_download() 540 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_verify() 550 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_activate() 562 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_query_state() 580 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_cancel() [all …]
|