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/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 …]
|
| H A D | core.c | 1098 static int mlxsw_core_fw_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlxsw_core_fw_fsm_lock() argument 1112 mlxsw_reg_mcc_unpack(mcc_pl, fwhandle, NULL, &control_state); in mlxsw_core_fw_fsm_lock() 1116 mlxsw_reg_mcc_pack(mcc_pl, MLXSW_REG_MCC_INSTRUCTION_LOCK_UPDATE_HANDLE, 0, *fwhandle, 0); in mlxsw_core_fw_fsm_lock() 1120 static int mlxsw_core_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_component_update() argument 1129 component_index, fwhandle, component_size); in mlxsw_core_fw_fsm_component_update() 1133 static int mlxsw_core_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_block_download() argument 1141 mlxsw_reg_mcda_pack(mcda_pl, fwhandle, offset, size, data); in mlxsw_core_fw_fsm_block_download() 1145 static int mlxsw_core_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_component_verify() argument 1154 component_index, fwhandle, 0); in mlxsw_core_fw_fsm_component_verify() 1158 static int mlxsw_core_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_core_fw_fsm_activate() argument [all …]
|