Home
last modified time | relevance | path

Searched refs:mlxfw_dev (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_fsm.c37 static int mlxfw_fsm_state_err(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_state_err() argument
94 err = mlxfw_dev->ops->fsm_query_state(mlxfw_dev, fwhandle, in mlxfw_fsm_state_wait()
117 mlxfw_fsm_reactivate_err(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_reactivate_err() argument
165 static int mlxfw_fsm_reactivate(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_reactivate() argument
175 err = mlxfw_dev->ops->fsm_reactivate(mlxfw_dev, &status); in mlxfw_fsm_reactivate()
300 mlxfw_dev->ops->fsm_cancel(mlxfw_dev, fwhandle); in mlxfw_flash_component()
345 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, in mlxfw_firmware_flash() argument
371 err = mlxfw_dev->ops->fsm_lock(mlxfw_dev, &fwhandle); in mlxfw_firmware_flash()
399 err = mlxfw_dev->ops->fsm_activate(mlxfw_dev, fwhandle); in mlxfw_firmware_flash()
412 mlxfw_dev->ops->fsm_release(mlxfw_dev, fwhandle); in mlxfw_firmware_flash()
[all …]
H A Dmlxfw.h12 struct mlxfw_dev { struct
20 struct device *mlxfw_dev_dev(struct mlxfw_dev *mlxfw_dev) in mlxfw_dev_dev() argument
77 int (*fsm_lock)(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle);
82 int (*fsm_block_download)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle,
88 int (*fsm_activate)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle);
90 int (*fsm_reactivate)(struct mlxfw_dev *mlxfw_dev, u8 *status);
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);
102 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev,
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw.c538 struct mlxfw_dev mlxfw_dev; member
542 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query() argument
547 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_component_query()
562 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_lock()
583 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_update()
594 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_block_download()
604 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_verify()
614 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_activate()
626 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_query_state()
644 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_cancel()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecards.c92 struct mlxfw_dev mlxfw_dev; member
105 mlxfw_dev); in mlxsw_linecard_device_fw_component_query()
135 mlxfw_dev); in mlxsw_linecard_device_fw_fsm_lock()
173 mlxfw_dev); in mlxsw_linecard_device_fw_fsm_component_update()
195 mlxfw_dev); in mlxsw_linecard_device_fw_fsm_block_download()
215 mlxfw_dev); in mlxsw_linecard_device_fw_fsm_component_verify()
235 mlxfw_dev); in mlxsw_linecard_device_fw_fsm_activate()
258 mlxfw_dev); in mlxsw_linecard_device_fw_fsm_query_state()
288 mlxfw_dev); in mlxsw_linecard_device_fw_fsm_cancel()
308 mlxfw_dev); in mlxsw_linecard_device_fw_fsm_release()
[all …]
H A Dcore.c1059 struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_flash() argument
1073 struct mlxfw_dev mlxfw_dev; member
1082 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_component_query()
1101 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_lock()
1124 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_component_update()
1137 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_block_download()
1149 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_component_verify()
1161 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_activate()
1174 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_query_state()
1195 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_cancel()
[all …]
H A Dcore.h59 struct mlxfw_dev *mlxfw_dev,