Lines Matching refs:int_status
75 int int_status; in cdns_i2c_debug_status() local
77 int_status = readl(&cdns_i2c->interrupt_status); in cdns_i2c_debug_status()
80 if (int_status || status) { in cdns_i2c_debug_status()
82 if (int_status & CDNS_I2C_INTERRUPT_COMP) in cdns_i2c_debug_status()
84 if (int_status & CDNS_I2C_INTERRUPT_DATA) in cdns_i2c_debug_status()
86 if (int_status & CDNS_I2C_INTERRUPT_NACK) in cdns_i2c_debug_status()
88 if (int_status & CDNS_I2C_INTERRUPT_TO) in cdns_i2c_debug_status()
90 if (int_status & CDNS_I2C_INTERRUPT_SLVRDY) in cdns_i2c_debug_status()
92 if (int_status & CDNS_I2C_INTERRUPT_RXOVF) in cdns_i2c_debug_status()
94 if (int_status & CDNS_I2C_INTERRUPT_TXOVF) in cdns_i2c_debug_status()
96 if (int_status & CDNS_I2C_INTERRUPT_RXUNF) in cdns_i2c_debug_status()
98 if (int_status & CDNS_I2C_INTERRUPT_ARBLOST) in cdns_i2c_debug_status()
130 int timeout, int_status; in cdns_i2c_wait() local
133 int_status = readl(&cdns_i2c->interrupt_status); in cdns_i2c_wait()
134 if (int_status & mask) in cdns_i2c_wait()
140 writel(int_status & mask, &cdns_i2c->interrupt_status); in cdns_i2c_wait()
142 return int_status & mask; in cdns_i2c_wait()