Lines Matching refs:mpc_i2c
61 struct mpc_i2c { struct
81 void (*setup)(struct device_node *node, struct mpc_i2c *i2c, argument
86 static inline void writeccr(struct mpc_i2c *i2c, u32 x) in writeccr()
93 struct mpc_i2c *i2c = dev_id; in mpc_i2c_isr()
109 static void mpc_i2c_fixup(struct mpc_i2c *i2c) in mpc_i2c_fixup()
126 static int i2c_wait(struct mpc_i2c *i2c, unsigned timeout, int writing) in i2c_wait()
238 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx()
260 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx()
268 struct mpc_i2c *i2c, in mpc_i2c_setup_512x()
296 struct mpc_i2c *i2c, in mpc_i2c_setup_512x()
417 struct mpc_i2c *i2c, in mpc_i2c_setup_8xxx()
442 struct mpc_i2c *i2c, in mpc_i2c_setup_8xxx()
448 static void mpc_i2c_start(struct mpc_i2c *i2c) in mpc_i2c_start()
456 static void mpc_i2c_stop(struct mpc_i2c *i2c) in mpc_i2c_stop()
461 static int mpc_write(struct mpc_i2c *i2c, int target, in mpc_write()
489 static int mpc_read(struct mpc_i2c *i2c, int target, in mpc_read()
566 struct mpc_i2c *i2c = i2c_get_adapdata(adap); in mpc_xfer()
650 struct mpc_i2c *i2c; in fsl_i2c_probe()
761 struct mpc_i2c *i2c = platform_get_drvdata(op); in fsl_i2c_remove()
780 struct mpc_i2c *i2c = dev_get_drvdata(dev); in mpc_i2c_suspend()
790 struct mpc_i2c *i2c = dev_get_drvdata(dev); in mpc_i2c_resume()