Lines Matching +full:0 +full:x10153180
375 int busy = 0; in mmci_card_busy()
446 host->cclk = 0; in mmci_set_clkreg()
530 return 0; in mmci_validate_data()
540 return 0; in mmci_validate_data()
548 return 0; in mmci_prep_data()
553 data->host_cookie = ++host->next_cookie < 0 ? in mmci_prep_data()
565 data->host_cookie = 0; in mmci_unprep_data()
610 return 0; in mmci_dma_start()
634 writel(0, host->base + MMCICOMMAND); in mmci_request_end()
666 mmci_write_datactrlreg(host, 0); in mmci_stop_data()
667 mmci_set_mask1(host, 0); in mmci_stop_data()
701 host->busy_status = 0; in ux500_busy_clear_mask_done()
753 * is still busy this will result in assigning 0 to in ux500_busy_complete()
915 return 0; in mmci_dmae_setup()
959 host->data->host_cookie = 0; in mmci_dmae_error()
974 for (i = 0; ; i++) { in mmci_dmae_finalize()
1062 if (nr_sg == 0) in _mmci_dmae_prep_data()
1077 return 0; in _mmci_dmae_prep_data()
1099 return 0; in mmci_dmae_prep_data()
1113 if (ret < 0) { in mmci_dmae_start()
1121 return 0; in mmci_dmae_start()
1248 data->bytes_xfered = 0; in mmci_start_data()
1260 datactrl |= host->data->flags & MMC_DATA_READ ? MCI_DPSM_DIRECTION : 0; in mmci_start_data()
1331 writel(0, base + MMCICOMMAND); in mmci_start_command()
1349 host->busy_status = 0; in mmci_start_command()
1369 if (/*interrupt*/0) in mmci_start_command()
1383 host->stop_abort.error = 0; in mmci_stop_command()
1384 mmci_start_command(host, &host->stop_abort, 0); in mmci_stop_command()
1419 success = 0; in mmci_data_irq()
1422 dev_dbg(mmc_dev(host->mmc), "MCI ERROR IRQ, status 0x%08x at 0x%08x\n", in mmci_data_irq()
1438 success = 0; in mmci_data_irq()
1464 mmci_start_command(host, data->stop, 0); in mmci_data_irq()
1515 cmd->resp[0] = readl(base + MMCIRESPONSE0); in mmci_cmd_irq()
1537 mmci_start_command(host, host->mrq->cmd, 0); in mmci_cmd_irq()
1608 return 0; in mmci_qcom_get_rx_fifocnt()
1624 if (count <= 0) in mmci_pio_read()
1633 if (unlikely(count & 0x3)) { in mmci_pio_read()
1640 count &= ~0x3; in mmci_pio_read()
1650 if (remain == 0) in mmci_pio_read()
1685 if (remain == 0) in mmci_pio_write()
1729 len = 0; in mmci_pio_irq()
1761 if (host->size == 0) { in mmci_pio_irq()
1762 mmci_set_mask1(host, 0); in mmci_pio_irq()
1783 mmci_write_sdio_irq_bit(host, 0); in mmci_signal_sdio_irq()
1904 mmci_start_command(host, mrq->sbc, 0); in mmci_request()
1906 mmci_start_command(host, mrq->cmd, 0); in mmci_request()
1914 u32 max_busy_timeout = 0; in mmci_set_max_busy_timeout()
1930 u32 pwr = 0; in mmci_set_ios()
1937 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in mmci_set_ios()
1960 if (ret < 0) in mmci_set_ios()
2002 * If clock = 0 and the variant requires the MMCIPOWER to be used for in mmci_set_ios()
2011 if (ret < 0) in mmci_set_ios()
2063 ret = 0; in mmci_sig_volt_switch()
2065 if (ret < 0) in mmci_sig_volt_switch()
2143 gpiod_set_value(ck_gpio, 0); in mmci_probe_level_translator()
2201 return 0; in mmci_of_parse()
2262 dev_dbg(mmc_dev(mmc), "designer ID = 0x%02x\n", host->hw_designer); in mmci_probe()
2263 dev_dbg(mmc_dev(mmc), "revision = 0x%01x\n", host->hw_revision); in mmci_probe()
2290 if (ret < 0) in mmci_probe()
2391 host->stop_abort.arg = 0; in mmci_probe()
2428 writel(0, host->base + MMCIMASK0); in mmci_probe()
2431 writel(0, host->base + MMCIMASK1); in mmci_probe()
2433 writel(0xfff, host->base + MMCICLEAR); in mmci_probe()
2443 ret = mmc_gpiod_request_cd(mmc, "cd", 0, false, 0); in mmci_probe()
2447 ret = mmc_gpiod_request_ro(mmc, "wp", 0, 0); in mmci_probe()
2452 ret = devm_request_threaded_irq(&dev->dev, dev->irq[0], mmci_irq, in mmci_probe()
2475 dev_info(&dev->dev, "%s: PL%03x manf %x rev%u at 0x%08llx irq %d,%d (pio)\n", in mmci_probe()
2478 dev->irq[0], dev->irq[1]); in mmci_probe()
2490 return 0; in mmci_probe()
2515 writel(0, host->base + MMCIMASK0); in mmci_remove()
2518 writel(0, host->base + MMCIMASK1); in mmci_remove()
2520 writel(0, host->base + MMCICOMMAND); in mmci_remove()
2521 writel(0, host->base + MMCIDATACTRL); in mmci_remove()
2536 writel(0, host->base + MMCIMASK0); in mmci_save()
2538 writel(0, host->base + MMCIDATACTRL); in mmci_save()
2539 writel(0, host->base + MMCIPOWER); in mmci_save()
2540 writel(0, host->base + MMCICLOCK); in mmci_save()
2577 return 0; in mmci_runtime_suspend()
2592 return 0; in mmci_runtime_resume()
2604 .id = 0x00041180,
2605 .mask = 0xff0fffff,
2609 .id = 0x01041180,
2610 .mask = 0xff0fffff,
2614 .id = 0x02041180,
2615 .mask = 0xff0fffff,
2619 .id = 0x00041181,
2620 .mask = 0x000fffff,
2625 .id = 0x00180180,
2626 .mask = 0x00ffffff,
2630 .id = 0x10180180,
2631 .mask = 0xf0ffffff,
2635 .id = 0x00280180,
2636 .mask = 0x00ffffff,
2640 .id = 0x00480180,
2641 .mask = 0xf0ffffff,
2645 .id = 0x10480180,
2646 .mask = 0xf0ffffff,
2650 .id = 0x00880180,
2651 .mask = 0x00ffffff,
2655 .id = 0x10153180,
2656 .mask = 0xf0ffffff,
2660 .id = 0x00253180,
2661 .mask = 0xf0ffffff,
2665 .id = 0x20253180,
2666 .mask = 0xf0ffffff,
2670 .id = 0x00353180,
2671 .mask = 0xf0ffffff,
2676 .id = 0x00051180,
2677 .mask = 0x000fffff,
2680 { 0, 0 },