Lines Matching defs:i2c
98 static void meson_i2c_set_mask(struct meson_i2c *i2c, int reg, u32 mask, in meson_i2c_set_mask()
109 static void meson_i2c_reset_tokens(struct meson_i2c *i2c) in meson_i2c_reset_tokens()
116 static void meson_i2c_add_token(struct meson_i2c *i2c, int token) in meson_i2c_add_token()
126 static void meson_i2c_set_clk_div(struct meson_i2c *i2c, unsigned int freq) in meson_i2c_set_clk_div()
149 static void meson_i2c_get_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_get_data()
167 static void meson_i2c_put_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_put_data()
185 static void meson_i2c_prepare_xfer(struct meson_i2c *i2c) in meson_i2c_prepare_xfer()
214 struct meson_i2c *i2c = dev_id; in meson_i2c_irq() local
265 static void meson_i2c_do_start(struct meson_i2c *i2c, struct i2c_msg *msg) in meson_i2c_do_start()
277 static int meson_i2c_xfer_msg(struct meson_i2c *i2c, struct i2c_msg *msg, in meson_i2c_xfer_msg()
333 struct meson_i2c *i2c = adap->algo_data; in meson_i2c_xfer() local
362 struct meson_i2c *i2c; in meson_i2c_probe() local
435 struct meson_i2c *i2c = platform_get_drvdata(pdev); in meson_i2c_remove() local