Searched refs:fwhandle (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxfw/ |
| H A D | mlxfw.h | 77 int (*fsm_lock)(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle); 79 int (*fsm_component_update)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 82 int (*fsm_block_download)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 85 int (*fsm_component_verify)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 88 int (*fsm_activate)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle); 92 int (*fsm_query_state)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, 96 void (*fsm_cancel)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle); 98 void (*fsm_release)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fw.c | 571 static int mlx5_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlx5_fsm_lock() argument 579 *fwhandle = 0; in mlx5_fsm_lock() 580 err = mlx5_reg_mcc_query(dev, fwhandle, &error_code, &control_state); in mlx5_fsm_lock() 588 0, *fwhandle, 0); in mlx5_fsm_lock() 591 static int mlx5_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_update() argument 599 component_index, fwhandle, component_size); in mlx5_fsm_component_update() 602 static int mlx5_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_block_download() argument 609 return mlx5_reg_mcda_set(dev, fwhandle, offset, size, data); in mlx5_fsm_block_download() 612 static int mlx5_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_verify() argument 620 component_index, fwhandle, 0); in mlx5_fsm_component_verify() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_linecards.c | 131 u32 *fwhandle) in mlxsw_linecard_device_fw_fsm_lock() argument 152 mlxsw_reg_mcc_unpack(mcc_pl, fwhandle, NULL, &control_state); in mlxsw_linecard_device_fw_fsm_lock() 161 0, *fwhandle, 0); in mlxsw_linecard_device_fw_fsm_lock() 167 u32 fwhandle, in mlxsw_linecard_device_fw_fsm_component_update() argument 184 component_index, fwhandle, component_size); in mlxsw_linecard_device_fw_fsm_component_update() 190 u32 fwhandle, u8 *data, in mlxsw_linecard_device_fw_fsm_block_download() argument 205 mlxsw_reg_mcda_pack(mcda_pl, fwhandle, offset, size, data); in mlxsw_linecard_device_fw_fsm_block_download() 211 u32 fwhandle, u16 component_index) in mlxsw_linecard_device_fw_fsm_component_verify() argument 226 component_index, fwhandle, 0); in mlxsw_linecard_device_fw_fsm_component_verify() 231 u32 fwhandle) in mlxsw_linecard_device_fw_fsm_activate() argument [all …]
|