Searched refs:fwhandle (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw.h77 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);
H A Dmlxfw_fsm.c84 static int mlxfw_fsm_state_wait(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, argument
95 err = mlxfw_dev->ops->fsm_query_state(mlxfw_dev, fwhandle,
208 u32 fwhandle,
244 err = mlxfw_dev->ops->fsm_component_update(mlxfw_dev, fwhandle,
258 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle,
272 err = mlxfw_dev->ops->fsm_block_download(mlxfw_dev, fwhandle,
287 err = mlxfw_dev->ops->fsm_component_verify(mlxfw_dev, fwhandle,
295 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle,
302 mlxfw_dev->ops->fsm_cancel(mlxfw_dev, fwhandle);
306 static int mlxfw_flash_components(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, argument
207 mlxfw_flash_component(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, struct mlxfw_mfa2_component *comp, bool reactivate_supp, struct netlink_ext_ack *extack) argument
353 u32 fwhandle; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw.c541 static int mlx5_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) argument
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, argument
569 component_index, fwhandle, component_size);
572 static int mlx5_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, argument
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, argument
590 component_index, fwhandle,
593 mlx5_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
603 mlx5_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, enum mlxfw_fsm_state *fsm_state, enum mlxfw_fsm_state_err *fsm_state_err) argument
623 mlx5_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
632 mlx5_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecards.c131 u32 *fwhandle)
152 mlxsw_reg_mcc_unpack(mcc_pl, fwhandle, NULL, &control_state);
161 0, *fwhandle, 0);
167 u32 fwhandle,
184 component_index, fwhandle, component_size);
190 u32 fwhandle, u8 *data,
205 mlxsw_reg_mcda_pack(mcda_pl, fwhandle, offset, size, data);
211 u32 fwhandle, u16 component_index)
226 component_index, fwhandle, 0);
231 u32 fwhandle)
130 mlxsw_linecard_device_fw_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) argument
166 mlxsw_linecard_device_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u16 component_index, u32 component_size) argument
189 mlxsw_linecard_device_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u8 *data, u16 size, u32 offset) argument
210 mlxsw_linecard_device_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u16 component_index) argument
230 mlxsw_linecard_device_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
251 mlxsw_linecard_device_fw_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, enum mlxfw_fsm_state *fsm_state, enum mlxfw_fsm_state_err *fsm_state_err) argument
283 mlxsw_linecard_device_fw_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
303 mlxsw_linecard_device_fw_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
[all...]
H A Dcore.c1099 static int mlxsw_core_fw_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) argument
1113 mlxsw_reg_mcc_unpack(mcc_pl, fwhandle, NULL, &control_state);
1117 mlxsw_reg_mcc_pack(mcc_pl, MLXSW_REG_MCC_INSTRUCTION_LOCK_UPDATE_HANDLE, 0, *fwhandle, 0);
1121 static int mlxsw_core_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, argument
1130 component_index, fwhandle, component_size);
1134 static int mlxsw_core_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, argument
1142 mlxsw_reg_mcda_pack(mcda_pl, fwhandle, offset, size, data);
1146 static int mlxsw_core_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, argument
1155 component_index, fwhandle, 0);
1159 static int mlxsw_core_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
1170 mlxsw_core_fw_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, enum mlxfw_fsm_state *fsm_state, enum mlxfw_fsm_state_err *fsm_state_err) argument
1193 mlxsw_core_fw_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
1204 mlxsw_core_fw_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
[all...]

Completed in 540 milliseconds