Lines Matching refs:ret
80 int ret;
82 ret = mmc_regulator_get_supply(mmc);
83 if (ret < 0)
84 return ret;
168 int ret;
200 ret = dmaengine_slave_config(chan, &config);
201 if (ret < 0) {
482 int ret;
486 ret = pxamci_set_power(host, ios->power_mode, ios->vdd);
487 if (ret) {
584 int ret;
593 ret = mmc_of_parse(mmc);
594 if (ret < 0)
595 return ret;
613 int ret, irq;
622 ret = -ENOMEM;
649 ret = pxamci_of_init(pdev, mmc);
650 if (ret)
660 ret = PTR_ERR(host->clk);
673 ret = pxamci_init_ocr(host);
674 if (ret < 0)
693 ret = PTR_ERR(host->base);
706 ret = devm_request_irq(dev, irq, pxamci_irq, 0,
708 if (ret)
716 ret = PTR_ERR(host->dma_chan_rx);
724 ret = PTR_ERR(host->dma_chan_tx);
734 ret = PTR_ERR(host->power);
740 ret = mmc_gpiod_request_cd(mmc, "cd", 0, false, 0);
741 if (ret && ret != -ENOENT) {
749 ret = mmc_gpiod_request_ro(mmc, "wp", 0, 0);
750 if (ret && ret != -ENOENT) {
754 if (!ret)
766 ret = mmc_add_host(mmc);
767 if (ret) {
784 return ret;