Lines Matching refs:isr_status

334 	unsigned int isr_status, i2c_status;  in cdns_i2c_slave_isr()  local
337 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_slave_isr()
338 cdns_i2c_writereg(isr_status, CDNS_I2C_ISR_OFFSET); in cdns_i2c_slave_isr()
341 isr_status &= ~cdns_i2c_readreg(CDNS_I2C_IMR_OFFSET); in cdns_i2c_slave_isr()
349 if (isr_status & CDNS_I2C_IXR_DATA) in cdns_i2c_slave_isr()
352 if (isr_status & CDNS_I2C_IXR_COMP) { in cdns_i2c_slave_isr()
358 if (isr_status & CDNS_I2C_IXR_DATA) in cdns_i2c_slave_isr()
361 if (isr_status & CDNS_I2C_IXR_COMP) { in cdns_i2c_slave_isr()
369 if (isr_status & (CDNS_I2C_IXR_NACK | CDNS_I2C_IXR_RX_OVF | in cdns_i2c_slave_isr()
391 unsigned int isr_status, avail_bytes; in cdns_i2c_master_isr() local
399 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_master_isr()
400 cdns_i2c_writereg(isr_status, CDNS_I2C_ISR_OFFSET); in cdns_i2c_master_isr()
404 if (isr_status & (CDNS_I2C_IXR_NACK | CDNS_I2C_IXR_ARB_LOST)) { in cdns_i2c_master_isr()
417 ((isr_status & CDNS_I2C_IXR_COMP) || in cdns_i2c_master_isr()
418 (isr_status & CDNS_I2C_IXR_DATA))) { in cdns_i2c_master_isr()
480 if ((isr_status & CDNS_I2C_IXR_COMP) && !id->recv_count) { in cdns_i2c_master_isr()
490 if ((isr_status & CDNS_I2C_IXR_COMP) && !id->p_recv_buf) { in cdns_i2c_master_isr()
524 id->err_status |= isr_status & CDNS_I2C_IXR_ERR_INTR_MASK; in cdns_i2c_master_isr()
562 unsigned int isr_status; in cdns_i2c_mrecv() local
596 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_mrecv()
597 cdns_i2c_writereg(isr_status, CDNS_I2C_ISR_OFFSET); in cdns_i2c_mrecv()
662 unsigned int isr_status; in cdns_i2c_msend() local
682 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_msend()
683 cdns_i2c_writereg(isr_status, CDNS_I2C_ISR_OFFSET); in cdns_i2c_msend()