Home
last modified time | relevance | path

Searched refs:hard_reset (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Ddevice.c1189 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 in hl_device_reset()
[all...]
H A Dhw_queue.c1121 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()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A 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()
448 d->reset_result = transport_sas_phy_reset(d->phy, d->hard_reset); in phy_reset_work()
474 static int queue_phy_reset(struct sas_phy *phy, int hard_reset) in queue_phy_reset() argument
487 d->hard_reset = hard_reset; in queue_phy_reset()
[all...]
H A Dsas_internal.h33 int hard_reset; member
/kernel/linux/linux-6.6/drivers/scsi/libsas/
H A Dsas_init.c221 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()
[all...]
H A Dsas_internal.h34 int hard_reset; member
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Ddevice.c834 * @hard_reset: should we do hard reset to all engines or just reset the
848 int hl_device_reset(struct hl_device *hdev, bool hard_reset, in hl_device_reset() argument
859 if ((!hard_reset) && (!hdev->supports_soft_reset)) { in hl_device_reset()
861 hard_reset = true; in hl_device_reset()
875 if (hard_reset) { in hl_device_reset()
908 if ((hard_reset) && (!from_hard_reset_thread)) { in hl_device_reset()
933 if (hard_reset) { in hl_device_reset()
949 hdev->asic_funcs->halt_engines(hdev, hard_reset); in hl_device_reset()
954 if (hard_reset) { in hl_device_reset()
973 hdev->asic_funcs->hw_fini(hdev, hard_reset); in hl_device_reset()
[all...]
H A Dhabanalabs.h726 void (*hw_fini)(struct hl_device *hdev, bool hard_reset);
727 void (*halt_engines)(struct hl_device *hdev, bool hard_reset);
1810 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset);
1844 int hl_device_reset(struct hl_device *hdev, bool hard_reset,
H A Dhw_queue.c901 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset) in hl_hw_queue_reset() argument
909 ((!hard_reset) && (q->queue_type == QUEUE_TYPE_CPU))) in hl_hw_queue_reset()
H A Dsysfs.c379 static DEVICE_ATTR_WO(hard_reset);
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
H A Dorinoco.h63 int (*hard_reset)(struct orinoco_private *); member
185 int (*hard_reset)(struct orinoco_private *),
H A 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()
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
H A Dorinoco.h63 int (*hard_reset)(struct orinoco_private *); member
185 int (*hard_reset)(struct orinoco_private *),
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/
H A DBusLogic.h287 bool hard_reset:1; /* Bit 7 */ member
1157 cr.cr.hard_reset = true; in blogic_hardreset()
1291 static int blogic_resetadapter(struct blogic_adapter *, bool hard_reset);
H A DBusLogic.c1188 and waits for Host Adapter Diagnostics to complete. If hard_reset is true, a
1194 static bool blogic_hwreset(struct blogic_adapter *adapter, bool hard_reset) in blogic_hwreset() argument
1204 fpinfo->softreset = !hard_reset; in blogic_hwreset()
1220 if (hard_reset) in blogic_hwreset()
3325 static int blogic_resetadapter(struct blogic_adapter *adapter, bool hard_reset) in blogic_resetadapter() argument
3334 if (!(blogic_hwreset(adapter, hard_reset) && in blogic_resetadapter()
3355 if (hard_reset) { in blogic_resetadapter()
H A 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);
1807 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
/kernel/linux/linux-6.6/drivers/scsi/
H A 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);
H A DBusLogic.c1081 and waits for Host Adapter Diagnostics to complete. If hard_reset is true, a
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) in blogic_resetadapter() argument
3190 if (!(blogic_hwreset(adapter, hard_reset) && in blogic_resetadapter()
3211 if (hard_reset) { in blogic_resetadapter()
H A Dscsi_transport_sas.c579 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_drv.c266 MODULE_PARM_DESC(hard_reset, "PCI config reset (1 = force enable, 0 = disable (default))");
267 module_param_named(hard_reset, radeon_hard_reset, int, 0444);
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_drv.c212 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);
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c418 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) in pqi_sas_phy_reset() argument
/kernel/linux/linux-5.10/include/scsi/
H A Dlibsas.h666 int sas_phy_reset(struct sas_phy *phy, int hard_reset);
/kernel/linux/linux-6.6/include/scsi/
H A Dlibsas.h685 int sas_phy_reset(struct sas_phy *phy, int hard_reset);

Completed in 44 milliseconds

12