Home
last modified time | relevance | path

Searched refs:BCM2835_I2C_S_DONE (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/i2c/
H A Dbcm2835_i2c.c47 if (s->c & BCM2835_I2C_C_INTD && s->s & BCM2835_I2C_S_DONE) { in bcm2835_i2c_update_interrupt()
81 s->s |= BCM2835_I2C_S_DONE; in bcm2835_i2c_finish_transfer()
161 if (writeval & BCM2835_I2C_S_DONE && s->s & BCM2835_I2C_S_DONE) { in bcm2835_i2c_write()
167 s->s &= ~(writeval & (BCM2835_I2C_S_DONE | in bcm2835_i2c_write()
/openbmc/qemu/tests/qtest/
H A Dbcm2835-i2c-test.c66 writel(base_addr + BCM2835_I2C_S, BCM2835_I2C_S_DONE | BCM2835_I2C_S_ERR | in test_i2c_read_write()
87 writel(base_addr + BCM2835_I2C_S, BCM2835_I2C_S_DONE | BCM2835_I2C_S_ERR | in test_i2c_read_write()
/openbmc/qemu/include/hw/i2c/
H A Dbcm2835_i2c.h59 #define BCM2835_I2C_S_DONE BIT(1) /* I2C Transfer complete */ macro
/openbmc/linux/drivers/i2c/busses/
H A Di2c-bcm2835.c42 #define BCM2835_I2C_S_DONE BIT(1) macro
293 if (val & BCM2835_I2C_S_DONE) { in bcm2835_i2c_isr()
339 BCM2835_I2C_S_ERR | BCM2835_I2C_S_DONE); in bcm2835_i2c_isr()