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