Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxfw/
A Dmlxfw_fsm.c38 static int mlxfw_fsm_state_err(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_state_err() argument
95 err = mlxfw_dev->ops->fsm_query_state(mlxfw_dev, fwhandle, in mlxfw_fsm_state_wait()
118 mlxfw_fsm_reactivate_err(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_reactivate_err() argument
166 static int mlxfw_fsm_reactivate(struct mlxfw_dev *mlxfw_dev, in mlxfw_fsm_reactivate() argument
176 err = mlxfw_dev->ops->fsm_reactivate(mlxfw_dev, &status); in mlxfw_fsm_reactivate()
302 mlxfw_dev->ops->fsm_cancel(mlxfw_dev, fwhandle); in mlxfw_flash_component()
347 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, in mlxfw_firmware_flash() argument
373 err = mlxfw_dev->ops->fsm_lock(mlxfw_dev, &fwhandle); in mlxfw_firmware_flash()
401 err = mlxfw_dev->ops->fsm_activate(mlxfw_dev, fwhandle); in mlxfw_firmware_flash()
414 mlxfw_dev->ops->fsm_release(mlxfw_dev, fwhandle); in mlxfw_firmware_flash()
[all …]
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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dfw.c532 struct mlxfw_dev mlxfw_dev; member
536 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query() argument
541 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_component_query()
556 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_lock()
577 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_update()
588 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_block_download()
598 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_verify()
608 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_activate()
620 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_query_state()
638 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_cancel()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
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 …]
A Dcore.c1046 struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_flash() argument
1060 struct mlxfw_dev mlxfw_dev; member
1069 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_component_query()
1088 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_lock()
1111 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_component_update()
1124 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_block_download()
1136 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_component_verify()
1148 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_activate()
1161 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_query_state()
1182 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_cancel()
[all …]
A Dcore.h55 struct mlxfw_dev *mlxfw_dev,

Completed in 23 milliseconds