Lines Matching refs:irqstat
50 uint irqstat; /* Interrupt status register */ member
201 uint irqstat; in esdhc_pio_read_write() local
210 irqstat = esdhc_read32(®s->irqstat); in esdhc_pio_read_write()
217 while (size && (!(irqstat & IRQSTAT_TC))) { 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()
240 while (size && (!(irqstat & IRQSTAT_TC))) { in esdhc_pio_read_write()
245 irqstat = esdhc_read32(®s->irqstat); in esdhc_pio_read_write()
394 uint irqstat; in esdhc_send_cmd_common() local
403 esdhc_write32(®s->irqstat, -1); 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()
459 if (irqstat & CMD_ERR) { in esdhc_send_cmd_common()
464 if (irqstat & IRQSTAT_CTOE) { in esdhc_send_cmd_common()
523 irqstat = esdhc_read32(®s->irqstat); in esdhc_send_cmd_common()
525 if (irqstat & IRQSTAT_DTOE) { in esdhc_send_cmd_common()
530 if (irqstat & DATA_ERR) { in esdhc_send_cmd_common()
534 } while ((irqstat & flags) != flags); in esdhc_send_cmd_common()
567 esdhc_write32(®s->irqstat, -1); in esdhc_send_cmd_common()