/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | device.c | 1189 static void cleanup_resources(struct hl_device *hdev, bool hard_reset, bool fw_reset, in cleanup_resources() argument 1192 if (hard_reset) in cleanup_resources() 1200 hdev->asic_funcs->halt_engines(hdev, hard_reset, fw_reset); in cleanup_resources() 1495 bool hard_reset, from_hard_reset_thread, fw_reset, reset_upon_device_release, in hl_device_reset() local 1506 hard_reset = !!(flags & HL_DRV_RESET_HARD); in hl_device_reset() 1514 if (!hard_reset && (hl_device_status(hdev) == HL_DEVICE_STATUS_MALFUNCTION)) { in hl_device_reset() 1519 if (!hard_reset && !hdev->asic_prop.supports_compute_reset) { in hl_device_reset() 1521 hard_reset = true; in hl_device_reset() 1525 if (hard_reset) { in hl_device_reset() 1534 if (!hard_reset && !hdev->asic_prop.allow_inference_soft_reset) { in hl_device_reset() [all …]
|
D | hw_queue.c | 1121 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset) in hl_hw_queue_reset() argument 1129 ((!hard_reset) && (q->queue_type == QUEUE_TYPE_CPU))) in hl_hw_queue_reset()
|
D | sysfs.c | 396 static DEVICE_ATTR_WO(hard_reset);
|
D | habanalabs.h | 1581 int (*hw_fini)(struct hl_device *hdev, bool hard_reset, bool fw_reset); 1582 void (*halt_engines)(struct hl_device *hdev, bool hard_reset, bool fw_reset); 3643 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset);
|
/linux-6.6.21/drivers/scsi/libsas/ |
D | sas_init.c | 221 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) in transport_sas_phy_reset() argument 225 if (hard_reset) in transport_sas_phy_reset() 237 if (!hard_reset && sas_try_ata_reset(asd_phy) == 0) in transport_sas_phy_reset() 245 if (ata_dev && !hard_reset) { in transport_sas_phy_reset() 288 int sas_phy_reset(struct sas_phy *phy, int hard_reset) in sas_phy_reset() argument 296 if (hard_reset) in sas_phy_reset() 495 d->reset_result = transport_sas_phy_reset(d->phy, d->hard_reset); in phy_reset_work() 521 static int queue_phy_reset(struct sas_phy *phy, int hard_reset) in queue_phy_reset() argument 535 d->hard_reset = hard_reset; in queue_phy_reset()
|
D | sas_internal.h | 34 int hard_reset; member
|
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/ |
D | orinoco.h | 63 int (*hard_reset)(struct orinoco_private *); member 185 int (*hard_reset)(struct orinoco_private *),
|
D | main.c | 1752 if (priv->hard_reset) { in orinoco_reset() 1753 err = (*priv->hard_reset)(priv); in orinoco_reset() 2157 int (*hard_reset)(struct orinoco_private *), in alloc_orinocodev() 2188 priv->hard_reset = hard_reset; in alloc_orinocodev()
|
/linux-6.6.21/drivers/scsi/ |
D | BusLogic.h | 279 bool hard_reset:1; /* Bit 7 */ member 1146 cr.cr.hard_reset = true; in blogic_hardreset() 1280 static int blogic_resetadapter(struct blogic_adapter *, bool hard_reset);
|
D | BusLogic.c | 1087 static bool blogic_hwreset(struct blogic_adapter *adapter, bool hard_reset) in blogic_hwreset() argument 1097 fpinfo->softreset = !hard_reset; in blogic_hwreset() 1113 if (hard_reset) in blogic_hwreset() 3181 static int blogic_resetadapter(struct blogic_adapter *adapter, bool hard_reset) 3190 if (!(blogic_hwreset(adapter, hard_reset) && 3211 if (hard_reset) {
|
D | scsi_transport_sas.c | 579 do_sas_phy_reset(struct device *dev, size_t count, int hard_reset) in do_sas_phy_reset() argument 586 error = i->f->phy_reset(phy, hard_reset); in do_sas_phy_reset() 607 static DEVICE_ATTR(hard_reset, S_IWUSR, NULL, store_sas_hard_reset); 1813 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
|
D | hpsa.c | 9877 hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset) in hpsa_sas_phy_reset() argument
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_drv.c | 212 MODULE_PARM_DESC(hard_reset, "PCI config reset (1 = force enable, 0 = disable (default))"); 213 module_param_named(hard_reset, radeon_hard_reset, int, 0444);
|
/linux-6.6.21/drivers/scsi/smartpqi/ |
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-6.6.21/include/scsi/ |
D | libsas.h | 685 int sas_phy_reset(struct sas_phy *phy, int hard_reset);
|
/linux-6.6.21/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 1709 _transport_phy_reset(struct sas_phy *phy, int hard_reset) in _transport_phy_reset() argument 1730 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET : in _transport_phy_reset() 1736 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
|
/linux-6.6.21/drivers/scsi/mpi3mr/ |
D | mpi3mr_transport.c | 2877 mpi3mr_transport_phy_reset(struct sas_phy *phy, int hard_reset) in mpi3mr_transport_phy_reset() argument 2894 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET : in mpi3mr_transport_phy_reset() 2903 (hard_reset ? MPI3_CTRL_ACTION_HARD_RESET : in mpi3mr_transport_phy_reset() 2911 hard_reset); in mpi3mr_transport_phy_reset()
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-driver-habanalabs | 78 What: /sys/class/habanalabs/hl<n>/hard_reset
|
/linux-6.6.21/drivers/accel/habanalabs/goya/ |
D | goya.c | 2461 static void goya_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_halt_engines() argument 2486 if (hard_reset) { in goya_halt_engines() 2789 static int goya_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_hw_fini() argument 2802 if (hard_reset) { in goya_hw_fini() 2840 if (!hard_reset && goya) { in goya_hw_fini()
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 4657 static void gaudi2_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi2_halt_engines() argument 4690 if (!hard_reset) in gaudi2_halt_engines() 4701 if (hard_reset) { in gaudi2_halt_engines() 6217 static int gaudi2_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi2_hw_fini() argument 6225 reset_sleep_ms = hard_reset ? GAUDI2_PLDM_HRESET_TIMEOUT_MSEC : in gaudi2_hw_fini() 6238 if (hard_reset) { in gaudi2_hw_fini() 6256 if (driver_performs_reset || hard_reset) { in gaudi2_hw_fini() 6299 if (hard_reset) { in gaudi2_hw_fini()
|
/linux-6.6.21/drivers/message/fusion/ |
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-6.6.21/drivers/accel/habanalabs/gaudi/ |
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()
|