Lines Matching refs:rcar_i2c_read
155 static u32 rcar_i2c_read(struct rcar_i2c_priv *priv, int reg) in rcar_i2c_read() function
169 return !!(rcar_i2c_read(priv, ICMCR) & FSCL); in rcar_i2c_get_scl()
201 return !(rcar_i2c_read(priv, ICMCR) & FSDA); in rcar_i2c_get_bus_free()
550 u8 data = rcar_i2c_read(priv, ICRXTX); in rcar_i2c_irq_recv()
592 ssr_raw = rcar_i2c_read(priv, ICSSR) & 0xff; in rcar_i2c_slave_irq()
593 ssr_filtered = ssr_raw & rcar_i2c_read(priv, ICSIER); in rcar_i2c_slave_irq()
607 rcar_i2c_read(priv, ICRXTX); /* dummy read */ in rcar_i2c_slave_irq()
627 value = rcar_i2c_read(priv, ICRXTX); in rcar_i2c_slave_irq()
712 msr = rcar_i2c_read(priv, ICMSR); in rcar_i2c_gen2_irq()
714 msr &= rcar_i2c_read(priv, ICMIER); in rcar_i2c_gen2_irq()
725 msr = rcar_i2c_read(priv, ICMSR); in rcar_i2c_gen3_irq()
727 msr &= rcar_i2c_read(priv, ICMIER); in rcar_i2c_gen3_irq()
913 u32 msr = rcar_i2c_read(priv, ICMSR); in rcar_i2c_master_xfer_atomic()