Home
last modified time | relevance | path

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

/linux/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/drivers/net/ethernet/mellanox/mlx5/core/
A Dfw.c525 struct mlxfw_dev mlxfw_dev; member
529 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query() argument
534 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_component_query()
549 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_lock()
570 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_update()
581 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_block_download()
591 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_verify()
601 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_activate()
613 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_query_state()
631 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_cancel()
[all …]
/linux/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.c1060 struct mlxfw_dev *mlxfw_dev, in mlxsw_core_fw_flash() argument
1074 struct mlxfw_dev mlxfw_dev; member
1083 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_component_query()
1102 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_lock()
1125 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_component_update()
1138 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_block_download()
1150 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_component_verify()
1162 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_activate()
1175 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_query_state()
1196 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_cancel()
[all …]
A Dcore.h59 struct mlxfw_dev *mlxfw_dev,

Completed in 23 milliseconds