Lines Matching refs:ret
79 int ret;
81 ret = mmc_regulator_get_supply(mmc);
82 if (ret < 0)
83 return ret;
167 int ret;
199 ret = dmaengine_slave_config(chan, &config);
200 if (ret < 0) {
481 int ret;
485 ret = pxamci_set_power(host, ios->power_mode, ios->vdd);
486 if (ret) {
583 int ret;
592 ret = mmc_of_parse(mmc);
593 if (ret < 0)
594 return ret;
612 int ret, irq;
620 ret = -ENOMEM;
647 ret = pxamci_of_init(pdev, mmc);
648 if (ret)
658 ret = PTR_ERR(host->clk);
671 ret = pxamci_init_ocr(host);
672 if (ret < 0)
690 ret = PTR_ERR(host->base);
704 ret = devm_request_irq(dev, irq, pxamci_irq, 0,
706 if (ret)
714 ret = PTR_ERR(host->dma_chan_rx);
722 ret = PTR_ERR(host->dma_chan_tx);
732 ret = PTR_ERR(host->power);
738 ret = mmc_gpiod_request_cd(mmc, "cd", 0, false, 0);
739 if (ret && ret != -ENOENT) {
747 ret = mmc_gpiod_request_ro(mmc, "wp", 0, 0);
748 if (ret && ret != -ENOENT) {
752 if (!ret)
764 ret = mmc_add_host(mmc);
765 if (ret) {
782 return ret;