Home
last modified time | relevance | path

Searched refs:dm_i2c_read (Results 1 – 25 of 48) sorted by relevance

12

/external/u-boot/test/dm/
Di2c.c52 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_read_write()
55 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_read_write()
73 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_speed()
76 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_speed()
92 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_offset_len()
124 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_bytewise()
133 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_bytewise()
138 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_bytewise()
144 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_bytewise()
149 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_bytewise()
[all …]
/external/u-boot/board/Marvell/mvebu_armada-8k/
Dboard.c64 ret = dm_i2c_read(dev, I2C_IO_CFG_REG_0, buf, 1); in board_xhci_config()
78 ret = dm_i2c_read(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_config()
119 ret = dm_i2c_read(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_enable()
/external/u-boot/drivers/rtc/
Disl1208.c63 ret = dm_i2c_read(dev, 0, buf, sizeof(buf)); in isl1208_rtc_get()
69 ret = dm_i2c_read(dev, RTC_STAT_REG_ADDR, &val, sizeof(val)); in isl1208_rtc_get()
112 ret = dm_i2c_read(dev, RTC_STAT_REG_ADDR, &val, sizeof(val)); in isl1208_rtc_set()
135 ret = dm_i2c_read(dev, RTC_STAT_REG_ADDR, &val, sizeof(val)); in isl1208_rtc_set()
/external/u-boot/board/Marvell/mvebu_armada-37xx/
Dboard.c81 ret = dm_i2c_read(dev, I2C_IO_CFG_REG_0, buf, 1); in board_ahci_enable()
125 ret = dm_i2c_read(dev, I2C_IO_CFG_REG_0, buf, 1); in board_xhci_enable()
138 ret = dm_i2c_read(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_enable()
/external/u-boot/board/nvidia/p2371-2180/
Dp2371-2180.c34 ret = dm_i2c_read(dev, MAX77620_CNFG2_L4_REG, &val, 1); in pin_mux_mmc()
45 ret = dm_i2c_read(dev, MAX77620_CNFGGLBL1_REG, &val, 1); in pin_mux_mmc()
/external/u-boot/drivers/gpio/
Dpca953x_gpio.c101 ret = dm_i2c_read(dev, (reg << bank_shift) + off, &byte, 1); in pca953x_read_single()
118 ret = dm_i2c_read(dev, reg, val, 1); in pca953x_read_regs()
120 ret = dm_i2c_read(dev, reg << 1, val, info->bank_count); in pca953x_read_regs()
123 ret = dm_i2c_read(dev, (reg << 3) | 0x80, val, in pca953x_read_regs()
/external/u-boot/board/k+p/kp_imx53/
Dkp_id_rev.c82 ret = dm_i2c_read(dev, 0x0, (uchar *)&eeprom, sizeof(eeprom)); in read_eeprom()
101 dm_i2c_read(dev, 0x0, &rev_id, sizeof(rev_id)); in read_board_id()
/external/u-boot/drivers/tpm/
Dtpm_atmel_twi.c97 while ((res = dm_i2c_read(dev, 0, recvbuf, 10))) in tpm_atmel_twi_xfer()
121 res = dm_i2c_read(dev, 0, recvbuf, *recv_len); in tpm_atmel_twi_xfer()
/external/u-boot/cmd/
Di2c.c334 ret = dm_i2c_read(dev, devaddr, memaddr, length); in do_i2c_read()
581 ret = dm_i2c_read(dev, addr, linebuf, linebytes); in do_i2c_md()
766 ret = dm_i2c_read(dev, addr, &byte, 1); in do_i2c_crc()
861 ret = dm_i2c_read(dev, addr, (uchar *)&data, size); in mod_i2c_mem()
1078 ret = dm_i2c_read(dev, addr, bytes, length); in do_i2c_loop()
1216 ret = dm_i2c_read(dev, 0, data, sizeof(data)); in do_sdram()
1669 ret = dm_i2c_read(dev, 0, (uchar *)&edid, sizeof(edid)); in do_edid()
/external/u-boot/board/congatec/conga-qeval20-qa3-e3845/
Dconga-qeval20-qa3.c47 dm_i2c_read(dev, 0x00, buf, 1); in board_late_init()
/external/u-boot/drivers/power/pmic/
Drn5t567.c38 ret = dm_i2c_read(dev, reg, buff, len); in rn5t567_read()
Dmax8997.c35 ret = dm_i2c_read(dev, reg, buff, len); in max8997_read()
Dmax8998.c35 ret = dm_i2c_read(dev, reg, buff, len); in max8998_read()
Dsandbox.c41 if (dm_i2c_read(dev, reg, buff, len)) { in sandbox_pmic_read()
Dact8846.c38 if (dm_i2c_read(dev, reg, buff, len)) { in act8846_read()
Dlp873x.c36 if (dm_i2c_read(dev, reg, buff, len)) { in lp873x_read()
Dlp87565.c38 ret = dm_i2c_read(dev, reg, buff, len); in lp87565_read()
Dtps65090.c40 ret = dm_i2c_read(dev, reg, buff, len); in tps65090_read()
Dmax77686.c40 if (dm_i2c_read(dev, reg, buff, len)) { in max77686_read()
Dstpmu1.c48 ret = dm_i2c_read(dev, reg, buff, len); in stpmu1_read()
Ds5m8767.c39 if (dm_i2c_read(dev, reg, buff, len)) { in s5m8767_read()
Ds2mps11.c42 ret = dm_i2c_read(dev, reg, buff, len); in s2mps11_read()
Dpfuze100.c43 if (dm_i2c_read(dev, reg, buff, len)) { in pfuze100_read()
Dmc34708.c54 ret = dm_i2c_read(dev, reg, buf, len); in mc34708_read()
/external/u-boot/board/CZ.NIC/turris_omnia/
Dturris_omnia.c110 ret = dm_i2c_read(dev, OMNIA_I2C_MCU_ADDR_STATUS, (uchar *) &mode, 2); in omnia_detect_sata()
171 ret = dm_i2c_read(dev, OMNIA_I2C_EEPROM_CONFIG_ADDR, (uchar *) oep, sizeof(struct omnia_eeprom)); in omnia_read_eeprom()

12