Lines Matching refs:mlxfw_dev
136 struct mlxfw_dev mlxfw_dev; member
140 static int mlxsw_sp_component_query(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_component_query() argument
145 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_component_query()
163 static int mlxsw_sp_fsm_lock(struct mlxfw_dev *mlxfw_dev, u32 *fwhandle) in mlxsw_sp_fsm_lock() argument
166 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_lock()
187 static int mlxsw_sp_fsm_component_update(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_fsm_component_update() argument
192 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_component_update()
201 static int mlxsw_sp_fsm_block_download(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_fsm_block_download() argument
206 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_block_download()
214 static int mlxsw_sp_fsm_component_verify(struct mlxfw_dev *mlxfw_dev, in mlxsw_sp_fsm_component_verify() argument
218 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_component_verify()
227 static int mlxsw_sp_fsm_activate(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_sp_fsm_activate() argument
230 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_activate()
239 static int mlxsw_sp_fsm_query_state(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxsw_sp_fsm_query_state() argument
244 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_query_state()
263 static void mlxsw_sp_fsm_cancel(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_sp_fsm_cancel() argument
266 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_cancel()
275 static void mlxsw_sp_fsm_release(struct mlxfw_dev *mlxfw_dev, u32 fwhandle) in mlxsw_sp_fsm_release() argument
278 container_of(mlxfw_dev, struct mlxsw_sp_mlxfw_dev, mlxfw_dev); in mlxsw_sp_fsm_release()
304 .mlxfw_dev = { in mlxsw_sp_firmware_flash()
312 return mlxfw_firmware_flash(&mlxsw_sp_mlxfw_dev.mlxfw_dev, firmware); in mlxsw_sp_firmware_flash()