Lines Matching defs:stat
107 u32 stat, dummy;
115 * stat = readl(IC_INTR_STAT);
117 * stat = readl(IC_RAW_INTR_STAT) & readl(IC_INTR_MASK);
121 regmap_read(dev->map, DW_IC_INTR_STAT, &stat);
130 if (stat & DW_IC_INTR_TX_ABRT)
132 if (stat & DW_IC_INTR_RX_UNDER)
134 if (stat & DW_IC_INTR_RX_OVER)
136 if (stat & DW_IC_INTR_TX_OVER)
138 if (stat & DW_IC_INTR_RX_DONE)
140 if (stat & DW_IC_INTR_ACTIVITY)
142 if (stat & DW_IC_INTR_STOP_DET)
144 if (stat & DW_IC_INTR_START_DET)
146 if (stat & DW_IC_INTR_GEN_CALL)
149 return stat;
159 u32 raw_stat, stat, enabled, tmp;
170 stat = i2c_dw_read_clear_intrbits_slave(dev);
173 enabled, slave_activity, raw_stat, stat);
175 if (stat & DW_IC_INTR_RX_FULL) {
189 if (stat & DW_IC_INTR_RD_REQ) {
201 if (stat & DW_IC_INTR_RX_DONE) {
207 if (stat & DW_IC_INTR_STOP_DET) {