Lines Matching refs:ret
322 int ret;
332 ret = hisi_sfc_v3xx_start_bus(host, op, chip_select);
333 if (ret)
334 return ret;
337 ret = wait_for_completion_timeout(host->completion,
339 if (!ret)
340 ret = -ETIMEDOUT;
342 ret = 0;
348 ret = hisi_sfc_v3xx_wait_cmd_idle(host);
350 if (hisi_sfc_v3xx_handle_completion(host) || ret)
437 int ret;
455 ret = PTR_ERR(host->regbase);
461 ret = -EPROBE_DEFER;
468 ret = devm_request_irq(dev, host->irq, hisi_sfc_v3xx_isr, 0,
471 if (ret) {
472 dev_err(dev, "failed to request irq%d, ret = %d\n", host->irq, ret);
502 ret = devm_spi_register_controller(dev, ctlr);
503 if (ret)
513 return ret;