Searched refs:mlxfw_dev (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxfw/ |
A D | mlxfw_fsm.c | 38 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 D | mlxfw.h | 12 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 D | fw.c | 511 struct mlxfw_dev mlxfw_dev; member 515 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, in mlx5_component_query() argument 520 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_component_query() 535 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_lock() 556 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_update() 567 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_block_download() 577 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_verify() 587 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_activate() 599 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_query_state() 617 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_cancel() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core.c | 933 struct mlxfw_dev mlxfw_dev; member 942 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_component_query() 961 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_lock() 984 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_component_update() 997 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_block_download() 1009 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_component_verify() 1021 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_activate() 1034 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_query_state() 1055 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_cancel() 1066 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev); in mlxsw_core_fw_fsm_release() [all …]
|
Completed in 16 milliseconds