Searched refs:fwhandle (Results 1 – 3 of 3) sorted by relevance
| /freebsd-11-stable/sys/dev/mlxfw/ |
| HD | mlxfw_fsm.c | 72 static int mlxfw_fsm_state_wait(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxfw_fsm_state_wait() argument 82 err = mlxfw_dev->ops->fsm_query_state(mlxfw_dev, fwhandle, in mlxfw_fsm_state_wait() 108 u32 fwhandle, in mlxfw_flash_component() argument 136 err = mlxfw_dev->ops->fsm_component_update(mlxfw_dev, fwhandle, in mlxfw_flash_component() 142 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle, in mlxfw_flash_component() 154 err = mlxfw_dev->ops->fsm_block_download(mlxfw_dev, fwhandle, in mlxfw_flash_component() 162 err = mlxfw_dev->ops->fsm_component_verify(mlxfw_dev, fwhandle, in mlxfw_flash_component() 167 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle, MLXFW_FSM_STATE_LOCKED); in mlxfw_flash_component() 173 mlxfw_dev->ops->fsm_cancel(mlxfw_dev, fwhandle); in mlxfw_flash_component() 177 static int mlxfw_flash_components(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxfw_flash_components() argument [all …]
|
| HD | mlxfw.h | 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);
|
| /freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
| HD | mlx5_fw.c | 482 static int mlx5_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlx5_fsm_lock() argument 490 *fwhandle = 0; in mlx5_fsm_lock() 491 err = mlx5_reg_mcc_query(dev, fwhandle, &error_code, &control_state); in mlx5_fsm_lock() 499 0, *fwhandle, 0); in mlx5_fsm_lock() 502 static int mlx5_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_update() argument 510 component_index, fwhandle, component_size); in mlx5_fsm_component_update() 513 static int mlx5_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_block_download() argument 520 return mlx5_reg_mcda_set(dev, fwhandle, offset, size, data); in mlx5_fsm_block_download() 523 static int mlx5_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_verify() argument 531 component_index, fwhandle, 0); in mlx5_fsm_component_verify() [all …]
|