Home
last modified time | relevance | path

Searched defs:mlxfw_dev (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw.h12 struct mlxfw_dev { struct
13 const struct mlxfw_dev_ops *ops; argument
20 struct device *mlxfw_dev_dev(struct mlxfw_dev *mlxfw_dev) in mlxfw_dev_dev()
27 #define mlxfw_info(mlxfw_dev, fmt, ...) \ argument
29 #define mlxfw_err(mlxfw_dev, fmt, ...) \ argument
31 #define mlxfw_dbg(mlxfw_dev, fmt, ...) \ argument
107 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, in mlxfw_firmware_flash()
H A Dmlxfw_fsm.c37 static int mlxfw_fsm_state_err(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_state_err()
83 static int mlxfw_fsm_state_wait(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxfw_fsm_state_wait()
117 mlxfw_fsm_reactivate_err(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_reactivate_err()
165 static int mlxfw_fsm_reactivate(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_reactivate()
194 static void mlxfw_status_notify(struct mlxfw_dev *mlxfw_dev, in mlxfw_status_notify()
206 static int mlxfw_flash_component(struct mlxfw_dev *mlxfw_dev, in mlxfw_flash_component()
304 static int mlxfw_flash_components(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxfw_flash_components()
345 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, in mlxfw_firmware_flash()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw.c524 struct mlxfw_dev mlxfw_dev; member
528 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query()
545 static int mlx5_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlx5_fsm_lock()
565 static int mlx5_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_update()
576 static int mlx5_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_block_download()
586 static int mlx5_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_verify()
597 static int mlx5_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_activate()
607 static int mlx5_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_query_state()
627 static void mlx5_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_cancel()
636 static void mlx5_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_release()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecards.c92 struct mlxfw_dev mlxfw_dev; member
97 static int mlxsw_linecard_device_fw_component_query(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_component_query()
130 static int mlxsw_linecard_device_fw_fsm_lock(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_fsm_lock()
166 mlxsw_linecard_device_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_fsm_component_update()
189 mlxsw_linecard_device_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_fsm_block_download()
210 mlxsw_linecard_device_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_fsm_component_verify()
230 static int mlxsw_linecard_device_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_fsm_activate()
251 mlxsw_linecard_device_fw_fsm_query_state(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_fsm_query_state()
283 static void mlxsw_linecard_device_fw_fsm_cancel(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_fsm_cancel()
303 static void mlxsw_linecard_device_fw_fsm_release(struct mlxfw_dev *mlxfw_dev, in mlxsw_linecard_device_fw_fsm_release()
H A Dcore.c1046 struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_flash()
1060 struct mlxfw_dev mlxfw_dev; member
1064 static int mlxsw_core_fw_component_query(struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_component_query()
1085 static int mlxsw_core_fw_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlxsw_core_fw_fsm_lock()
1107 static int mlxsw_core_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_component_update()
1120 static int mlxsw_core_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_block_download()
1132 static int mlxsw_core_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_component_verify()
1145 static int mlxsw_core_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_core_fw_fsm_activate()
1156 static int mlxsw_core_fw_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_query_state()
1179 static void mlxsw_core_fw_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_core_fw_fsm_cancel()
[all …]