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

/linux-master/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw.h12 struct mlxfw_dev { struct
20 struct device *mlxfw_dev_dev(struct mlxfw_dev *mlxfw_dev) argument
22 return devlink_to_dev(mlxfw_dev->devlink);
27 #define mlxfw_info(mlxfw_dev, fmt, ...) \
28 dev_info(mlxfw_dev_dev(mlxfw_dev), MLXFW_PRFX fmt, ## __VA_ARGS__)
29 #define mlxfw_err(mlxfw_dev, fmt, ...) \
30 dev_err(mlxfw_dev_dev(mlxfw_dev), MLXFW_PRFX fmt, ## __VA_ARGS__)
31 #define mlxfw_dbg(mlxfw_dev, fmt, ...) \
32 dev_dbg(mlxfw_dev_dev(mlxfw_dev), MLXFW_PRF
107 mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, const struct firmware *firmware, struct netlink_ext_ack *extack) argument
[all...]
H A Dmlxfw_fsm.c38 static int mlxfw_fsm_state_err(struct mlxfw_dev *mlxfw_dev, argument
49 MLXFW_ERR_MSG(mlxfw_dev, extack, "general error", err);
52 MLXFW_ERR_MSG(mlxfw_dev, extack, "component hash mismatch", err);
55 MLXFW_ERR_MSG(mlxfw_dev, extack, "component not applicable", err);
58 MLXFW_ERR_MSG(mlxfw_dev, extack, "unknown key", err);
61 MLXFW_ERR_MSG(mlxfw_dev, extack, "authentication failed", err);
64 MLXFW_ERR_MSG(mlxfw_dev, extack, "component was not signed", err);
67 MLXFW_ERR_MSG(mlxfw_dev, extack, "key not applicable", err);
70 MLXFW_ERR_MSG(mlxfw_dev, extac
84 mlxfw_fsm_state_wait(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, enum mlxfw_fsm_state fsm_state, struct netlink_ext_ack *extack) argument
118 mlxfw_fsm_reactivate_err(struct mlxfw_dev *mlxfw_dev, struct netlink_ext_ack *extack, u8 err) argument
166 mlxfw_fsm_reactivate(struct mlxfw_dev *mlxfw_dev, struct netlink_ext_ack *extack, bool *supported) argument
195 mlxfw_status_notify(struct mlxfw_dev *mlxfw_dev, const char *msg, const char *comp_name, u32 done_bytes, u32 total_bytes) argument
207 mlxfw_flash_component(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, struct mlxfw_mfa2_component *comp, bool reactivate_supp, struct netlink_ext_ack *extack) argument
306 mlxfw_flash_components(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, struct mlxfw_mfa2_file *mfa2_file, bool reactivate_supp, struct netlink_ext_ack *extack) argument
347 mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, const struct firmware *firmware, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw.c520 struct mlxfw_dev mlxfw_dev; member in struct:mlx5_mlxfw_dev
524 static int mlx5_component_query(struct mlxfw_dev *mlxfw_dev, argument
529 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev);
541 static int mlx5_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) argument
544 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev);
561 mlx5_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u16 component_index, u32 component_size) argument
572 mlx5_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u8 *data, u16 size, u32 offset) argument
582 mlx5_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u16 component_index) argument
593 mlx5_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
603 mlx5_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, enum mlxfw_fsm_state *fsm_state, enum mlxfw_fsm_state_err *fsm_state_err) argument
623 mlx5_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
632 mlx5_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
642 mlx5_fsm_reactivate(struct mlxfw_dev *mlxfw_dev, u8 *status) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecards.c92 struct mlxfw_dev mlxfw_dev; member in struct:mlxsw_linecard_device_fw_info
97 static int mlxsw_linecard_device_fw_component_query(struct mlxfw_dev *mlxfw_dev, argument
104 container_of(mlxfw_dev, struct mlxsw_linecard_device_fw_info,
105 mlxfw_dev);
130 static int mlxsw_linecard_device_fw_fsm_lock(struct mlxfw_dev *mlxfw_dev, argument
134 container_of(mlxfw_dev, struct mlxsw_linecard_device_fw_info,
135 mlxfw_dev);
166 mlxsw_linecard_device_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u16 component_index, u32 component_size) argument
189 mlxsw_linecard_device_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u8 *data, u16 size, u32 offset) argument
210 mlxsw_linecard_device_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u16 component_index) argument
230 mlxsw_linecard_device_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
251 mlxsw_linecard_device_fw_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, enum mlxfw_fsm_state *fsm_state, enum mlxfw_fsm_state_err *fsm_state_err) argument
283 mlxsw_linecard_device_fw_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
303 mlxsw_linecard_device_fw_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
[all...]
H A Dcore.c1060 struct mlxfw_dev *mlxfw_dev,
1067 err = mlxfw_firmware_flash(mlxfw_dev, firmware, extack);
1074 struct mlxfw_dev mlxfw_dev; member in struct:mlxsw_core_fw_info
1078 static int mlxsw_core_fw_component_query(struct mlxfw_dev *mlxfw_dev, argument
1083 container_of(mlxfw_dev, struct mlxsw_core_fw_info, mlxfw_dev);
1099 static int mlxsw_core_fw_fsm_lock(struct mlxfw_dev *mlxfw_de argument
1059 mlxsw_core_fw_flash(struct mlxsw_core *mlxsw_core, struct mlxfw_dev *mlxfw_dev, const struct firmware *firmware, struct netlink_ext_ack *extack) argument
1121 mlxsw_core_fw_fsm_component_update(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u16 component_index, u32 component_size) argument
1134 mlxsw_core_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u8 *data, u16 size, u32 offset) argument
1146 mlxsw_core_fw_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u16 component_index) argument
1159 mlxsw_core_fw_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
1170 mlxsw_core_fw_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, enum mlxfw_fsm_state *fsm_state, enum mlxfw_fsm_state_err *fsm_state_err) argument
1193 mlxsw_core_fw_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
1204 mlxsw_core_fw_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) argument
[all...]
H A Dcore.h59 struct mlxfw_dev *mlxfw_dev,

Completed in 186 milliseconds