Lines Matching refs:bcm_kona_i2c_dev
119 struct bcm_kona_i2c_dev { struct
132 static struct bcm_kona_i2c_dev g_i2c_devs[CONFIG_SYS_MAX_I2C_BUS] = { argument
164 static void bcm_kona_i2c_send_cmd_to_ctrl(struct bcm_kona_i2c_dev *dev, in bcm_kona_i2c_send_cmd_to_ctrl()
201 static void bcm_kona_i2c_enable_clock(struct bcm_kona_i2c_dev *dev) in bcm_kona_i2c_enable_clock()
207 static void bcm_kona_i2c_disable_clock(struct bcm_kona_i2c_dev *dev) in bcm_kona_i2c_disable_clock()
214 static unsigned long wait_for_int_timeout(struct bcm_kona_i2c_dev *dev, in wait_for_int_timeout()
246 static int bcm_kona_send_i2c_cmd(struct bcm_kona_i2c_dev *dev, in bcm_kona_send_i2c_cmd()
270 static int bcm_kona_i2c_read_fifo_single(struct bcm_kona_i2c_dev *dev, in bcm_kona_i2c_read_fifo_single()
297 static int bcm_kona_i2c_read_fifo(struct bcm_kona_i2c_dev *dev, in bcm_kona_i2c_read_fifo()
326 static int bcm_kona_i2c_write_byte(struct bcm_kona_i2c_dev *dev, uint8_t data, in bcm_kona_i2c_write_byte()
356 static int bcm_kona_i2c_write_fifo_single(struct bcm_kona_i2c_dev *dev, in bcm_kona_i2c_write_fifo_single()
392 static int bcm_kona_i2c_write_fifo(struct bcm_kona_i2c_dev *dev, in bcm_kona_i2c_write_fifo()
418 static int bcm_kona_i2c_do_addr(struct bcm_kona_i2c_dev *dev, in bcm_kona_i2c_do_addr()
457 static void bcm_kona_i2c_enable_autosense(struct bcm_kona_i2c_dev *dev) in bcm_kona_i2c_enable_autosense()
463 static void bcm_kona_i2c_config_timing(struct bcm_kona_i2c_dev *dev) in bcm_kona_i2c_config_timing()
480 static int bcm_kona_i2c_xfer(struct bcm_kona_i2c_dev *dev, in bcm_kona_i2c_xfer()
555 static uint bcm_kona_i2c_assign_bus_speed(struct bcm_kona_i2c_dev *dev, in bcm_kona_i2c_assign_bus_speed()
576 static void bcm_kona_i2c_init(struct bcm_kona_i2c_dev *dev) in bcm_kona_i2c_init()
617 struct bcm_kona_i2c_dev *kona_get_dev(struct i2c_adapter *adap) in kona_get_dev()
624 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); in kona_i2c_init()
638 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); in kona_i2c_read()
667 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); in kona_i2c_write()
698 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); in kona_i2c_set_bus_speed()