/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_power.c | 87 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 D | pvr_power.h | 23 int pvr_power_reset(struct pvr_device *pvr_dev, bool hard_reset);
|
/linux/drivers/accel/habanalabs/common/ |
H A D | device.c | 1303 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 D | hw_queue.c | 1138 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 D | sysfs.c | 431 static DEVICE_ATTR_WO(hard_reset);
|
H A D | habanalabs.h | 1649 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 D | sas_init.c | 221 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 D | sas_internal.h | 34 int hard_reset; member
|
/linux/drivers/scsi/ |
H A D | BusLogic.h | 279 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 D | BusLogic.c | 1088 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 D | scsi_transport_sas.c | 602 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 D | hpsa.c | 9879 hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset) in hpsa_sas_phy_reset() argument
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_drv.c | 213 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 D | smartpqi_sas_transport.c | 428 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) in pqi_sas_phy_reset() argument
|
/linux/include/scsi/ |
H A D | libsas.h | 682 int sas_phy_reset(struct sas_phy *phy, int hard_reset);
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_transport.c | 1705 _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 D | mpi3mr_transport.c | 2927 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 D | sysfs-driver-habanalabs | 78 What: /sys/class/accel/accel<n>/device/hard_reset
|
/linux/drivers/accel/habanalabs/goya/ |
H A D | goya.c | 2456 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 D | gaudi2.c | 4830 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 D | mptsas.c | 2108 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 D | gaudi.c | 3601 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()
|