Lines Matching refs:mlxfw_dev
12 struct mlxfw_dev { struct
20 struct device *mlxfw_dev_dev(struct mlxfw_dev *mlxfw_dev) in mlxfw_dev_dev() argument
22 return mlxfw_dev->devlink->dev; in mlxfw_dev_dev()
27 #define mlxfw_info(mlxfw_dev, fmt, ...) \ argument
28 dev_info(mlxfw_dev_dev(mlxfw_dev), MLXFW_PRFX fmt, ## __VA_ARGS__)
29 #define mlxfw_err(mlxfw_dev, fmt, ...) \ argument
30 dev_err(mlxfw_dev_dev(mlxfw_dev), MLXFW_PRFX fmt, ## __VA_ARGS__)
31 #define mlxfw_dbg(mlxfw_dev, fmt, ...) \ argument
32 dev_dbg(mlxfw_dev_dev(mlxfw_dev), MLXFW_PRFX fmt, ## __VA_ARGS__)
73 int (*component_query)(struct mlxfw_dev *mlxfw_dev, u16 component_index,
77 int (*fsm_lock)(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle);
79 int (*fsm_component_update)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle,
82 int (*fsm_block_download)(struct mlxfw_dev *mlxfw_dev, u32 fwhandle,
85 int (*fsm_component_verify)(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,
107 int mlxfw_firmware_flash(struct mlxfw_dev *mlxfw_dev, in mlxfw_firmware_flash() argument