Home
last modified time | relevance | path

Searched refs:dm_i2c_write (Results 1 – 25 of 57) sorted by relevance

123

/external/u-boot/test/dm/
Di2c.c54 ut_assertok(dm_i2c_write(dev, 2, (uint8_t *)"AB", 2)); in dm_test_i2c_read_write()
77 ut_asserteq(-EINVAL, dm_i2c_write(dev, 0, buf, 5)); in dm_test_i2c_speed()
143 ut_assertok(dm_i2c_write(dev, 2, (uint8_t *)"AB", 2)); in dm_test_i2c_bytewise()
154 ut_assertok(dm_i2c_write(dev, 2, (uint8_t *)"AB", 2)); in dm_test_i2c_bytewise()
186 ut_assertok(dm_i2c_write(dev, 10 /* ignored */, (uint8_t *)"AB", 2)); in dm_test_i2c_offset()
193 ut_assertok(dm_i2c_write(dev, 2, (uint8_t *)"AB", 2)); in dm_test_i2c_offset()
200 ut_assertok(dm_i2c_write(dev, 0x210, (uint8_t *)"AB", 2)); in dm_test_i2c_offset()
207 ut_assertok(dm_i2c_write(dev, 0x410, (uint8_t *)"AB", 2)); in dm_test_i2c_offset()
214 ut_assertok(dm_i2c_write(dev, 0x420, (uint8_t *)"AB", 2)); in dm_test_i2c_offset()
/external/u-boot/board/congatec/conga-qeval20-qa3-e3845/
Dconga-qeval20-qa3.c55 dm_i2c_write(dev, 0x06, buf, 1); in board_late_init()
58 dm_i2c_write(dev, 0xf8, buf, 1); in board_late_init()
61 dm_i2c_write(dev, 0xfa, buf, 1); in board_late_init()
64 dm_i2c_write(dev, 0xff, buf, 1); in board_late_init()
/external/u-boot/board/nvidia/p2371-2180/
Dp2371-2180.c29 ret = dm_i2c_write(dev, MAX77620_CNFG1_L2_REG, &val, 1); in pin_mux_mmc()
39 ret = dm_i2c_write(dev, MAX77620_CNFG2_L4_REG, &val, 1); in pin_mux_mmc()
50 ret = dm_i2c_write(dev, MAX77620_CNFGGLBL1_REG, &val, 1); in pin_mux_mmc()
90 ret = dm_i2c_write(dev, MAX77620_CNFG1_L1_REG, &val, 1); in tegra_pcie_board_init()
/external/u-boot/board/nvidia/cardhu/
Dcardhu.c58 if (dm_i2c_write(dev, reg, data_buffer, 1)) in board_sdmmc_voltage_init()
67 if (dm_i2c_write(dev, reg, data_buffer, 1)) in board_sdmmc_voltage_init()
105 err = dm_i2c_write(dev, addr, data, 1); in tegra_pcie_board_init()
122 err = dm_i2c_write(dev, addr, data, 1); in tegra_pcie_board_init()
/external/u-boot/board/Marvell/mvebu_armada-37xx/
Dboard.c92 ret = dm_i2c_write(dev, I2C_IO_CFG_REG_0, buf, 1); in board_ahci_enable()
131 ret = dm_i2c_write(dev, I2C_IO_CFG_REG_0, buf, 1); in board_xhci_enable()
144 ret = dm_i2c_write(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_enable()
159 ret = dm_i2c_write(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_enable()
/external/u-boot/board/nvidia/dalmore/
Ddalmore.c57 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init()
66 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init()
80 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init()
/external/u-boot/board/Marvell/mvebu_armada-8k/
Dboard.c71 ret = dm_i2c_write(dev, I2C_IO_CFG_REG_0, buf, 1); in board_xhci_config()
85 ret = dm_i2c_write(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_config()
127 ret = dm_i2c_write(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_enable()
/external/u-boot/board/toradex/apalis_t30/
Dapalis_t30.c91 err = dm_i2c_write(dev, addr, data, 1); in tegra_pcie_board_init()
101 err = dm_i2c_write(dev, addr, data, 1); in tegra_pcie_board_init()
111 err = dm_i2c_write(dev, addr, data, 1); in tegra_pcie_board_init()
/external/u-boot/drivers/rtc/
Disl1208.c74 ret = dm_i2c_write(dev, RTC_STAT_REG_ADDR, &val, sizeof(val)); in isl1208_rtc_get()
118 ret = dm_i2c_write(dev, RTC_STAT_REG_ADDR, &val, sizeof(val)); in isl1208_rtc_set()
130 ret = dm_i2c_write(dev, 0, buf, sizeof(buf)); in isl1208_rtc_set()
140 ret = dm_i2c_write(dev, RTC_STAT_REG_ADDR, &val, sizeof(val)); in isl1208_rtc_set()
Dpcf2127.c47 ret = dm_i2c_write(dev, PCF2127_REG_CTRL1, buf, sizeof(buf)); in pcf2127_rtc_set()
57 ret = dm_i2c_write(dev, PCF2127_REG_CTRL1, buf, 1); in pcf2127_rtc_get()
/external/u-boot/board/nvidia/p2771-0000/
Dp2771-0000.c25 ret = dm_i2c_write(dev, MAX77620_CNFG1_L3_REG, &val, 1); in tegra_board_init()
49 ret = dm_i2c_write(dev, MAX77620_CNFG1_L7_REG, &val, 1); in tegra_pcie_board_init()
/external/u-boot/drivers/i2c/muxes/
Dpca954x.c62 return dm_i2c_write(mux, priv->addr, &byte, 1); in pca954x_deselect()
77 return dm_i2c_write(mux, priv->addr, &byte, 1); in pca954x_select()
/external/u-boot/board/nvidia/e2220-1170/
De2220-1170.c29 ret = dm_i2c_write(dev, MAX77620_CNFG1_L2_REG, &val, 1); in pin_mux_mmc()
/external/u-boot/board/nvidia/p2371-0000/
Dp2371-0000.c29 ret = dm_i2c_write(dev, MAX77620_CNFG1_L2_REG, &val, 1); in pin_mux_mmc()
/external/u-boot/board/nvidia/p2571/
Dp2571.c30 ret = dm_i2c_write(dev, MAX77620_CNFG1_L2_REG, &val, 1); in pin_mux_mmc()
/external/u-boot/drivers/power/pmic/
Drn5t567.c25 ret = dm_i2c_write(dev, reg, buff, len); in rn5t567_write()
Dmax8997.c24 ret = dm_i2c_write(dev, reg, buff, len); in max8997_write()
Dmax8998.c24 ret = dm_i2c_write(dev, reg, buff, len); in max8998_write()
Dsandbox.c30 if (dm_i2c_write(dev, reg, buff, len)) { in sandbox_pmic_write()
Dact8846.c28 if (dm_i2c_write(dev, reg, buff, len)) { in act8846_write()
Dlp873x.c26 if (dm_i2c_write(dev, reg, buff, len)) { in lp873x_write()
Dlp87565.c27 ret = dm_i2c_write(dev, reg, buff, len); in lp87565_write()
Dtps65090.c28 if (dm_i2c_write(dev, reg, buff, len)) { in tps65090_write()
Dmax77686.c30 if (dm_i2c_write(dev, reg, buff, len)) { in max77686_write()
/external/u-boot/board/avionic-design/common/
Dtamonten-ng.c62 dm_i2c_write(dev, reg, &data, 1); in pmu_write()

123