Home | History | Annotate | Download | only in xscale

Lines Matching defs:isr

431 	uint32_t isr;
436 isr = CSR_READ_4(sc, I2C_ISR);
437 if (isr & (bit | ISR_BED))
442 if (isr & (ISR_BED | (bit & ISR_ALD)))
444 else if (isr & (bit & ~ISR_ALD))
449 CSR_WRITE_4(sc, I2C_ISR, isr);
674 uint16_t isr;
676 isr = bus_space_read_4(iot, ioh, I2C_ISR);
678 isr & (ISR_BED|ISR_SAD|ISR_IRF|ISR_ITE|ISR_ALD|ISR_SSD));
680 DPRINTF(("%s: Interrupt Status 0x%x\n", __func__, isr));
683 if (isr & ISR_SAD) { /* Slave Address Detected */
684 if (isr & ISR_RWM)
693 } else if (isr & ISR_IRF) { /* IDBR Receive Full */
702 } else if (isr & ISR_SSD) { /* Slave STOP Detected */
708 } else if (isr & ISR_BED) { /* Bus Error Detected */
716 aprint_error_dev(sc->sc_dev, "Interrupt not handled 0x%x\n", isr);