Home
last modified time | relevance | path

Searched refs:hard_reset (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/drivers/misc/habanalabs/common/
Ddevice.c711 static void cleanup_resources(struct hl_device *hdev, bool hard_reset, bool fw_reset) in cleanup_resources() argument
713 if (hard_reset) in cleanup_resources()
721 hdev->asic_funcs->halt_engines(hdev, hard_reset, fw_reset); in cleanup_resources()
931 bool hard_reset, from_hard_reset_thread, fw_reset, hard_instead_soft = false; in hl_device_reset() local
940 hard_reset = !!(flags & HL_RESET_HARD); in hl_device_reset()
944 if (!hard_reset && !hdev->supports_soft_reset) { in hl_device_reset()
946 hard_reset = true; in hl_device_reset()
953 hard_reset ? "hard" : "soft"); in hl_device_reset()
957 if (!hard_reset && !hdev->allow_external_soft_reset) { in hl_device_reset()
959 hard_reset = true; in hl_device_reset()
[all …]
Dhw_queue.c1123 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset) in hl_hw_queue_reset() argument
1131 ((!hard_reset) && (q->queue_type == QUEUE_TYPE_CPU))) in hl_hw_queue_reset()
Dsysfs.c390 static DEVICE_ATTR_WO(hard_reset);
Dhabanalabs.h1178 void (*hw_fini)(struct hl_device *hdev, bool hard_reset, bool fw_reset);
1179 void (*halt_engines)(struct hl_device *hdev, bool hard_reset, bool fw_reset);
2747 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset);
/Linux-v5.15/drivers/scsi/libsas/
Dsas_init.c222 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()
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()
449 d->reset_result = transport_sas_phy_reset(d->phy, d->hard_reset); in phy_reset_work()
475 static int queue_phy_reset(struct sas_phy *phy, int hard_reset) in queue_phy_reset() argument
488 d->hard_reset = hard_reset; in queue_phy_reset()
Dsas_internal.h33 int hard_reset; member
/Linux-v5.15/drivers/net/wireless/intersil/orinoco/
Dorinoco.h63 int (*hard_reset)(struct orinoco_private *); member
185 int (*hard_reset)(struct orinoco_private *),
Dmain.c1752 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-v5.15/drivers/scsi/
DBusLogic.h279 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);
DBusLogic.c1087 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()
3173 static int blogic_resetadapter(struct blogic_adapter *adapter, bool hard_reset)
3182 if (!(blogic_hwreset(adapter, hard_reset) &&
3203 if (hard_reset) {
Dscsi_transport_sas.c573 do_sas_phy_reset(struct device *dev, size_t count, int hard_reset) in do_sas_phy_reset() argument
580 error = i->f->phy_reset(phy, hard_reset); in do_sas_phy_reset()
601 static DEVICE_ATTR(hard_reset, S_IWUSR, NULL, store_sas_hard_reset);
1802 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
Dhpsa.c9883 hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset) in hpsa_sas_phy_reset() argument
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_drv.c243 MODULE_PARM_DESC(hard_reset, "PCI config reset (1 = force enable, 0 = disable (default))");
244 module_param_named(hard_reset, radeon_hard_reset, int, 0444);
/Linux-v5.15/include/scsi/
Dlibsas.h666 int sas_phy_reset(struct sas_phy *phy, int hard_reset);
/Linux-v5.15/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c428 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) in pqi_sas_phy_reset() argument
/Linux-v5.15/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1697 _transport_phy_reset(struct sas_phy *phy, int hard_reset) in _transport_phy_reset() argument
1718 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET : in _transport_phy_reset()
1724 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-driver-habanalabs72 What: /sys/class/habanalabs/hl<n>/hard_reset
/Linux-v5.15/drivers/misc/habanalabs/goya/
Dgoya.c2383 static void goya_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_halt_engines() argument
2411 if (hard_reset) { in goya_halt_engines()
2706 static void goya_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_hw_fini() argument
2719 if (hard_reset) { in goya_hw_fini()
2757 if (!hard_reset && goya) { in goya_hw_fini()
/Linux-v5.15/drivers/message/fusion/
Dmptsas.c2107 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-v5.15/drivers/misc/habanalabs/gaudi/
Dgaudi.c3839 static void gaudi_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi_halt_engines() argument
4247 static void gaudi_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi_hw_fini() argument
4255 if (!hard_reset) { in gaudi_hw_fini()