Searched refs:reset_rc (Results 1 – 3 of 3) sorted by relevance
218 struct reset_control *reset_rc; member882 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 …]
6326 int reset_rc; in pqi_lun_reset_with_retries() local6332 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()
2938 int cancel_rc, block_rc, reset_rc = 0; in ibmvfc_eh_device_reset_handler() local2946 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() local3006 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()