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