Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/libsas/
Dsas_init.c228 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) in transport_sas_phy_reset() argument
232 if (hard_reset) in transport_sas_phy_reset()
244 if (!hard_reset && sas_try_ata_reset(asd_phy) == 0) in transport_sas_phy_reset()
252 if (ata_dev && !hard_reset) { in transport_sas_phy_reset()
294 int sas_phy_reset(struct sas_phy *phy, int hard_reset) in sas_phy_reset() argument
302 if (hard_reset) in sas_phy_reset()
454 d->reset_result = transport_sas_phy_reset(d->phy, d->hard_reset); in phy_reset_work()
480 static int queue_phy_reset(struct sas_phy *phy, int hard_reset) in queue_phy_reset() argument
493 d->hard_reset = hard_reset; in queue_phy_reset()
Dsas_internal.h33 int hard_reset; member
/Linux-v5.10/drivers/misc/habanalabs/common/
Ddevice.c846 int hl_device_reset(struct hl_device *hdev, bool hard_reset, in hl_device_reset() argument
857 if ((!hard_reset) && (!hdev->supports_soft_reset)) { in hl_device_reset()
859 hard_reset = true; in hl_device_reset()
873 if (hard_reset) { in hl_device_reset()
906 if ((hard_reset) && (!from_hard_reset_thread)) { in hl_device_reset()
931 if (hard_reset) { in hl_device_reset()
947 hdev->asic_funcs->halt_engines(hdev, hard_reset); in hl_device_reset()
952 if (hard_reset) { in hl_device_reset()
971 hdev->asic_funcs->hw_fini(hdev, hard_reset); in hl_device_reset()
973 if (hard_reset) { in hl_device_reset()
[all …]
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,
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()
Dsysfs.c379 static DEVICE_ATTR_WO(hard_reset);
/Linux-v5.10/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.10/drivers/scsi/
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);
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);
1803 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
DBusLogic.c1194 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)
3334 if (!(blogic_hwreset(adapter, hard_reset) &&
3355 if (hard_reset) {
Dhpsa.c9859 hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset) in hpsa_sas_phy_reset() argument
/Linux-v5.10/drivers/gpu/drm/radeon/
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);
/Linux-v5.10/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c418 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) in pqi_sas_phy_reset() argument
/Linux-v5.10/include/scsi/
Dlibsas.h664 int sas_phy_reset(struct sas_phy *phy, int hard_reset);
/Linux-v5.10/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1497 _transport_phy_reset(struct sas_phy *phy, int hard_reset) in _transport_phy_reset() argument
1515 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET : in _transport_phy_reset()
1521 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-driver-habanalabs72 What: /sys/class/habanalabs/hl<n>/hard_reset
/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c2268 static void goya_halt_engines(struct hl_device *hdev, bool hard_reset) in goya_halt_engines() argument
2296 if (hard_reset) { in goya_halt_engines()
2580 static void goya_hw_fini(struct hl_device *hdev, bool hard_reset) in goya_hw_fini() argument
2593 if (hard_reset) { in goya_hw_fini()
2631 if (!hard_reset) { in goya_hw_fini()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c2650 static void gaudi_halt_engines(struct hl_device *hdev, bool hard_reset) in gaudi_halt_engines() argument
3012 static void gaudi_hw_fini(struct hl_device *hdev, bool hard_reset) in gaudi_hw_fini() argument
3017 if (!hard_reset) { in gaudi_hw_fini()
/Linux-v5.10/drivers/message/fusion/
Dmptsas.c2079 static int mptsas_phy_reset(struct sas_phy *phy, int hard_reset) in mptsas_phy_reset() argument
2111 req->Operation = hard_reset ? in mptsas_phy_reset()