Home
last modified time | relevance | path

Searched refs:reset_rc (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/soc/aspeed/
H A Daspeed-xdma.c218 struct reset_control *reset_rc; member
882 if (ctx->reset_rc) in aspeed_xdma_kobject_release()
883 reset_control_put(ctx->reset_rc); in aspeed_xdma_kobject_release()
982 ctx->reset_rc = reset_control_get_exclusive(dev, "root-complex"); in aspeed_xdma_probe()
983 if (IS_ERR(ctx->reset_rc)) { in aspeed_xdma_probe()
985 ctx->reset_rc = NULL; in aspeed_xdma_probe()
1050 if (ctx->reset_rc) { in aspeed_xdma_probe()
1051 rc = reset_control_deassert(ctx->reset_rc); in aspeed_xdma_probe()
1112 if (ctx->reset_rc) in aspeed_xdma_probe()
1113 reset_control_assert(ctx->reset_rc); in aspeed_xdma_probe()
[all …]
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c6326 int reset_rc; in pqi_lun_reset_with_retries() local
6332 reset_rc = pqi_lun_reset(ctrl_info, device, lun); in pqi_lun_reset_with_retries()
6333 …if (reset_rc == 0 || reset_rc == -ENODEV || reset_rc == -ENXIO || ++retries > PQI_LUN_RESET_RETRIE… in pqi_lun_reset_with_retries()
6338 timeout_msecs = reset_rc ? PQI_LUN_RESET_FAILED_PENDING_IO_TIMEOUT_MSECS : in pqi_lun_reset_with_retries()
6342 if (wait_rc && reset_rc == 0) in pqi_lun_reset_with_retries()
6343 reset_rc = wait_rc; in pqi_lun_reset_with_retries()
6345 return reset_rc == 0 ? SUCCESS : FAILED; in pqi_lun_reset_with_retries()
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c2938 int cancel_rc, block_rc, reset_rc = 0; in ibmvfc_eh_device_reset_handler() local
2946 reset_rc = ibmvfc_reset_device(sdev, IBMVFC_LUN_RESET, "LUN"); in ibmvfc_eh_device_reset_handler()
2950 if (!cancel_rc && !reset_rc) in ibmvfc_eh_device_reset_handler()
2997 int reset_rc = 0; in ibmvfc_eh_target_reset_handler() local
3006 reset_rc = ibmvfc_reset_device(sdev, IBMVFC_TARGET_RESET, "target"); in ibmvfc_eh_target_reset_handler()
3010 if (!cancel_rc && !reset_rc) in ibmvfc_eh_target_reset_handler()