Home
last modified time | relevance | path

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

/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.c38 static int mlxfw_fsm_state_err(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_state_err()
84 static int mlxfw_fsm_state_wait(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxfw_fsm_state_wait()
118 mlxfw_fsm_reactivate_err(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_reactivate_err()
166 static int mlxfw_fsm_reactivate(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_reactivate()
195 static void mlxfw_status_notify(struct mlxfw_dev *mlxfw_dev, in mlxfw_status_notify()
207 static int mlxfw_flash_component(struct mlxfw_dev *mlxfw_dev, in mlxfw_flash_component()
306 static int mlxfw_flash_components(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxfw_flash_components()
347 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, in mlxfw_firmware_flash()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw.c525 struct mlxfw_dev mlxfw_dev; member
529 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query()
546 static int mlx5_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlx5_fsm_lock()
566 static int mlx5_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_update()
577 static int mlx5_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_block_download()
587 static int mlx5_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_verify()
598 static int mlx5_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_activate()
608 static int mlx5_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_query_state()
628 static void mlx5_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_cancel()
637 static void mlx5_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_release()
[all …]
/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.c1060 struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_flash()
1074 struct mlxfw_dev mlxfw_dev; member
1078 static int mlxsw_core_fw_component_query(struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_component_query()
1099 static int mlxsw_core_fw_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlxsw_core_fw_fsm_lock()
1121 static int mlxsw_core_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_component_update()
1134 static int mlxsw_core_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_block_download()
1146 static int mlxsw_core_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_component_verify()
1159 static int mlxsw_core_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_core_fw_fsm_activate()
1170 static int mlxsw_core_fw_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_query_state()
1193 static void mlxsw_core_fw_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_core_fw_fsm_cancel()
[all …]