Lines Matching refs:mpc_i2c
59 struct mpc_i2c {
75 void (*setup)(struct device_node *node, struct mpc_i2c *i2c,
80 static inline void writeccr(struct mpc_i2c *i2c, u32 x)
87 struct mpc_i2c *i2c = dev_id;
102 static void mpc_i2c_fixup(struct mpc_i2c *i2c)
119 static int i2c_wait(struct mpc_i2c *i2c, unsigned timeout, int writing)
231 struct mpc_i2c *i2c,
253 struct mpc_i2c *i2c,
261 struct mpc_i2c *i2c,
289 struct mpc_i2c *i2c,
384 struct mpc_i2c *i2c,
409 struct mpc_i2c *i2c,
415 static void mpc_i2c_start(struct mpc_i2c *i2c)
423 static void mpc_i2c_stop(struct mpc_i2c *i2c)
428 static int mpc_write(struct mpc_i2c *i2c, int target,
456 static int mpc_read(struct mpc_i2c *i2c, int target,
504 struct mpc_i2c *i2c = i2c_get_adapdata(adap);
566 struct mpc_i2c *i2c;
652 struct mpc_i2c *i2c = dev_get_drvdata(&op->dev);