Lines Matching refs:ret
501 int ret = 0; in atmci_regs_show() local
572 return ret; in atmci_regs_show()
2312 int ret; in atmci_init_slot() local
2316 ret = request_irq(gpio_to_irq(slot->detect_pin), in atmci_init_slot()
2320 if (ret) { in atmci_init_slot()
2456 int ret, i; in atmci_probe() local
2490 ret = clk_prepare_enable(host->mck); in atmci_probe()
2491 if (ret) in atmci_probe()
2492 return ret; in atmci_probe()
2501 ret = request_irq(irq, atmci_interrupt, 0, dev_name(&pdev->dev), host); in atmci_probe()
2502 if (ret) { in atmci_probe()
2504 return ret; in atmci_probe()
2509 ret = atmci_configure_dma(host); in atmci_probe()
2510 if (ret == -EPROBE_DEFER) in atmci_probe()
2512 if (ret == 0) { in atmci_probe()
2540 ret = -ENODEV; in atmci_probe()
2542 ret = atmci_init_slot(host, &pdata->slot[0], in atmci_probe()
2544 if (!ret) { in atmci_probe()
2550 ret = atmci_init_slot(host, &pdata->slot[1], in atmci_probe()
2552 if (!ret) { in atmci_probe()
2570 ret = -ENOMEM; in atmci_probe()
2601 return ret; in atmci_probe()