Home
last modified time | relevance | path

Searched refs:isr_status (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/i2c/busses/
Di2c-cadence.c206 unsigned int isr_status, avail_bytes; in cdns_i2c_isr() local
214 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_isr()
215 cdns_i2c_writereg(isr_status, CDNS_I2C_ISR_OFFSET); in cdns_i2c_isr()
218 if (isr_status & (CDNS_I2C_IXR_NACK | CDNS_I2C_IXR_ARB_LOST)) { in cdns_i2c_isr()
231 ((isr_status & CDNS_I2C_IXR_COMP) || in cdns_i2c_isr()
232 (isr_status & CDNS_I2C_IXR_DATA))) { in cdns_i2c_isr()
286 if ((isr_status & CDNS_I2C_IXR_COMP) && !id->recv_count) { in cdns_i2c_isr()
296 if ((isr_status & CDNS_I2C_IXR_COMP) && !id->p_recv_buf) { in cdns_i2c_isr()
330 id->err_status = isr_status & CDNS_I2C_IXR_ERR_INTR_MASK; in cdns_i2c_isr()
347 unsigned int isr_status; in cdns_i2c_mrecv() local
[all …]
Di2c-altera.c99 u32 isr_status; member
247 idev->isr_status = readl(idev->base + ALTR_I2C_ISR) & idev->isr_mask; in altr_i2c_isr_quick()
248 if (idev->isr_status) in altr_i2c_isr_quick()
259 u32 status = idev->isr_status; in altr_i2c_isr()