Lines Matching refs:rcar_i2c_read
156 static u32 rcar_i2c_read(struct rcar_i2c_priv *priv, int reg) in rcar_i2c_read() function
170 return !!(rcar_i2c_read(priv, ICMCR) & FSCL); in rcar_i2c_get_scl()
202 return !(rcar_i2c_read(priv, ICMCR) & FSDA); in rcar_i2c_get_bus_free()
559 u8 data = rcar_i2c_read(priv, ICRXTX); in rcar_i2c_irq_recv()
601 ssr_raw = rcar_i2c_read(priv, ICSSR) & 0xff; in rcar_i2c_slave_irq()
602 ssr_filtered = ssr_raw & rcar_i2c_read(priv, ICSIER); in rcar_i2c_slave_irq()
616 rcar_i2c_read(priv, ICRXTX); /* dummy read */ in rcar_i2c_slave_irq()
636 value = rcar_i2c_read(priv, ICRXTX); in rcar_i2c_slave_irq()
721 msr = rcar_i2c_read(priv, ICMSR); in rcar_i2c_gen2_irq()
723 msr &= rcar_i2c_read(priv, ICMIER); in rcar_i2c_gen2_irq()
734 msr = rcar_i2c_read(priv, ICMSR); in rcar_i2c_gen3_irq()
736 msr &= rcar_i2c_read(priv, ICMIER); in rcar_i2c_gen3_irq()
924 u32 msr = rcar_i2c_read(priv, ICMSR); in rcar_i2c_master_xfer_atomic()