Lines Matching refs:int_reg
292 u32 int_reg, int_mask, int_status, detail; in toshsd_irq() local
298 int_reg = int_status & ~int_mask & ~IRQ_DONT_CARE_BITS; in toshsd_irq()
304 if (!int_reg) { in toshsd_irq()
309 if (int_reg & SD_BUF_CMD_TIMEOUT) { in toshsd_irq()
312 } else if (int_reg & SD_BUF_CRC_ERR) { in toshsd_irq()
315 } else if (int_reg & (SD_BUF_ILLEGAL_ACCESS in toshsd_irq()
322 int_reg & SD_BUF_ILLEGAL_ACCESS ? "ILLEGAL_ACC " : "", in toshsd_irq()
323 int_reg & SD_BUF_CMD_INDEX_ERR ? "CMD_INDEX " : "", in toshsd_irq()
324 int_reg & SD_BUF_STOP_BIT_END_ERR ? "STOPBIT_END " : "", in toshsd_irq()
325 int_reg & SD_BUF_OVERFLOW ? "OVERFLOW " : "", in toshsd_irq()
326 int_reg & SD_BUF_UNDERFLOW ? "UNDERFLOW " : "", in toshsd_irq()
327 int_reg & SD_BUF_DATA_TIMEOUT ? "DATA_TIMEOUT " : ""); in toshsd_irq()
363 if (int_reg & (SD_CARD_CARD_INSERTED_0 | SD_CARD_CARD_REMOVED_0)) { in toshsd_irq()
368 if (int_reg & SD_CARD_CARD_INSERTED_0) in toshsd_irq()
375 if (int_reg & (SD_BUF_READ_ENABLE | SD_BUF_WRITE_ENABLE)) { in toshsd_irq()
385 if (int_reg & SD_CARD_RESP_END) { in toshsd_irq()
392 if (int_reg & SD_CARD_RW_END) { in toshsd_irq()