Lines Matching +full:0 +full:xf0ffffff
219 int busy = 0; in mmci_card_busy()
236 return 0; in mmci_validate_data()
244 return 0; in mmci_validate_data()
307 host->cclk = 0; in mmci_set_clkreg()
363 writel(0, host->base + MMCICOMMAND); in mmci_request_end()
395 mmci_write_datactrlreg(host, 0); in mmci_stop_data()
396 mmci_set_mask1(host, 0); in mmci_stop_data()
492 host->data->host_cookie = 0; in mmci_dma_data_error()
514 for (i = 0; ; i++) { in mmci_dma_finalize()
590 if (nr_sg == 0) in __mmci_dma_prep_data()
605 return 0; in __mmci_dma_prep_data()
618 return 0; in mmci_dma_prep_data()
664 return 0; in mmci_dma_start_data()
695 data->host_cookie = ++nd->cookie < 0 ? 1 : nd->cookie; in mmci_pre_request()
728 data->host_cookie = 0; in mmci_post_request()
781 data->bytes_xfered = 0; in mmci_start_data()
872 writel(0, base + MMCICOMMAND); in mmci_start_command()
882 if (/*interrupt*/0) in mmci_start_command()
928 dev_dbg(mmc_dev(host->mmc), "MCI ERROR IRQ, status 0x%08x at 0x%08x\n", in mmci_data_irq()
944 success = 0; in mmci_data_irq()
965 mmci_start_command(host, data->stop, 0); in mmci_data_irq()
1042 host->busy_status = 0; in mmci_cmd_irq()
1053 cmd->resp[0] = readl(base + MMCIRESPONSE0); in mmci_cmd_irq()
1070 mmci_start_command(host, host->mrq->cmd, 0); in mmci_cmd_irq()
1092 return 0; in mmci_qcom_get_rx_fifocnt()
1108 if (count <= 0) in mmci_pio_read()
1117 if (unlikely(count & 0x3)) { in mmci_pio_read()
1124 count &= ~0x3; in mmci_pio_read()
1134 if (remain == 0) in mmci_pio_read()
1169 if (remain == 0) in mmci_pio_write()
1213 len = 0; in mmci_pio_irq()
1245 if (host->size == 0) { in mmci_pio_irq()
1246 mmci_set_mask1(host, 0); in mmci_pio_irq()
1260 int ret = 0; in mmci_irq()
1340 mmci_start_command(host, mrq->sbc, 0); in mmci_request()
1342 mmci_start_command(host, mrq->cmd, 0); in mmci_request()
1351 u32 pwr = 0; in mmci_set_ios()
1362 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in mmci_set_ios()
1385 if (ret < 0) in mmci_set_ios()
1427 * If clock = 0 and the variant requires the MMCIPOWER to be used for in mmci_set_ios()
1436 if (ret < 0) in mmci_set_ios()
1470 int ret = 0; in mmci_sig_volt_switch()
1532 return 0; in mmci_of_parse()
1599 dev_dbg(mmc_dev(mmc), "designer ID = 0x%02x\n", host->hw_designer); in mmci_probe()
1600 dev_dbg(mmc_dev(mmc), "revision = 0x%01x\n", host->hw_revision); in mmci_probe()
1627 if (ret < 0) in mmci_probe()
1706 mmc->max_busy_timeout = 0; in mmci_probe()
1745 writel(0, host->base + MMCIMASK0); in mmci_probe()
1748 writel(0, host->base + MMCIMASK1); in mmci_probe()
1750 writel(0xfff, host->base + MMCICLEAR); in mmci_probe()
1760 ret = mmc_gpiod_request_cd(mmc, "cd", 0, false, 0, NULL); in mmci_probe()
1761 if (ret < 0) { in mmci_probe()
1765 ret = mmc_gpio_request_cd(mmc, plat->gpio_cd, 0); in mmci_probe()
1771 ret = mmc_gpiod_request_ro(mmc, "wp", 0, false, 0, NULL); in mmci_probe()
1772 if (ret < 0) { in mmci_probe()
1783 ret = devm_request_irq(&dev->dev, dev->irq[0], mmci_irq, IRQF_SHARED, in mmci_probe()
1801 dev_info(&dev->dev, "%s: PL%03x manf %x rev%u at 0x%08llx irq %d,%d (pio)\n", in mmci_probe()
1804 dev->irq[0], dev->irq[1]); in mmci_probe()
1814 return 0; in mmci_probe()
1839 writel(0, host->base + MMCIMASK0); in mmci_remove()
1842 writel(0, host->base + MMCIMASK1); in mmci_remove()
1844 writel(0, host->base + MMCICOMMAND); in mmci_remove()
1845 writel(0, host->base + MMCIDATACTRL); in mmci_remove()
1852 return 0; in mmci_remove()
1862 writel(0, host->base + MMCIMASK0); in mmci_save()
1864 writel(0, host->base + MMCIDATACTRL); in mmci_save()
1865 writel(0, host->base + MMCIPOWER); in mmci_save()
1866 writel(0, host->base + MMCICLOCK); in mmci_save()
1903 return 0; in mmci_runtime_suspend()
1918 return 0; in mmci_runtime_resume()
1930 .id = 0x00041180,
1931 .mask = 0xff0fffff,
1935 .id = 0x01041180,
1936 .mask = 0xff0fffff,
1940 .id = 0x02041180,
1941 .mask = 0xff0fffff,
1945 .id = 0x00041181,
1946 .mask = 0x000fffff,
1951 .id = 0x00180180,
1952 .mask = 0x00ffffff,
1956 .id = 0x10180180,
1957 .mask = 0xf0ffffff,
1961 .id = 0x00280180,
1962 .mask = 0x00ffffff,
1966 .id = 0x00480180,
1967 .mask = 0xf0ffffff,
1971 .id = 0x10480180,
1972 .mask = 0xf0ffffff,
1976 .id = 0x00880180,
1977 .mask = 0x00ffffff,
1982 .id = 0x00051180,
1983 .mask = 0x000fffff,
1986 { 0, 0 },