Lines Matching refs:ret
311 int ret;
321 ret = hisi_sfc_v3xx_start_bus(host, op, chip_select);
322 if (ret)
323 return ret;
326 ret = wait_for_completion_timeout(host->completion,
328 if (!ret)
329 ret = -ETIMEDOUT;
331 ret = 0;
336 ret = hisi_sfc_v3xx_wait_cmd_idle(host);
338 if (hisi_sfc_v3xx_handle_completion(host) || ret)
420 int ret;
438 ret = PTR_ERR(host->regbase);
444 ret = -EPROBE_DEFER;
451 ret = devm_request_irq(dev, host->irq, hisi_sfc_v3xx_isr, 0,
454 if (ret) {
455 dev_err(dev, "failed to request irq%d, ret = %d\n", host->irq, ret);
477 ret = devm_spi_register_controller(dev, ctlr);
478 if (ret)
488 return ret;