Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/imagination/
H A Dpvr_power.c87 pvr_power_fw_disable(struct pvr_device *pvr_dev, bool hard_reset) in pvr_power_fw_disable() argument
89 if (!hard_reset) { in pvr_power_fw_disable()
335 pvr_power_reset(struct pvr_device *pvr_dev, bool hard_reset) in pvr_power_reset() argument
357 if (hard_reset) { in pvr_power_reset()
362 err = pvr_power_fw_disable(pvr_dev, hard_reset); in pvr_power_reset()
364 if (hard_reset) { in pvr_power_reset()
388 if (err && hard_reset) in pvr_power_reset()
391 if (err && !hard_reset) { in pvr_power_reset()
393 hard_reset = true; in pvr_power_reset()
H A Dpvr_power.h23 int pvr_power_reset(struct pvr_device *pvr_dev, bool hard_reset);
/linux/drivers/accel/habanalabs/common/
H A Ddevice.c1303 static void cleanup_resources(struct hl_device *hdev, bool hard_reset, bool fw_reset, in cleanup_resources() argument
1306 if (hard_reset) { in cleanup_resources()
1318 hdev->asic_funcs->halt_engines(hdev, hard_reset, fw_reset); in cleanup_resources()
1633 bool hard_reset, from_hard_reset_thread, fw_reset, reset_upon_device_release, in hl_device_reset() local
1644 hard_reset = !!(flags & HL_DRV_RESET_HARD); in hl_device_reset()
1652 if (!hard_reset && (hl_device_status(hdev) == HL_DEVICE_STATUS_MALFUNCTION)) { in hl_device_reset()
1657 if (!hard_reset && !hdev->asic_prop.supports_compute_reset) { in hl_device_reset()
1659 hard_reset = true; in hl_device_reset()
1663 if (hard_reset) { in hl_device_reset()
1672 if (!hard_reset in hl_device_reset()
[all...]
H A Dhw_queue.c1138 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset) in hl_hw_queue_reset() argument
1146 ((!hard_reset) && (q->queue_type == QUEUE_TYPE_CPU))) in hl_hw_queue_reset()
H A Dsysfs.c431 static DEVICE_ATTR_WO(hard_reset);
H A Dhabanalabs.h1649 int (*hw_fini)(struct hl_device *hdev, bool hard_reset, bool fw_reset);
1650 void (*halt_engines)(struct hl_device *hdev, bool hard_reset, bool fw_reset);
3758 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset);
/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
/linux/drivers/scsi/
H A DBusLogic.h279 bool hard_reset:1; /* Bit 7 */ member
1146 cr.cr.hard_reset = true; in blogic_hardreset()
1281 static int blogic_resetadapter(struct blogic_adapter *, bool hard_reset);
H A DBusLogic.c1088 static bool blogic_hwreset(struct blogic_adapter *adapter, bool hard_reset) in blogic_hwreset() argument
1098 fpinfo->softreset = !hard_reset; in blogic_hwreset()
1114 if (hard_reset) in blogic_hwreset()
3183 static int blogic_resetadapter(struct blogic_adapter *adapter, bool hard_reset)
3192 if (!(blogic_hwreset(adapter, hard_reset) &&
3213 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);
1838 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
H A Dhpsa.c9879 hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset) in hpsa_sas_phy_reset() argument
/linux/drivers/gpu/drm/radeon/
H A Dradeon_drv.c213 MODULE_PARM_DESC(hard_reset, "PCI config reset (1 = force enable, 0 = disable (default))");
214 module_param_named(hard_reset, radeon_hard_reset, int, 0444);
/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
/linux/include/scsi/
H A Dlibsas.h682 int sas_phy_reset(struct sas_phy *phy, int hard_reset);
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c1705 _transport_phy_reset(struct sas_phy *phy, int hard_reset) in _transport_phy_reset() argument
1726 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET : in _transport_phy_reset()
1732 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c2927 mpi3mr_transport_phy_reset(struct sas_phy *phy, int hard_reset) in mpi3mr_transport_phy_reset() argument
2944 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET : in mpi3mr_transport_phy_reset()
2953 (hard_reset ? MPI3_CTRL_ACTION_HARD_RESET : in mpi3mr_transport_phy_reset()
2961 hard_reset); in mpi3mr_transport_phy_reset()
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-habanalabs78 What: /sys/class/accel/accel<n>/device/hard_reset
/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c2456 static void goya_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_halt_engines() argument
2481 if (hard_reset) { in goya_halt_engines()
2784 static int goya_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_hw_fini() argument
2797 if (hard_reset) { in goya_hw_fini()
2835 if (!hard_reset && goya) { in goya_hw_fini()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c4830 static void gaudi2_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi2_halt_engines() argument
4863 if (!hard_reset) in gaudi2_halt_engines()
4874 if (hard_reset) { in gaudi2_halt_engines()
6368 static int gaudi2_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi2_hw_fini() argument
6376 reset_sleep_ms = hard_reset ? GAUDI2_PLDM_HRESET_TIMEOUT_MSEC : in gaudi2_hw_fini()
6389 if (hard_reset) { in gaudi2_hw_fini()
6407 if (driver_performs_reset || hard_reset) { in gaudi2_hw_fini()
6450 if (hard_reset) { in gaudi2_hw_fini()
/linux/drivers/message/fusion/
H A Dmptsas.c2108 static int mptsas_phy_reset(struct sas_phy *phy, int hard_reset) in mptsas_phy_reset() argument
2140 req->Operation = hard_reset ? in mptsas_phy_reset()
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c3601 static void gaudi_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi_halt_engines() argument
4003 static int gaudi_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi_hw_fini() argument
4011 if (!hard_reset) { in gaudi_hw_fini()