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

/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_power.h23 int pvr_power_reset(struct pvr_device *pvr_dev, bool hard_reset);
H A Dpvr_power.c87 pvr_power_fw_disable(struct pvr_device *pvr_dev, bool hard_reset) argument
89 if (!hard_reset) {
323 * @hard_reset: %true for hard reset, %false for soft reset
325 * If @hard_reset is %false and the FW processor fails to respond during the reset process, this
335 pvr_power_reset(struct pvr_device *pvr_dev, bool hard_reset) argument
357 if (hard_reset) {
362 err = pvr_power_fw_disable(pvr_dev, hard_reset);
364 if (hard_reset) {
388 if (err && hard_reset)
391 if (err && !hard_reset) {
[all...]
/linux-master/drivers/scsi/libsas/
H A Dsas_init.c221 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) argument
225 if (hard_reset)
237 if (!hard_reset && sas_try_ata_reset(asd_phy) == 0)
245 if (ata_dev && !hard_reset) {
288 int sas_phy_reset(struct sas_phy *phy, int hard_reset) argument
296 if (hard_reset)
495 d->reset_result = transport_sas_phy_reset(d->phy, d->hard_reset);
521 static int queue_phy_reset(struct sas_phy *phy, int hard_reset) argument
535 d->hard_reset = hard_reset;
[all...]
H A Dsas_internal.h34 int hard_reset; member in struct:sas_phy_data
/linux-master/drivers/accel/habanalabs/common/
H A Ddevice.c1266 static void cleanup_resources(struct hl_device *hdev, bool hard_reset, bool fw_reset, argument
1269 if (hard_reset)
1277 hdev->asic_funcs->halt_engines(hdev, hard_reset, fw_reset);
1568 bool hard_reset, from_hard_reset_thread, fw_reset, reset_upon_device_release, local
1579 hard_reset = !!(flags & HL_DRV_RESET_HARD);
1587 if (!hard_reset && (hl_device_status(hdev) == HL_DEVICE_STATUS_MALFUNCTION)) {
1592 if (!hard_reset && !hdev->asic_prop.supports_compute_reset) {
1594 hard_reset = true;
1598 if (hard_reset) {
1607 if (!hard_reset
[all...]
H A Dsysfs.c427 static DEVICE_ATTR_WO(hard_reset);
H A Dhw_queue.c1138 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset) argument
1146 ((!hard_reset) && (q->queue_type == QUEUE_TYPE_CPU)))
H A Dhabanalabs.h1629 int (*hw_fini)(struct hl_device *hdev, bool hard_reset, bool fw_reset);
1630 void (*halt_engines)(struct hl_device *hdev, bool hard_reset, bool fw_reset);
3732 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset);
/linux-master/drivers/scsi/
H A DBusLogic.h279 bool hard_reset:1; /* Bit 7 */ member in struct:blogic_cntrl_reg::__anon69
1146 cr.cr.hard_reset = true;
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) argument
1097 fpinfo->softreset = !hard_reset;
1113 if (hard_reset)
3181 static int blogic_resetadapter(struct blogic_adapter *adapter, bool hard_reset) argument
3190 if (!(blogic_hwreset(adapter, hard_reset) &&
3211 if (hard_reset) {
H A Dscsi_transport_sas.c579 do_sas_phy_reset(struct device *dev, size_t count, int hard_reset) argument
586 error = i->f->phy_reset(phy, hard_reset);
607 static DEVICE_ATTR(hard_reset, S_IWUSR, NULL, store_sas_hard_reset);
1813 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset);
H A Dhpsa.c9877 hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset) argument
/linux-master/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);
/linux-master/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c428 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) argument
/linux-master/include/scsi/
H A Dlibsas.h682 int sas_phy_reset(struct sas_phy *phy, int hard_reset);
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c1704 * @hard_reset:
1709 _transport_phy_reset(struct sas_phy *phy, int hard_reset) argument
1730 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET :
1736 mpi_request.Operation = hard_reset ?
/linux-master/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c2877 * @hard_reset: Flag to indicate the type of reset
2882 mpi3mr_transport_phy_reset(struct sas_phy *phy, int hard_reset) argument
2899 (hard_reset == 1) ? SMP_PHY_CONTROL_HARD_RESET :
2908 (hard_reset ? MPI3_CTRL_ACTION_HARD_RESET :
2914 "sending phy reset request to sas_address(0x%016llx), phy_id(%d) hard_reset(%d)\n",
2916 hard_reset);
/linux-master/drivers/accel/habanalabs/goya/
H A Dgoya.c2459 static void goya_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
2484 if (hard_reset) {
2787 static int goya_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
2800 if (hard_reset) {
2838 if (!hard_reset && goya) {
/linux-master/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c4830 static void gaudi2_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
4863 if (!hard_reset)
4874 if (hard_reset) {
6403 static int gaudi2_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
6411 reset_sleep_ms = hard_reset ? GAUDI2_PLDM_HRESET_TIMEOUT_MSEC :
6424 if (hard_reset) {
6442 if (driver_performs_reset || hard_reset) {
6485 if (hard_reset) {
/linux-master/drivers/message/fusion/
H A Dmptsas.c2107 static int mptsas_phy_reset(struct sas_phy *phy, int hard_reset) argument
2139 req->Operation = hard_reset ?
/linux-master/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c3603 static void gaudi_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
4005 static int gaudi_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
4013 if (!hard_reset) {

Completed in 511 milliseconds