Lines Matching refs:mlxfw_dev
147 struct mlxfw_dev mlxfw_dev; member
184 static int mlxsw_sp_component_query(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_component_query() argument
189 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_component_query()
207 static int mlxsw_sp_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlxsw_sp_fsm_lock() argument
210 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_lock()
231 static int mlxsw_sp_fsm_component_update(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_fsm_component_update() argument
236 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_component_update()
245 static int mlxsw_sp_fsm_block_download(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_fsm_block_download() argument
250 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_block_download()
258 static int mlxsw_sp_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_fsm_component_verify() argument
262 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_component_verify()
271 static int mlxsw_sp_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_sp_fsm_activate() argument
274 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_activate()
283 static int mlxsw_sp_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_sp_fsm_query_state() argument
288 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_query_state()
307 static void mlxsw_sp_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_sp_fsm_cancel() argument
310 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_cancel()
319 static void mlxsw_sp_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_sp_fsm_release() argument
322 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_release()
332 static void mlxsw_sp_status_notify(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_status_notify() argument
337 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_status_notify()
363 .mlxfw_dev = { in mlxsw_sp_firmware_flash()
374 err = mlxfw_firmware_flash(&mlxsw_sp_mlxfw_dev.mlxfw_dev, in mlxsw_sp_firmware_flash()