Lines Matching +full:0 +full:x10153180

340 	int busy = 0;  in mmci_card_busy()
410 host->cclk = 0; in mmci_set_clkreg()
494 return 0; in mmci_validate_data()
504 return 0; in mmci_validate_data()
512 return 0; in mmci_prep_data()
517 data->host_cookie = ++host->next_cookie < 0 ? in mmci_prep_data()
529 data->host_cookie = 0; in mmci_unprep_data()
574 return 0; in mmci_dma_start()
598 writel(0, host->base + MMCICOMMAND); in mmci_request_end()
630 mmci_write_datactrlreg(host, 0); in mmci_stop_data()
631 mmci_set_mask1(host, 0); in mmci_stop_data()
712 host->busy_status = 0; in ux500_busy_complete()
808 return 0; in mmci_dmae_setup()
852 host->data->host_cookie = 0; in mmci_dmae_error()
867 for (i = 0; ; i++) { in mmci_dmae_finalize()
955 if (nr_sg == 0) in _mmci_dmae_prep_data()
970 return 0; in _mmci_dmae_prep_data()
992 return 0; in mmci_dmae_prep_data()
1006 if (ret < 0) { in mmci_dmae_start()
1014 return 0; in mmci_dmae_start()
1141 data->bytes_xfered = 0; in mmci_start_data()
1153 datactrl |= host->data->flags & MMC_DATA_READ ? MCI_DPSM_DIRECTION : 0; in mmci_start_data()
1223 writel(0, base + MMCICOMMAND); in mmci_start_command()
1257 if (/*interrupt*/0) in mmci_start_command()
1271 host->stop_abort.error = 0; in mmci_stop_command()
1272 mmci_start_command(host, &host->stop_abort, 0); in mmci_stop_command()
1307 success = 0; in mmci_data_irq()
1310 dev_dbg(mmc_dev(host->mmc), "MCI ERROR IRQ, status 0x%08x at 0x%08x\n", in mmci_data_irq()
1326 success = 0; in mmci_data_irq()
1352 mmci_start_command(host, data->stop, 0); in mmci_data_irq()
1399 cmd->resp[0] = readl(base + MMCIRESPONSE0); in mmci_cmd_irq()
1421 mmci_start_command(host, host->mrq->cmd, 0); in mmci_cmd_irq()
1444 return 0; in mmci_qcom_get_rx_fifocnt()
1460 if (count <= 0) in mmci_pio_read()
1469 if (unlikely(count & 0x3)) { in mmci_pio_read()
1476 count &= ~0x3; in mmci_pio_read()
1486 if (remain == 0) in mmci_pio_read()
1521 if (remain == 0) in mmci_pio_write()
1565 len = 0; in mmci_pio_irq()
1597 if (host->size == 0) { in mmci_pio_irq()
1598 mmci_set_mask1(host, 0); in mmci_pio_irq()
1716 mmci_start_command(host, mrq->sbc, 0); in mmci_request()
1718 mmci_start_command(host, mrq->cmd, 0); in mmci_request()
1726 u32 max_busy_timeout = 0; in mmci_set_max_busy_timeout()
1732 max_busy_timeout = ~0UL / (mmc->actual_clock / MSEC_PER_SEC); in mmci_set_max_busy_timeout()
1741 u32 pwr = 0; in mmci_set_ios()
1752 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in mmci_set_ios()
1775 if (ret < 0) in mmci_set_ios()
1817 * If clock = 0 and the variant requires the MMCIPOWER to be used for in mmci_set_ios()
1826 if (ret < 0) in mmci_set_ios()
1878 ret = 0; in mmci_sig_volt_switch()
1880 if (ret < 0) in mmci_sig_volt_switch()
1929 gpiod_set_value(ck_gpio, 0); in mmci_probe_level_translator()
1987 return 0; in mmci_of_parse()
2048 dev_dbg(mmc_dev(mmc), "designer ID = 0x%02x\n", host->hw_designer); in mmci_probe()
2049 dev_dbg(mmc_dev(mmc), "revision = 0x%01x\n", host->hw_revision); in mmci_probe()
2076 if (ret < 0) in mmci_probe()
2167 host->stop_abort.arg = 0; in mmci_probe()
2204 writel(0, host->base + MMCIMASK0); in mmci_probe()
2207 writel(0, host->base + MMCIMASK1); in mmci_probe()
2209 writel(0xfff, host->base + MMCICLEAR); in mmci_probe()
2219 ret = mmc_gpiod_request_cd(mmc, "cd", 0, false, 0); in mmci_probe()
2223 ret = mmc_gpiod_request_ro(mmc, "wp", 0, 0); in mmci_probe()
2228 ret = devm_request_threaded_irq(&dev->dev, dev->irq[0], mmci_irq, in mmci_probe()
2247 dev_info(&dev->dev, "%s: PL%03x manf %x rev%u at 0x%08llx irq %d,%d (pio)\n", in mmci_probe()
2250 dev->irq[0], dev->irq[1]); in mmci_probe()
2260 return 0; in mmci_probe()
2285 writel(0, host->base + MMCIMASK0); in mmci_remove()
2288 writel(0, host->base + MMCIMASK1); in mmci_remove()
2290 writel(0, host->base + MMCICOMMAND); in mmci_remove()
2291 writel(0, host->base + MMCIDATACTRL); in mmci_remove()
2306 writel(0, host->base + MMCIMASK0); in mmci_save()
2308 writel(0, host->base + MMCIDATACTRL); in mmci_save()
2309 writel(0, host->base + MMCIPOWER); in mmci_save()
2310 writel(0, host->base + MMCICLOCK); in mmci_save()
2347 return 0; in mmci_runtime_suspend()
2362 return 0; in mmci_runtime_resume()
2374 .id = 0x00041180,
2375 .mask = 0xff0fffff,
2379 .id = 0x01041180,
2380 .mask = 0xff0fffff,
2384 .id = 0x02041180,
2385 .mask = 0xff0fffff,
2389 .id = 0x00041181,
2390 .mask = 0x000fffff,
2395 .id = 0x00180180,
2396 .mask = 0x00ffffff,
2400 .id = 0x10180180,
2401 .mask = 0xf0ffffff,
2405 .id = 0x00280180,
2406 .mask = 0x00ffffff,
2410 .id = 0x00480180,
2411 .mask = 0xf0ffffff,
2415 .id = 0x10480180,
2416 .mask = 0xf0ffffff,
2420 .id = 0x00880180,
2421 .mask = 0x00ffffff,
2425 .id = 0x10153180,
2426 .mask = 0xf0ffffff,
2430 .id = 0x00253180,
2431 .mask = 0xf0ffffff,
2436 .id = 0x00051180,
2437 .mask = 0x000fffff,
2440 { 0, 0 },