| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_power.c | 93 pvr_power_fw_disable(struct pvr_device *pvr_dev, bool hard_reset) in pvr_power_fw_disable() argument 95 if (!hard_reset) { in pvr_power_fw_disable() 494 pvr_power_reset(struct pvr_device *pvr_dev, bool hard_reset) in pvr_power_reset() argument 516 if (hard_reset) { in pvr_power_reset() 521 err = pvr_power_fw_disable(pvr_dev, hard_reset); in pvr_power_reset() 523 if (hard_reset) { in pvr_power_reset() 547 if (err && hard_reset) in pvr_power_reset() 550 if (err && !hard_reset) { in pvr_power_reset() 552 hard_reset = true; in pvr_power_reset()
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | device.c | 1283 static void cleanup_resources(struct hl_device *hdev, bool hard_reset, bool fw_reset, in cleanup_resources() argument 1286 if (hard_reset) { in cleanup_resources() 1298 hdev->asic_funcs->halt_engines(hdev, hard_reset, fw_reset); in cleanup_resources() 1613 bool hard_reset, from_hard_reset_thread, fw_reset, reset_upon_device_release, in hl_device_reset() local 1624 hard_reset = !!(flags & HL_DRV_RESET_HARD); in hl_device_reset() 1637 if (!hard_reset && (hl_device_status(hdev) == HL_DEVICE_STATUS_MALFUNCTION)) { in hl_device_reset() 1642 if (!hard_reset && !hdev->asic_prop.supports_compute_reset) { in hl_device_reset() 1644 hard_reset = true; in hl_device_reset() 1648 if (hard_reset) { in hl_device_reset() 1657 if (!hard_reset && !hdev->asic_prop.allow_inference_soft_reset) { in hl_device_reset() [all …]
|
| H A D | hw_queue.c | 1138 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset) in hl_hw_queue_reset() argument 1146 ((!hard_reset) && (q->queue_type == QUEUE_TYPE_CPU))) in hl_hw_queue_reset()
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_init.c | 222 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) in transport_sas_phy_reset() argument 226 if (hard_reset) in transport_sas_phy_reset() 238 if (!hard_reset && sas_try_ata_reset(asd_phy) == 0) in transport_sas_phy_reset() 246 if (ata_dev && !hard_reset) { in transport_sas_phy_reset() 289 int sas_phy_reset(struct sas_phy *phy, int hard_reset) in sas_phy_reset() argument 297 if (hard_reset) in sas_phy_reset() 496 d->reset_result = transport_sas_phy_reset(d->phy, d->hard_reset); in phy_reset_work() 522 static int queue_phy_reset(struct sas_phy *phy, int hard_reset) in queue_phy_reset() argument 536 d->hard_reset = hard_reset; in queue_phy_reset()
|
| H A D | sas_internal.h | 34 int hard_reset; member
|
| /linux/drivers/scsi/ |
| H A D | BusLogic.c | 1089 static bool blogic_hwreset(struct blogic_adapter *adapter, bool hard_reset) in blogic_hwreset() argument 1099 fpinfo->softreset = !hard_reset; in blogic_hwreset() 1115 if (hard_reset) in blogic_hwreset() 3184 static int blogic_resetadapter(struct blogic_adapter *adapter, bool hard_reset) 3193 if (!(blogic_hwreset(adapter, hard_reset) && 3214 if (hard_reset) {
|
| H A D | scsi_transport_sas.c | 604 do_sas_phy_reset(struct device *dev, size_t count, int hard_reset) in do_sas_phy_reset() argument 611 error = i->f->phy_reset(phy, hard_reset); in do_sas_phy_reset() 632 static DEVICE_ATTR(hard_reset, S_IWUSR, NULL, store_sas_hard_reset); 1874 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
|
| H A D | hpsa.c | 9861 hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset) in hpsa_sas_phy_reset() argument
|
| /linux/drivers/scsi/smartpqi/ |
| H A D | smartpqi_sas_transport.c | 428 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) in pqi_sas_phy_reset() argument
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_transport.c | 1705 _transport_phy_reset(struct sas_phy *phy, int hard_reset) in _transport_phy_reset() argument 1726 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET : in _transport_phy_reset() 1732 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_transport.c | 2937 mpi3mr_transport_phy_reset(struct sas_phy *phy, int hard_reset) in mpi3mr_transport_phy_reset() argument 2954 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET : in mpi3mr_transport_phy_reset() 2963 (hard_reset ? MPI3_CTRL_ACTION_HARD_RESET : in mpi3mr_transport_phy_reset() 2971 hard_reset); in mpi3mr_transport_phy_reset()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-habanalabs | 78 What: /sys/class/accel/accel<n>/device/hard_reset
|
| /linux/drivers/accel/habanalabs/goya/ |
| H A D | goya.c | 2455 static void goya_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_halt_engines() argument 2480 if (hard_reset) { in goya_halt_engines() 2783 static int goya_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_hw_fini() argument 2796 if (hard_reset) { in goya_hw_fini() 2834 if (!hard_reset && goya) { in goya_hw_fini()
|
| /linux/drivers/accel/habanalabs/gaudi2/ |
| H A D | gaudi2.c | 5184 static void gaudi2_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi2_halt_engines() argument 5217 if (!hard_reset) in gaudi2_halt_engines() 5228 if (hard_reset) { in gaudi2_halt_engines() 6722 static int gaudi2_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi2_hw_fini() argument 6730 reset_sleep_ms = hard_reset ? GAUDI2_PLDM_HRESET_TIMEOUT_MSEC : in gaudi2_hw_fini() 6743 if (hard_reset) { in gaudi2_hw_fini() 6761 if (driver_performs_reset || hard_reset) { in gaudi2_hw_fini() 6804 if (hard_reset) { in gaudi2_hw_fini()
|
| /linux/drivers/message/fusion/ |
| H A D | mptsas.c | 2107 static int mptsas_phy_reset(struct sas_phy *phy, int hard_reset) in mptsas_phy_reset() argument 2139 req->Operation = hard_reset ? in mptsas_phy_reset()
|
| /linux/drivers/accel/habanalabs/gaudi/ |
| H A D | gaudi.c | 3600 static void gaudi_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi_halt_engines() argument 4002 static int gaudi_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi_hw_fini() argument 4010 if (!hard_reset) { in gaudi_hw_fini()
|