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 uint set_i2c_bus_speed(const struct fsl_i2c_base *base,
212 static int fsl_i2c_fixup(const struct fsl_i2c_base *base)
260 static void __i2c_init(const struct fsl_i2c_base *base, int speed, int
293 static int i2c_wait4bus(const struct fsl_i2c_base *base)
306 static int i2c_wait(const struct fsl_i2c_base *base, int write)
343 static int i2c_write_addr(const struct fsl_i2c_base *base, u8 dev,
358 static int __i2c_write_data(const struct fsl_i2c_base *base, u8 *data,
373 static int __i2c_read_data(const struct fsl_i2c_base *base, u8 *data,
404 static int __i2c_read(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset,
451 static int __i2c_write(const struct fsl_i2c_base *base, u8 chip_addr,
474 static int __i2c_probe_chip(const struct fsl_i2c_base *base, uchar chip)
486 static uint __i2c_set_bus_speed(const struct fsl_i2c_base *base,
578 dev->base = map_sysmem(dev_read_addr(bus), sizeof(struct fsl_i2c_base));