Lines Matching defs:stat
500 uint32_t stat;
502 stat = dwiic_read(sc, DW_IC_INTR_STAT);
504 if (stat & DW_IC_INTR_RX_UNDER)
506 if (stat & DW_IC_INTR_RX_OVER)
508 if (stat & DW_IC_INTR_TX_OVER)
510 if (stat & DW_IC_INTR_RD_REQ)
512 if (stat & DW_IC_INTR_TX_ABRT)
514 if (stat & DW_IC_INTR_RX_DONE)
516 if (stat & DW_IC_INTR_ACTIVITY)
518 if (stat & DW_IC_INTR_STOP_DET)
520 if (stat & DW_IC_INTR_START_DET)
522 if (stat & DW_IC_INTR_GEN_CALL)
525 return stat;
532 uint32_t en, stat;
539 stat = dwiic_read_clear_intrbits(sc);
540 DPRINTF(("%s: %s: enabled=0x%x stat=0x%x\n", sc->sc_dev.dv_xname,
541 __func__, en, stat));
542 if (!(stat & ~DW_IC_INTR_ACTIVITY))
545 if (stat & DW_IC_INTR_TX_ABRT)
552 if (stat & DW_IC_INTR_RX_FULL) {
558 if (stat & DW_IC_INTR_TX_EMPTY) {
564 if (stat & DW_IC_INTR_STOP_DET) {