• Home
  • Raw
  • Download

Lines Matching refs:fwhandle

84 static int mlxfw_fsm_state_wait(struct mlxfw_dev *mlxfw_dev, u32 fwhandle,  in mlxfw_fsm_state_wait()  argument
95 err = mlxfw_dev->ops->fsm_query_state(mlxfw_dev, fwhandle, in mlxfw_fsm_state_wait()
208 u32 fwhandle, in mlxfw_flash_component() argument
244 err = mlxfw_dev->ops->fsm_component_update(mlxfw_dev, fwhandle, in mlxfw_flash_component()
258 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle, in mlxfw_flash_component()
272 err = mlxfw_dev->ops->fsm_block_download(mlxfw_dev, fwhandle, in mlxfw_flash_component()
287 err = mlxfw_dev->ops->fsm_component_verify(mlxfw_dev, fwhandle, in mlxfw_flash_component()
295 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle, in mlxfw_flash_component()
302 mlxfw_dev->ops->fsm_cancel(mlxfw_dev, fwhandle); in mlxfw_flash_component()
306 static int mlxfw_flash_components(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, in mlxfw_flash_components() argument
338 err = mlxfw_flash_component(mlxfw_dev, fwhandle, comp, in mlxfw_flash_components()
353 u32 fwhandle; in mlxfw_firmware_flash() local
374 err = mlxfw_dev->ops->fsm_lock(mlxfw_dev, &fwhandle); in mlxfw_firmware_flash()
381 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle, in mlxfw_firmware_flash()
390 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle, in mlxfw_firmware_flash()
395 err = mlxfw_flash_components(mlxfw_dev, fwhandle, mfa2_file, in mlxfw_firmware_flash()
402 err = mlxfw_dev->ops->fsm_activate(mlxfw_dev, fwhandle); in mlxfw_firmware_flash()
409 err = mlxfw_fsm_state_wait(mlxfw_dev, fwhandle, in mlxfw_firmware_flash()
415 mlxfw_dev->ops->fsm_release(mlxfw_dev, fwhandle); in mlxfw_firmware_flash()
429 mlxfw_dev->ops->fsm_release(mlxfw_dev, fwhandle); in mlxfw_firmware_flash()