Lines Matching refs:int_status
96 int int_status; in zynq_i2c_debug_status() local
98 int_status = readl(&zynq_i2c->interrupt_status); in zynq_i2c_debug_status()
101 if (int_status || status) { in zynq_i2c_debug_status()
103 if (int_status & ZYNQ_I2C_INTERRUPT_COMP) in zynq_i2c_debug_status()
105 if (int_status & ZYNQ_I2C_INTERRUPT_DATA) in zynq_i2c_debug_status()
107 if (int_status & ZYNQ_I2C_INTERRUPT_NACK) in zynq_i2c_debug_status()
109 if (int_status & ZYNQ_I2C_INTERRUPT_TO) in zynq_i2c_debug_status()
111 if (int_status & ZYNQ_I2C_INTERRUPT_SLVRDY) in zynq_i2c_debug_status()
113 if (int_status & ZYNQ_I2C_INTERRUPT_RXOVF) in zynq_i2c_debug_status()
115 if (int_status & ZYNQ_I2C_INTERRUPT_TXOVF) in zynq_i2c_debug_status()
117 if (int_status & ZYNQ_I2C_INTERRUPT_RXUNF) in zynq_i2c_debug_status()
119 if (int_status & ZYNQ_I2C_INTERRUPT_ARBLOST) in zynq_i2c_debug_status()
138 int timeout, int_status; in zynq_i2c_wait() local
142 int_status = readl(&zynq_i2c->interrupt_status); in zynq_i2c_wait()
143 if (int_status & mask) in zynq_i2c_wait()
150 writel(int_status & mask, &zynq_i2c->interrupt_status); in zynq_i2c_wait()
152 return int_status & mask; in zynq_i2c_wait()