Lines Matching refs:fwhandle
541 static int mlx5_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle)
549 *fwhandle = 0;
550 err = mlx5_reg_mcc_query(dev, fwhandle, &error_code, &control_state);
558 0, *fwhandle, 0);
561 static int mlx5_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle,
569 component_index, fwhandle, component_size);
572 static int mlx5_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle,
579 return mlx5_reg_mcda_set(dev, fwhandle, offset, size, data);
582 static int mlx5_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle,
590 component_index, fwhandle, 0);
593 static int mlx5_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle)
600 fwhandle, 0);
603 static int mlx5_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle,
613 err = mlx5_reg_mcc_query(dev, &fwhandle, &error_code, &control_state);
623 static void mlx5_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle)
629 mlx5_reg_mcc_set(dev, MLX5_REG_MCC_INSTRUCTION_CANCEL, 0, fwhandle, 0);
632 static void mlx5_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle)
639 fwhandle, 0);