Home
last modified time | relevance | path

Searched refs:driver_performs_reset (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c6157 static int gaudi2_execute_soft_reset(struct hl_device *hdev, bool driver_performs_reset, in gaudi2_execute_soft_reset() argument
6163 if (!driver_performs_reset) { in gaudi2_execute_soft_reset()
6221 bool driver_performs_reset = false; in gaudi2_hw_fini() local
6239 driver_performs_reset = !hdev->asic_prop.hard_reset_done_by_fw; in gaudi2_hw_fini()
6248 driver_performs_reset = (hdev->fw_components == FW_TYPE_PREBOOT_CPU && in gaudi2_hw_fini()
6250 rc = gaudi2_execute_soft_reset(hdev, driver_performs_reset, poll_timeout_us); in gaudi2_hw_fini()
6256 if (driver_performs_reset || hard_reset) { in gaudi2_hw_fini()
/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi.c4008 bool driver_performs_reset; in gaudi_hw_fini() local
4031 driver_performs_reset = !!(!hdev->asic_prop.fw_security_enabled && in gaudi_hw_fini()
4037 if (driver_performs_reset) in gaudi_hw_fini()
4077 if (driver_performs_reset) { in gaudi_hw_fini()