Lines Matching refs:em_i2c_device
66 struct em_i2c_device { struct
75 static inline void em_clear_set_bit(struct em_i2c_device *priv, u8 clear, u8 set, u8 reg) in em_clear_set_bit() argument
80 static int em_i2c_wait_for_event(struct em_i2c_device *priv) in em_i2c_wait_for_event()
96 static void em_i2c_stop(struct em_i2c_device *priv) in em_i2c_stop()
107 struct em_i2c_device *priv = i2c_get_adapdata(adap); in em_i2c_reset()
142 struct em_i2c_device *priv = i2c_get_adapdata(adap); in __em_i2c_xfer()
212 struct em_i2c_device *priv = i2c_get_adapdata(adap); in em_i2c_xfer()
228 static bool em_i2c_slave_irq(struct em_i2c_device *priv) in em_i2c_slave_irq()
302 struct em_i2c_device *priv = dev_id; in em_i2c_irq_handler()
319 struct em_i2c_device *priv = i2c_get_adapdata(slave->adapter); in em_i2c_reg_slave()
337 struct em_i2c_device *priv = i2c_get_adapdata(slave->adapter); in em_i2c_unreg_slave()
363 struct em_i2c_device *priv; in em_i2c_probe()
424 struct em_i2c_device *priv = platform_get_drvdata(dev); in em_i2c_remove()