mtk_i2c           328 drivers/i2c/busses/i2c-mt65xx.c static u16 mtk_i2c_readw(struct mtk_i2c *i2c, enum I2C_REGS_OFFSET reg)
mtk_i2c           333 drivers/i2c/busses/i2c-mt65xx.c static void mtk_i2c_writew(struct mtk_i2c *i2c, u16 val,
mtk_i2c           339 drivers/i2c/busses/i2c-mt65xx.c static int mtk_i2c_clock_enable(struct mtk_i2c *i2c)
mtk_i2c           376 drivers/i2c/busses/i2c-mt65xx.c static void mtk_i2c_clock_disable(struct mtk_i2c *i2c)
mtk_i2c           388 drivers/i2c/busses/i2c-mt65xx.c static void mtk_i2c_init_hw(struct mtk_i2c *i2c)
mtk_i2c           439 drivers/i2c/busses/i2c-mt65xx.c static int mtk_i2c_calculate_speed(struct mtk_i2c *i2c, unsigned int clk_src,
mtk_i2c           504 drivers/i2c/busses/i2c-mt65xx.c static int mtk_i2c_set_speed(struct mtk_i2c *i2c, unsigned int parent_clk)
mtk_i2c           561 drivers/i2c/busses/i2c-mt65xx.c static int mtk_i2c_do_transfer(struct mtk_i2c *i2c, struct i2c_msg *msgs,
mtk_i2c           785 drivers/i2c/busses/i2c-mt65xx.c 	struct mtk_i2c *i2c = i2c_get_adapdata(adap);
mtk_i2c           846 drivers/i2c/busses/i2c-mt65xx.c 	struct mtk_i2c *i2c = dev_id;
mtk_i2c           890 drivers/i2c/busses/i2c-mt65xx.c static int mtk_i2c_parse_dt(struct device_node *np, struct mtk_i2c *i2c)
mtk_i2c           915 drivers/i2c/busses/i2c-mt65xx.c 	struct mtk_i2c *i2c;
mtk_i2c          1030 drivers/i2c/busses/i2c-mt65xx.c 	struct mtk_i2c *i2c = platform_get_drvdata(pdev);
mtk_i2c          1041 drivers/i2c/busses/i2c-mt65xx.c 	struct mtk_i2c *i2c = dev_get_drvdata(dev);
mtk_i2c            69 drivers/i2c/busses/i2c-mt7621.c static int mtk_i2c_wait_idle(struct mtk_i2c *i2c)
mtk_i2c            83 drivers/i2c/busses/i2c-mt7621.c static void mtk_i2c_reset(struct mtk_i2c *i2c)
mtk_i2c           100 drivers/i2c/busses/i2c-mt7621.c static void mtk_i2c_dump_reg(struct mtk_i2c *i2c)
mtk_i2c           111 drivers/i2c/busses/i2c-mt7621.c static int mtk_i2c_check_ack(struct mtk_i2c *i2c, u32 expected)
mtk_i2c           119 drivers/i2c/busses/i2c-mt7621.c static int mtk_i2c_master_start(struct mtk_i2c *i2c)
mtk_i2c           125 drivers/i2c/busses/i2c-mt7621.c static int mtk_i2c_master_stop(struct mtk_i2c *i2c)
mtk_i2c           131 drivers/i2c/busses/i2c-mt7621.c static int mtk_i2c_master_cmd(struct mtk_i2c *i2c, u32 cmd, int page_len)
mtk_i2c           141 drivers/i2c/busses/i2c-mt7621.c 	struct mtk_i2c *i2c;
mtk_i2c           260 drivers/i2c/busses/i2c-mt7621.c static void mtk_i2c_init(struct mtk_i2c *i2c)
mtk_i2c           274 drivers/i2c/busses/i2c-mt7621.c 	struct mtk_i2c *i2c;
mtk_i2c           280 drivers/i2c/busses/i2c-mt7621.c 	i2c = devm_kzalloc(&pdev->dev, sizeof(struct mtk_i2c), GFP_KERNEL);
mtk_i2c           334 drivers/i2c/busses/i2c-mt7621.c 	struct mtk_i2c *i2c = platform_get_drvdata(pdev);