Searched refs:i2c_read (Results 1 - 25 of 47) sorted by relevance

12

/u-boot/board/freescale/common/
H A Di2c_common.h23 i2c_read(dev, register, 1, data, length)
/u-boot/drivers/misc/
H A Dds4510.c64 return i2c_read(chip, offset, 1, buf, count);
76 if (i2c_read(chip, DS4510_CFG, 1, &data, 1))
94 if (i2c_read(chip, DS4510_RSTDELAY, 1, &data, 1))
120 if (i2c_read(chip, DS4510_PULLUP, 1, &val, 1))
135 if (i2c_read(chip, DS4510_IO0 - i, 1, &data, 1))
160 if (i2c_read(chip, DS4510_IO0 - i, 1, &data, 1))
177 if (i2c_read(chip, DS4510_IO_STATUS, 1, &val, 1))
194 if (i2c_read(chip, DS4510_RSTDELAY, 1, &data, 1))
198 if (i2c_read(chip, DS4510_CFG, 1, &data, 1))
H A Dpca9551_led.c56 ret = i2c_read(CONFIG_PCA9551_I2C_ADDR, reg, 1, &buf, 1);
81 ret = i2c_read(CONFIG_PCA9551_I2C_ADDR, reg, 1, &buf, 1);
/u-boot/include/
H A D_exports.h48 EXPORT_FUNC(i2c_read, int, i2c_read, uchar, uint, int , uchar * , int)
51 EXPORT_FUNC(dummy, void, i2c_read, void)
H A Dexports.h54 int i2c_read (uchar, uint, int , uchar* , int);
H A Dpalmas.h131 return i2c_read(chip_no, reg, 1, val, 1);
H A Di2c.h513 * be used with calls to i2c_read(), i2c_write(), i2c_probe(), etc.
813 int i2c_read(uint8_t chip, unsigned int addr, int alen,
866 int i2c_read(uchar chip, uint addr, int alen, uchar *buffer, int len);
880 i2c_read(addr, reg, 1, &buf, 1);
/u-boot/board/siemens/common/
H A Deeprom.c50 return i2c_read(SIEMENS_EE_I2C_ADDR, address, 2, buffer, len);
/u-boot/board/siemens/pxm2/
H A Dboard.c92 if (i2c_read(PMIC_CTRL_I2C_ADDR, reg_offset, 1, buf, 1))
101 if (i2c_read(PMIC_CTRL_I2C_ADDR, reg_offset, 1, buf, 1))
110 if (i2c_read(PMIC_CTRL_I2C_ADDR, reg_offset, 1, buf, 1))
136 if (i2c_read(PMIC_CTRL_I2C_ADDR, PMIC_DEVCTRL_REG, 1, buf, 1))
/u-boot/board/LaCie/common/
H A Dcommon.c81 ret = i2c_read(CONFIG_SYS_I2C_EEPROM_ADDR, 0,
97 ret = i2c_read(CONFIG_SYS_I2C_EEPROM_ADDR, 2,
/u-boot/board/freescale/p1010rdb/
H A Dp1010rdb.c298 i2c_read(I2C_PCA9557_ADDR2, 0, 1, &tmp, 1);
301 i2c_read(I2C_PCA9557_ADDR2, 3, 1, &tmp, 1);
308 i2c_read(I2C_PCA9557_ADDR2, 0, 1, &tmp, 1);
311 i2c_read(I2C_PCA9557_ADDR2, 3, 1, &tmp, 1);
319 i2c_read(I2C_PCA9557_ADDR2, 0, 1, &tmp, 1);
322 i2c_read(I2C_PCA9557_ADDR2, 3, 1, &tmp, 1);
327 i2c_read(I2C_PCA9557_ADDR2, 0, 1, &tmp, 1);
330 i2c_read(I2C_PCA9557_ADDR2, 3, 1, &tmp, 1);
335 i2c_read(I2C_PCA9557_ADDR2, 0, 1, &tmp, 1);
338 i2c_read(I2C_PCA9557_ADDR
[all...]
/u-boot/drivers/gpio/
H A Dpca953x.c68 if (i2c_read(chip, addr, 1, &valb, 1))
76 if (i2c_read(chip, addr << 1, 1, (u8*)&valw, 2))
94 if (i2c_read(chip, addr, 1, &valb, 1))
98 if (i2c_read(chip, addr << 1, 1, (u8*)&valw, 2))
H A Dtca642x.c57 if (i2c_read(chip, addr, 1, (uint8_t *)&valw, 1)) {
80 if (i2c_read(chip, addr, 1, (u8 *)&valw, 1)) {
/u-boot/board/freescale/ls1043aqds/
H A Dls1043aqds.c385 i2c_read(I2C_RETIMER_ADDR, 1, 1, &reg, 1);
393 i2c_read(I2C_RETIMER_ADDR, 0, 1, &reg, 1);
398 i2c_read(I2C_RETIMER_ADDR, 9, 1, &reg, 1);
403 i2c_read(I2C_RETIMER_ADDR, 0x18, 1, &reg, 1);
408 i2c_read(I2C_RETIMER_ADDR, 0x1e, 1, &reg, 1);
/u-boot/drivers/power/pmic/
H A Dpmic_tps65217.c27 return i2c_read(TPS65217_CHIP_PM, src_reg, 1, src_val, 1);
61 ret = i2c_read(TPS65217_CHIP_PM, dest_reg, 1, &read_val, 1);
H A Dpmic_tps65218.c19 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1);
55 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1);
H A Dpmic_tps65910.c16 return i2c_read(TPS65910_CTRL_I2C_ADDR, addr, 1, buf, 1);
/u-boot/board/freescale/ls1088a/
H A Dls1088a.c445 i2c_read(I2C_RETIMER_ADDR, 1, 1, &reg, 1);
461 i2c_read(I2C_RETIMER_ADDR, 0, 1, &reg, 1);
506 i2c_read(I2C_RETIMER_ADDR, 0x2F, 1, &reg, 1);
533 i2c_read(I2C_RETIMER_ADDR2, 1, 1, &reg, 1);
549 i2c_read(I2C_RETIMER_ADDR2, 0, 1, &reg, 1);
594 i2c_read(I2C_RETIMER_ADDR2, 0x2F, 1, &reg, 1);
687 ret = i2c_read(I2C_SVDD_MONITOR_ADDR,
749 ret = i2c_read(CFG_SYS_I2C_FPGA_ADDR,
/u-boot/arch/arm/mach-omap2/am33xx/
H A Dclk_synthesizer.c39 return i2c_read(CONFIG_CLK_SYNTHESIZER_I2C_ADDR, addr, 1, buf, 1);
/u-boot/board/beagle/beagle/
H A Dbeagle.c225 i2c_read(EXPANSION_EEPROM_I2C_ADDRESS, 0, 1, (u8 *)&expansion_config,
232 i2c_read(EXPANSION_EEPROM_I2C_ADDRESS, 0, 2, (u8 *)&expansion_config,
284 i2c_read(TWL4030_CHIP_GPIO, GPIODATADIR1, 1, &val, 1);
288 i2c_read(TWL4030_CHIP_GPIO, GPIODATAOUT1, 1, &val, 1);
/u-boot/board/freescale/p1_p2_rdb_pc/
H A Dp1_p2_rdb_pc.c267 if (i2c_read(CFG_SYS_I2C_PCA9557_ADDR, 0, 1, &in, 1) < 0 ||
268 i2c_read(CFG_SYS_I2C_PCA9557_ADDR, 1, 1, &out, 1) < 0 ||
269 i2c_read(CFG_SYS_I2C_PCA9557_ADDR, 2, 1, &invert, 1) < 0 ||
270 i2c_read(CFG_SYS_I2C_PCA9557_ADDR, 3, 1, &io_config, 1) < 0) {
/u-boot/board/freescale/ls1012ardb/
H A Dls1012ardb.c57 ret = i2c_read(I2C_MUX_IO_ADDR, I2C_MUX_IO_1, 1, &in1, 1);
206 ret = i2c_read(I2C_MUX_IO_ADDR, I2C_MUX_IO_1, 1, &io, 1);
234 ret = i2c_read(I2C_MUX_IO_ADDR, I2C_MUX_IO_0, 1, &io, 1);
/u-boot/drivers/rtc/
H A Dm41t62.c334 i2c_read(CFG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE);
344 i2c_read(CFG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE);
364 i2c_read(CFG_SYS_I2C_RTC_ADDR, M41T62_REG_ALARM_HOUR, 1, &val, 1);
/u-boot/arch/arm/mach-sunxi/
H A Dpmic_bus.c88 return i2c_read(pmic_i2c_address(), reg, 1, data, 1);
/u-boot/drivers/i2c/
H A Di2c_core.c287 int i2c_read(uint8_t chip, unsigned int addr, int alen, function
322 i2c_read(addr, reg, 1, &buf, 1);

Completed in 321 milliseconds

12