• Home
  • Raw
  • Download

Lines Matching refs:esdhc_read32

210 			irqstat = esdhc_read32(&regs->irqstat);  in esdhc_pio_read_write()
211 while (!(esdhc_read32(&regs->prsstat) & PRSSTAT_BREN)) { in esdhc_pio_read_write()
219 irqstat = esdhc_read32(&regs->irqstat); in esdhc_pio_read_write()
233 irqstat = esdhc_read32(&regs->irqstat); in esdhc_pio_read_write()
234 while (!(esdhc_read32(&regs->prsstat) & PRSSTAT_BWEN)) { in esdhc_pio_read_write()
245 irqstat = esdhc_read32(&regs->irqstat); in esdhc_pio_read_write()
293 if ((esdhc_read32(&regs->prsstat) & in esdhc_setup_data()
408 while ((esdhc_read32(&regs->prsstat) & PRSSTAT_CICHB) || in esdhc_send_cmd_common()
409 (esdhc_read32(&regs->prsstat) & PRSSTAT_CIDHB)) in esdhc_send_cmd_common()
412 while (esdhc_read32(&regs->prsstat) & PRSSTAT_DLA) in esdhc_send_cmd_common()
442 (esdhc_read32(&regs->mixctrl) & 0xFFFFFF80) | (xfertyp & 0x7F) in esdhc_send_cmd_common()
454 while (!(esdhc_read32(&regs->irqstat) & flags)) in esdhc_send_cmd_common()
457 irqstat = esdhc_read32(&regs->irqstat); in esdhc_send_cmd_common()
483 while (timeout > 0 && !(esdhc_read32(&regs->prsstat) & in esdhc_send_cmd_common()
500 cmdrsp3 = esdhc_read32(&regs->cmdrsp3); in esdhc_send_cmd_common()
501 cmdrsp2 = esdhc_read32(&regs->cmdrsp2); in esdhc_send_cmd_common()
502 cmdrsp1 = esdhc_read32(&regs->cmdrsp1); in esdhc_send_cmd_common()
503 cmdrsp0 = esdhc_read32(&regs->cmdrsp0); in esdhc_send_cmd_common()
509 cmd->response[0] = esdhc_read32(&regs->cmdrsp0); in esdhc_send_cmd_common()
523 irqstat = esdhc_read32(&regs->irqstat); in esdhc_send_cmd_common()
549 esdhc_write32(&regs->sysctl, esdhc_read32(&regs->sysctl) | in esdhc_send_cmd_common()
551 while (esdhc_read32(&regs->sysctl) & SYSCTL_RSTC) in esdhc_send_cmd_common()
556 esdhc_read32(&regs->sysctl) | in esdhc_send_cmd_common()
558 while ((esdhc_read32(&regs->sysctl) & SYSCTL_RSTD)) in esdhc_send_cmd_common()
630 value = esdhc_read32(&regs->sysctl); in esdhc_clock_control()
641 while (!(esdhc_read32(&regs->prsstat) & value)) { in esdhc_clock_control()
755 if (!(esdhc_read32(&regs->vendorspec) & in esdhc_set_voltage()
771 if (esdhc_read32(&regs->vendorspec) & ESDHC_VENDORSPEC_VSELECT) in esdhc_set_voltage()
950 while ((esdhc_read32(&regs->sysctl) & SYSCTL_RSTA)) { in esdhc_init_common()
1018 while (!(esdhc_read32(&regs->prsstat) & PRSSTAT_CINS) && --timeout) in esdhc_getcd_common()
1033 while ((esdhc_read32(&regs->sysctl) & SYSCTL_RSTA)) { in esdhc_reset()
1121 caps = esdhc_read32(&regs->hostcapblt); in fsl_esdhc_init()