Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/
H A Ddevice.c1192 if (hard_reset) in cleanup_resources()
1525 if (hard_reset) { in hl_device_reset()
1602 if (hard_reset) in hl_device_reset()
1629 if (hard_reset) { in hl_device_reset()
1664 if (hard_reset) { in hl_device_reset()
1695 if (hard_reset) { in hl_device_reset()
1756 if (hard_reset) { in hl_device_reset()
1783 if (hard_reset) { in hl_device_reset()
1832 if (hard_reset) in hl_device_reset()
1841 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()
H A Dsysfs.c396 static DEVICE_ATTR_WO(hard_reset);
H A Dhabanalabs.h1581 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);
/openbmc/linux/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()
H A Dsas_internal.h34 int hard_reset; member
/openbmc/linux/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()
/openbmc/linux/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.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()
3181 static int blogic_resetadapter(struct blogic_adapter *adapter, bool hard_reset)
3190 if (!(blogic_hwreset(adapter, hard_reset) &&
3211 if (hard_reset) {
H A Dscsi_transport_sas.c602 do_sas_phy_reset(struct device *dev, size_t count, int hard_reset) in do_sas_phy_reset() argument
609 error = i->f->phy_reset(phy, hard_reset); in do_sas_phy_reset()
630 static DEVICE_ATTR(hard_reset, S_IWUSR, NULL, store_sas_hard_reset);
1836 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
H A Dhpsa.c9877 hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset) in hpsa_sas_phy_reset() argument
/openbmc/linux/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);
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c428 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) in pqi_sas_phy_reset() argument
/openbmc/linux/include/scsi/
H A Dlibsas.h685 int sas_phy_reset(struct sas_phy *phy, int hard_reset);
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c1709 _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()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c2877 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()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-habanalabs78 What: /sys/class/habanalabs/hl<n>/hard_reset
/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c2461 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()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c4657 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()
/openbmc/openbmc/poky/scripts/
H A Dcombo-layer601 if not conf.hard_reset:
/openbmc/linux/drivers/message/fusion/
H A 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()
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c3600 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()