Lines Matching refs:octeon_i2c
26 struct octeon_i2c *i2c = dev_id; in octeon_i2c_isr()
34 static bool octeon_i2c_test_iflg(struct octeon_i2c *i2c) in octeon_i2c_test_iflg()
45 static int octeon_i2c_wait(struct octeon_i2c *i2c) in octeon_i2c_wait()
81 static bool octeon_i2c_hlc_test_valid(struct octeon_i2c *i2c) in octeon_i2c_hlc_test_valid()
86 static void octeon_i2c_hlc_int_clear(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_clear()
95 static void octeon_i2c_hlc_enable(struct octeon_i2c *i2c) in octeon_i2c_hlc_enable()
124 static void octeon_i2c_hlc_disable(struct octeon_i2c *i2c) in octeon_i2c_hlc_disable()
139 static int octeon_i2c_hlc_wait(struct octeon_i2c *i2c) in octeon_i2c_hlc_wait()
177 static int octeon_i2c_check_status(struct octeon_i2c *i2c, int final_read) in octeon_i2c_check_status()
248 static int octeon_i2c_recovery(struct octeon_i2c *i2c) in octeon_i2c_recovery()
265 static int octeon_i2c_start(struct octeon_i2c *i2c) in octeon_i2c_start()
289 static void octeon_i2c_stop(struct octeon_i2c *i2c) in octeon_i2c_stop()
306 static int octeon_i2c_read(struct octeon_i2c *i2c, int target, in octeon_i2c_read()
374 static int octeon_i2c_write(struct octeon_i2c *i2c, int target, in octeon_i2c_write()
403 static int octeon_i2c_hlc_read(struct octeon_i2c *i2c, struct i2c_msg *msgs) in octeon_i2c_hlc_read()
445 static int octeon_i2c_hlc_write(struct octeon_i2c *i2c, struct i2c_msg *msgs) in octeon_i2c_hlc_write()
489 static int octeon_i2c_hlc_comp_read(struct octeon_i2c *i2c, struct i2c_msg *msgs) in octeon_i2c_hlc_comp_read()
543 static int octeon_i2c_hlc_comp_write(struct octeon_i2c *i2c, struct i2c_msg *msgs) in octeon_i2c_hlc_comp_write()
607 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_xfer()
658 void octeon_i2c_set_clock(struct octeon_i2c *i2c) in octeon_i2c_set_clock()
699 int octeon_i2c_init_lowlevel(struct octeon_i2c *i2c) in octeon_i2c_init_lowlevel()
728 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_get_scl()
737 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_set_scl()
744 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_get_sda()
753 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_prepare_recovery()
771 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_unprepare_recovery()