Lines Matching refs:mpc_i2c
63 struct mpc_i2c { struct
84 void (*setup)(struct device_node *node, struct mpc_i2c *i2c, u32 clock); argument
87 static inline void writeccr(struct mpc_i2c *i2c, u32 x) in writeccr()
94 struct mpc_i2c *i2c = dev_id; in mpc_i2c_isr()
110 static void mpc_i2c_fixup(struct mpc_i2c *i2c) in mpc_i2c_fixup()
134 static int i2c_wait(struct mpc_i2c *i2c, unsigned timeout, int writing) in i2c_wait()
189 static int i2c_mpc_wait_sr(struct mpc_i2c *i2c, int mask) in i2c_mpc_wait_sr()
217 static void mpc_i2c_fixup_A004447(struct mpc_i2c *i2c) in mpc_i2c_fixup_A004447()
315 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx()
337 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx()
345 struct mpc_i2c *i2c, in mpc_i2c_setup_512x()
373 struct mpc_i2c *i2c, in mpc_i2c_setup_512x()
501 struct mpc_i2c *i2c, in mpc_i2c_setup_8xxx()
526 struct mpc_i2c *i2c, in mpc_i2c_setup_8xxx()
532 static void mpc_i2c_start(struct mpc_i2c *i2c) in mpc_i2c_start()
540 static void mpc_i2c_stop(struct mpc_i2c *i2c) in mpc_i2c_stop()
545 static int mpc_write(struct mpc_i2c *i2c, int target, in mpc_write()
573 static int mpc_read(struct mpc_i2c *i2c, int target, in mpc_read()
650 struct mpc_i2c *i2c = i2c_get_adapdata(adap); in mpc_xfer()
721 struct mpc_i2c *i2c = i2c_get_adapdata(adap); in fsl_i2c_bus_recovery()
750 struct mpc_i2c *i2c; in fsl_i2c_probe()
862 struct mpc_i2c *i2c = platform_get_drvdata(op); in fsl_i2c_remove()
881 struct mpc_i2c *i2c = dev_get_drvdata(dev); in mpc_i2c_suspend()
891 struct mpc_i2c *i2c = dev_get_drvdata(dev); in mpc_i2c_resume()