Lines Matching refs:fsl_i2c_base
40 static const struct fsl_i2c_base *i2c_base[4] = {
41 (struct fsl_i2c_base *)(CONFIG_SYS_IMMR + CONFIG_SYS_FSL_I2C_OFFSET),
43 (struct fsl_i2c_base *)(CONFIG_SYS_IMMR + CONFIG_SYS_FSL_I2C2_OFFSET),
46 (struct fsl_i2c_base *)(CONFIG_SYS_IMMR + CONFIG_SYS_FSL_I2C3_OFFSET),
49 (struct fsl_i2c_base *)(CONFIG_SYS_IMMR + CONFIG_SYS_FSL_I2C4_OFFSET)
119 static unsigned int set_i2c_bus_speed(const struct fsl_i2c_base *base, in set_i2c_bus_speed()
209 static int fsl_i2c_fixup(const struct fsl_i2c_base *base) in fsl_i2c_fixup()
256 static void __i2c_init(const struct fsl_i2c_base *base, int speed, int in __i2c_init()
290 i2c_wait4bus(const struct fsl_i2c_base *base) in i2c_wait4bus()
304 i2c_wait(const struct fsl_i2c_base *base, int write) in i2c_wait()
342 i2c_write_addr(const struct fsl_i2c_base *base, u8 dev, u8 dir, int rsta) in i2c_write_addr()
357 __i2c_write_data(const struct fsl_i2c_base *base, u8 *data, int length) in __i2c_write_data()
372 __i2c_read_data(const struct fsl_i2c_base *base, u8 *data, int length) in __i2c_read_data()
403 __i2c_read(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, int olen, in __i2c_read()
451 __i2c_write(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, int olen, in __i2c_write()
475 __i2c_probe_chip(const struct fsl_i2c_base *base, uchar chip) in __i2c_probe_chip()
487 static unsigned int __i2c_set_bus_speed(const struct fsl_i2c_base *base, in __i2c_set_bus_speed()