Home
last modified time | relevance | path

Searched refs:mtk_i2c (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/i2c/busses/
Di2c-mt7621.c59 struct mtk_i2c { struct
69 static int mtk_i2c_wait_idle(struct mtk_i2c *i2c) in mtk_i2c_wait_idle() argument
83 static void mtk_i2c_reset(struct mtk_i2c *i2c) in mtk_i2c_reset()
100 static void mtk_i2c_dump_reg(struct mtk_i2c *i2c) in mtk_i2c_dump_reg()
111 static int mtk_i2c_check_ack(struct mtk_i2c *i2c, u32 expected) in mtk_i2c_check_ack()
119 static int mtk_i2c_master_start(struct mtk_i2c *i2c) in mtk_i2c_master_start()
125 static int mtk_i2c_master_stop(struct mtk_i2c *i2c) in mtk_i2c_master_stop()
131 static int mtk_i2c_master_cmd(struct mtk_i2c *i2c, u32 cmd, int page_len) in mtk_i2c_master_cmd()
141 struct mtk_i2c *i2c; in mtk_i2c_master_xfer()
260 static void mtk_i2c_init(struct mtk_i2c *i2c) in mtk_i2c_init()
[all …]
Di2c-mt65xx.c288 struct mtk_i2c { struct
516 static u16 mtk_i2c_readw(struct mtk_i2c *i2c, enum I2C_REGS_OFFSET reg) in mtk_i2c_readw()
521 static void mtk_i2c_writew(struct mtk_i2c *i2c, u16 val, in mtk_i2c_writew()
527 static void mtk_i2c_init_hw(struct mtk_i2c *i2c) in mtk_i2c_init_hw()
634 static int mtk_i2c_get_clk_div_restri(struct mtk_i2c *i2c, in mtk_i2c_get_clk_div_restri()
671 static int mtk_i2c_check_ac_timing(struct mtk_i2c *i2c, in mtk_i2c_check_ac_timing()
773 static int mtk_i2c_calculate_speed(struct mtk_i2c *i2c, unsigned int clk_src, in mtk_i2c_calculate_speed()
846 static int mtk_i2c_set_speed(struct mtk_i2c *i2c, unsigned int parent_clk) in mtk_i2c_set_speed()
921 static void i2c_dump_register(struct mtk_i2c *i2c) in i2c_dump_register()
972 static int mtk_i2c_do_transfer(struct mtk_i2c *i2c, struct i2c_msg *msgs, in mtk_i2c_do_transfer()
[all …]