Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxfw/
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()
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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c526 struct mlxfw_dev mlxfw_dev; member
530 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query()
547 static int mlx5_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlx5_fsm_lock()
567 static int mlx5_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_update()
578 static int mlx5_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_block_download()
588 static int mlx5_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_component_verify()
599 static int mlx5_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_activate()
609 static int mlx5_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlx5_fsm_query_state()
629 static void mlx5_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_cancel()
638 static void mlx5_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlx5_fsm_release()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
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()
Dcore.c974 struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_flash()
988 struct mlxfw_dev mlxfw_dev; member
992 static int mlxsw_core_fw_component_query(struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_component_query()
1013 static int mlxsw_core_fw_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlxsw_core_fw_fsm_lock()
1035 static int mlxsw_core_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_component_update()
1048 static int mlxsw_core_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_block_download()
1060 static int mlxsw_core_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_component_verify()
1073 static int mlxsw_core_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_core_fw_fsm_activate()
1084 static int mlxsw_core_fw_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_core_fw_fsm_query_state()
1107 static void mlxsw_core_fw_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_core_fw_fsm_cancel()
[all …]