/openbmc/u-boot/board/freescale/p1_p2_rdb_pc/ |
H A D | p1_p2_rdb_pc.c | 236 if (i2c_read(CONFIG_SYS_I2C_PCA9557_ADDR, 0, 1, &in, 1) < 0 || in checkboard() 237 i2c_read(CONFIG_SYS_I2C_PCA9557_ADDR, 1, 1, &out, 1) < 0 || in checkboard() 238 i2c_read(CONFIG_SYS_I2C_PCA9557_ADDR, 3, 1, &io_config, 1) < 0) { in checkboard()
|
/openbmc/u-boot/drivers/rtc/ |
H A D | m41t60.c | 62 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_dump() 91 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_validate()
|
/openbmc/u-boot/board/freescale/common/ |
H A D | sys_eeprom.c | 162 ret = i2c_read(CONFIG_SYS_I2C_EEPROM_ADDR, 0, CONFIG_SYS_I2C_EEPROM_ADDR_LEN, in read_eeprom() 235 ret = i2c_read(CONFIG_SYS_I2C_EEPROM_ADDR, 0, in prog_eeprom() 531 i2c_read(CONFIG_SYS_I2C_EEPROM_ADDR, 0, CONFIG_SYS_I2C_EEPROM_ADDR_LEN, in get_cpu_board_revision()
|
/openbmc/u-boot/board/freescale/mpc8610hpcd/ |
H A D | mpc8610hpcd.c | 63 i2c_read(0x38, 0x08, 1, &tmp_val, sizeof(tmp_val)); in misc_init_r() 70 i2c_read(0x38, 0x0A, 1, &tmp_val, sizeof(tmp_val)); in misc_init_r()
|
/openbmc/u-boot/board/gdsys/p1022/ |
H A D | ddr.c | 47 int ret = i2c_read(i2c_address, 0, 2, (uchar *)spd, in get_spd()
|
/openbmc/u-boot/board/birdland/bav335x/ |
H A D | board.c | 55 if (i2c_read(CONFIG_SYS_I2C_EEPROM_ADDR, 0, 2, (uchar *)header, in read_eeprom() 61 if (i2c_read(CONFIG_SYS_I2C_EEPROM_ADDR, 0, 1, (uchar *)header, in read_eeprom()
|
/openbmc/u-boot/board/freescale/p1022ds/ |
H A D | p1022ds.c | 113 if (i2c_read(CONFIG_TFP410_I2C_ADDR, 0x08, 1, &temp, sizeof(temp)) < 0) in misc_init_r() 120 if (i2c_read(CONFIG_TFP410_I2C_ADDR, 0x0A, 1, &temp, sizeof(temp)) < 0) in misc_init_r()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | i2c_core.c | 290 int i2c_read(uint8_t chip, unsigned int addr, int alen, in i2c_read() function 325 i2c_read(addr, reg, 1, &buf, 1); in i2c_reg_read()
|
/openbmc/u-boot/board/freescale/ls1021aqds/ |
H A D | dcu.c | 52 ret = i2c_read(CONFIG_SYS_I2C_QIXIS_ADDR, QIXIS_DCU_BRDCFG5, in platform_dcu_init()
|
/openbmc/u-boot/include/ |
H A D | exports.h | 38 int i2c_read (uchar, uint, int , uchar* , int);
|
H A D | palmas.h | 132 return i2c_read(chip_no, reg, 1, val, 1); in palmas_i2c_read_u8()
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_mst_topology.c | 409 …memcpy(&buf[idx], req->u.i2c_read.transactions[i].bytes, req->u.i2c_read.transactions[i].num_bytes… in drm_dp_encode_sideband_req() 410 idx += req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req() 418 buf[idx] = (req->u.i2c_read.num_bytes_read); in drm_dp_encode_sideband_req() 645 req->u.i2c_read.port_number, in drm_dp_dump_sideband_msg_req_body() 646 req->u.i2c_read.num_transactions, in drm_dp_dump_sideband_msg_req_body() 647 req->u.i2c_read.read_i2c_device_id, in drm_dp_dump_sideband_msg_req_body() 648 req->u.i2c_read.num_bytes_read); in drm_dp_dump_sideband_msg_req_body() 653 &req->u.i2c_read.transactions[i]; in drm_dp_dump_sideband_msg_req_body() 715 kfree(req.u.i2c_read.transactions[i].bytes); in drm_dp_mst_dump_sideband_msg_tx() 5629 msg.u.i2c_read.num_transactions = num - 1; in drm_dp_mst_i2c_read() [all …]
|
/openbmc/u-boot/arch/arm/mach-davinci/ |
H A D | misc.c | 49 if (i2c_read(CONFIG_SYS_I2C_EEPROM_ADDR, 0x7F00, in dvevm_read_mac_address()
|
/openbmc/u-boot/board/xes/xpedite517x/ |
H A D | ddr.c | 14 i2c_read(i2c_address, SPD_EEPROM_OFFSET, 2, (uchar *)spd, in get_spd()
|
/openbmc/u-boot/board/xes/xpedite550x/ |
H A D | ddr.c | 15 i2c_read(i2c_address, SPD_EEPROM_OFFSET, 2, (uchar *)spd, in get_spd()
|
/openbmc/u-boot/board/renesas/ecovec/ |
H A D | ecovec.c | 52 i2c_read(0x50, 0x10, 0, mac, 6); in board_late_init()
|
/openbmc/u-boot/board/xes/xpedite537x/ |
H A D | ddr.c | 15 i2c_read(i2c_address, SPD_EEPROM_OFFSET, 2, (uchar *)spd, in get_spd()
|
/openbmc/u-boot/cmd/ |
H A D | i2c.c | 336 ret = i2c_read(chip, devaddr, alen, memaddr, length); in do_i2c_read() 583 ret = i2c_read(chip, addr, alen, linebuf, linebytes); in do_i2c_md() 768 ret = i2c_read(chip, addr, alen, &byte, 1); in do_i2c_crc() 863 ret = i2c_read(chip, addr, alen, (uchar *)&data, size); in mod_i2c_mem() 1080 ret = i2c_read(chip, addr, alen, bytes, length); in do_i2c_loop() 1218 ret = i2c_read(chip, 0, 1, data, sizeof(data)); in do_sdram() 1671 ret = i2c_read(chip, 0, 1, (uchar *)&edid, sizeof(edid)); in do_edid()
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | pmic_tps65910.c | 16 return i2c_read(TPS65910_CTRL_I2C_ADDR, addr, 1, buf, 1); in tps65910_read_reg()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | tca642x.c | 56 if (i2c_read(chip, addr, 1, (uint8_t *)&valw, 1)) { in tca642x_reg_write() 79 if (i2c_read(chip, addr, 1, (u8 *)&valw, 1)) { in tca642x_reg_read()
|
/openbmc/u-boot/board/socrates/ |
H A D | socrates.c | 337 if (i2c_read(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_CFG, 1, &buf, 1)) in w83782d_hwmon_init() 364 if (i2c_read(CONFIG_SYS_I2C_W83782G_ADDR, 0x4e, 1, &old_buf, 1)) in board_backlight_brightness()
|
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/ |
H A D | clk_synthesizer.c | 39 return i2c_read(CLK_SYNTHESIZER_I2C_ADDR, addr, 1, buf, 1); in clk_synthesizer_reg_read()
|
/openbmc/u-boot/board/freescale/c29xpcie/ |
H A D | ddr.c | 98 int ret = i2c_read(i2c_address, 0, 2, (uint8_t *)spd, in get_spd()
|
/openbmc/u-boot/drivers/power/ |
H A D | power_i2c.c | 70 ret = i2c_read(pmic_i2c_addr, reg, 1, buf, pmic_i2c_tx_num); in pmic_reg_read()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-au1550.c | 155 static int i2c_read(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_read() function 228 err = i2c_read(adap, p->buf, p->len); in au1550_xfer()
|