Home
last modified time | relevance | path

Searched refs:i2c_write (Results 1 – 25 of 81) sorted by relevance

1234

/u-boot/board/freescale/common/
A Dpq-mds-pib.c29 i2c_write(0x23, 0x6, 1, &val8, 1); in pib_init()
30 i2c_write(0x23, 0x7, 1, &val8, 1); in pib_init()
32 i2c_write(0x23, 0x2, 1, &val8, 1); in pib_init()
33 i2c_write(0x23, 0x3, 1, &val8, 1); in pib_init()
36 i2c_write(0x26, 0x6, 1, &val8, 1); in pib_init()
38 i2c_write(0x26, 0x7, 1, &val8, 1); in pib_init()
44 i2c_write(0x26, 0x2, 1, &val8, 1); in pib_init()
46 i2c_write(0x26, 0x3, 1, &val8, 1); in pib_init()
49 i2c_write(0x27, 0x6, 1, &val8, 1); in pib_init()
50 i2c_write(0x27, 0x7, 1, &val8, 1); in pib_init()
[all …]
A Ddcu_sii9022a.c166 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_TRANS_MODE_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
172 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_PWR_STAT_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
176 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_SET_PAGE_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
182 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_RW_ACCESS_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
186 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_SYS_CTRL_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
191 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, PIXEL_CLK_LSB_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
193 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, PIXEL_CLK_MSB_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
216 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, VERT_FREQ_LSB_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
218 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, VERT_FREQ_MSB_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
223 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_INBUS_FMT_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
[all …]
A Ddiu_ch7301.c135 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, I2C_DVI_TEST_PATTERN_REG, 1, in diu_set_dvi_encoder()
142 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, I2C_DVI_INPUT_DATA_FORMAT_REG, in diu_set_dvi_encoder()
151 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, I2C_DVI_SYNC_POLARITY_REG, 1, in diu_set_dvi_encoder()
161 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, in diu_set_dvi_encoder()
168 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, in diu_set_dvi_encoder()
175 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, in diu_set_dvi_encoder()
183 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, in diu_set_dvi_encoder()
190 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, in diu_set_dvi_encoder()
197 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, in diu_set_dvi_encoder()
206 ret = i2c_write(CONFIG_SYS_I2C_DVI_ADDR, I2C_DVI_POWER_MGMT_REG, 1, in diu_set_dvi_encoder()
A Demc2305.c28 if (i2c_write(chip_addr, Fan[index], 1, &data, 1) != 0) { in set_fan_speed()
52 if (i2c_write(chip_addr, I2C_EMC2305_CONF, 1, &data, 1) != 0) in emc2305_init()
/u-boot/board/freescale/mpc8349emds/
A Dpci.c72 i2c_write(0x23, 0x6, 1, &val8, 1); in pib_init()
73 i2c_write(0x23, 0x7, 1, &val8, 1); in pib_init()
75 i2c_write(0x23, 0x2, 1, &val8, 1); in pib_init()
76 i2c_write(0x23, 0x3, 1, &val8, 1); in pib_init()
79 i2c_write(0x26, 0x6, 1, &val8, 1); in pib_init()
81 i2c_write(0x26, 0x7, 1, &val8, 1); in pib_init()
91 i2c_write(0x26, 0x2, 1, &val8, 1); in pib_init()
93 i2c_write(0x26, 0x3, 1, &val8, 1); in pib_init()
95 i2c_write(0x27, 0x6, 1, &val8, 1); in pib_init()
96 i2c_write(0x27, 0x7, 1, &val8, 1); in pib_init()
[all …]
/u-boot/board/freescale/mpc8568mds/
A Dmpc8568mds.c266 i2c_write(0x23, 0x6, 1, &val8, 1); in pib_init()
267 i2c_write(0x23, 0x7, 1, &val8, 1); in pib_init()
269 i2c_write(0x23, 0x2, 1, &val8, 1); in pib_init()
270 i2c_write(0x23, 0x3, 1, &val8, 1); in pib_init()
273 i2c_write(0x26, 0x6, 1, &val8, 1); in pib_init()
275 i2c_write(0x26, 0x7, 1, &val8, 1); in pib_init()
277 i2c_write(0x26, 0x2, 1, &val8, 1); in pib_init()
279 i2c_write(0x26, 0x3, 1, &val8, 1); in pib_init()
282 i2c_write(0x27, 0x6, 1, &val8, 1); in pib_init()
283 i2c_write(0x27, 0x7, 1, &val8, 1); in pib_init()
[all …]
/u-boot/board/freescale/ls1043aqds/
A Dls1043aqds.c411 i2c_write(I2C_RETIMER_ADDR, 0xff, 1, &reg, 1); in board_retimer_init()
419 i2c_write(I2C_RETIMER_ADDR, 0xff, 1, &reg, 1); in board_retimer_init()
424 i2c_write(I2C_RETIMER_ADDR, 0, 1, &reg, 1); in board_retimer_init()
429 i2c_write(I2C_RETIMER_ADDR, 9, 1, &reg, 1); in board_retimer_init()
434 i2c_write(I2C_RETIMER_ADDR, 0x18, 1, &reg, 1); in board_retimer_init()
440 i2c_write(I2C_RETIMER_ADDR, 0x1e, 1, &reg, 1); in board_retimer_init()
444 i2c_write(I2C_RETIMER_ADDR, 0x60, 1, &reg, 1); in board_retimer_init()
446 i2c_write(I2C_RETIMER_ADDR, 0x61, 1, &reg, 1); in board_retimer_init()
448 i2c_write(I2C_RETIMER_ADDR, 0x62, 1, &reg, 1); in board_retimer_init()
450 i2c_write(I2C_RETIMER_ADDR, 0x63, 1, &reg, 1); in board_retimer_init()
[all …]
/u-boot/board/freescale/ls1088a/
A Dls1088a.c450 i2c_write(I2C_RETIMER_ADDR, 0xff, 1, &reg, 1); in board_retimer_init()
469 i2c_write(I2C_RETIMER_ADDR, 0xff, 1, &reg, 1); in board_retimer_init()
482 i2c_write(I2C_RETIMER_ADDR, 0, 1, &reg, 1); in board_retimer_init()
490 i2c_write(I2C_RETIMER_ADDR, 0x60, 1, &reg, 1); in board_retimer_init()
496 i2c_write(I2C_RETIMER_ADDR, 0x61, 1, &reg, 1); in board_retimer_init()
502 i2c_write(I2C_RETIMER_ADDR, 0x62, 1, &reg, 1); in board_retimer_init()
508 i2c_write(I2C_RETIMER_ADDR, 0x63, 1, &reg, 1); in board_retimer_init()
570 i2c_write(I2C_RETIMER_ADDR2, 0, 1, &reg, 1); in board_retimer_init()
684 ret = i2c_write(I2C_SVDD_MONITOR_ADDR, in get_serdes_volt()
723 ret = i2c_write(I2C_SVDD_MONITOR_ADDR, in set_serdes_volt()
[all …]
/u-boot/board/freescale/p1010rdb/
A Dp1010rdb.c270 i2c_write(I2C_PCA9557_ADDR1, 3, 1, &tmp, 1); in config_board_mux()
272 i2c_write(I2C_PCA9557_ADDR1, 1, 1, &tmp, 1); in config_board_mux()
279 i2c_write(I2C_PCA9557_ADDR1, 3, 1, &tmp, 1); in config_board_mux()
281 i2c_write(I2C_PCA9557_ADDR1, 1, 1, &tmp, 1); in config_board_mux()
307 i2c_write(I2C_PCA9557_ADDR2, 1, 1, &tmp, 1); in config_board_mux()
310 i2c_write(I2C_PCA9557_ADDR2, 3, 1, &tmp, 1); in config_board_mux()
317 i2c_write(I2C_PCA9557_ADDR2, 1, 1, &tmp, 1); in config_board_mux()
320 i2c_write(I2C_PCA9557_ADDR2, 3, 1, &tmp, 1); in config_board_mux()
328 i2c_write(I2C_PCA9557_ADDR2, 1, 1, &tmp, 1); in config_board_mux()
331 i2c_write(I2C_PCA9557_ADDR2, 3, 1, &tmp, 1); in config_board_mux()
[all …]
/u-boot/drivers/power/pmic/
A Dpmic_tps65217.c71 ret = i2c_write(TPS65217_CHIP_PM, TPS65217_PASSWORD, 1, in tps65217_reg_write()
81 ret = i2c_write(TPS65217_CHIP_PM, dest_reg, 1, &dest_val, 1); in tps65217_reg_write()
90 ret = i2c_write(TPS65217_CHIP_PM, TPS65217_PASSWORD, 1, in tps65217_reg_write()
100 ret = i2c_write(TPS65217_CHIP_PM, dest_reg, 1, &dest_val, 1); in tps65217_reg_write()
A Dpmic_tps65218.c65 ret = i2c_write(TPS65218_CHIP_PM, TPS65218_PASSWORD, 1, in tps65218_reg_write()
71 ret = i2c_write(TPS65218_CHIP_PM, dest_reg, 1, &dest_val, 1); in tps65218_reg_write()
76 ret = i2c_write(TPS65218_CHIP_PM, TPS65218_PASSWORD, 1, in tps65218_reg_write()
81 ret = i2c_write(TPS65218_CHIP_PM, dest_reg, 1, &dest_val, 1); in tps65218_reg_write()
/u-boot/arch/arm/mach-sunxi/
A Dpmic_bus.c85 return i2c_write(AXP152_I2C_ADDR, reg, 1, &data, 1); in pmic_bus_write()
87 return i2c_write(AXP209_I2C_ADDR, reg, 1, &data, 1); in pmic_bus_write()
89 return i2c_write(AXP305_I2C_ADDR, reg, 1, &data, 1); in pmic_bus_write()
94 return i2c_write(AXP209_I2C_ADDR, reg, 1, &data, 1); in pmic_bus_write()
/u-boot/drivers/rtc/
A Dm41t11.c104 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, &cent, M41T11_YEAR_SIZE); in rtc_get()
149 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, &cent, M41T11_YEAR_SIZE); in rtc_set()
152 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, data, RTC_REG_CNT); in rtc_set()
163 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, &val, RTC_REG_CNT); in rtc_reset()
167 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1); in rtc_reset()
A Dm41t60.c104 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC, 1, data, 1)) { in rtc_validate()
140 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_validate()
191 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, RTC_REG_CNT)) { in rtc_set()
234 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CTRL, 1, data + RTC_CTRL, 1)) { in rtc_reset()
/u-boot/board/LaCie/net2big_v2/
A Dnet2big_v2.c103 if (i2c_write(CONFIG_SYS_I2C_G762_ADDR, in init_fan()
107 if (i2c_write(CONFIG_SYS_I2C_G762_ADDR, in init_fan()
127 if (i2c_write(CONFIG_SYS_I2C_G762_ADDR, in init_fan()
/u-boot/include/
A D_exports.h44 EXPORT_FUNC(i2c_write, int, i2c_write, uchar, uint, int , uchar * , int)
47 EXPORT_FUNC(dummy, void, i2c_write, void)
/u-boot/board/freescale/ls1021aqds/
A Ddcu.c35 ret = i2c_write(I2C_MUX_PCA_ADDR_PRI, 0, 1, &ch, 1); in select_i2c_ch_pca9547()
99 ret = i2c_write(CONFIG_SYS_I2C_QIXIS_ADDR, QIXIS_DCU_BRDCFG5, in platform_dcu_init()
/u-boot/arch/arm/mach-omap2/am33xx/
A Dclk_synthesizer.c34 rc = i2c_write(CLK_SYNTHESIZER_I2C_ADDR, addr, 1, buf, 1); in clk_synthesizer_reg_read()
76 rc = i2c_write(CLK_SYNTHESIZER_I2C_ADDR, addr, 1, cmd, 2); in clk_synthesizer_reg_write()
/u-boot/drivers/misc/
A Dmc9sdz60.c33 i2c_write(CONFIG_SYS_FSL_MC9SDZ60_I2C_ADDR, reg, 1, &val, 1); in mc9sdz60_reg_write()
A Dpca9551_led.c87 ret = i2c_write(CONFIG_PCA9551_I2C_ADDR, reg, 1, &buf, 1); in pca9551_led_set_state()
111 ret = i2c_write(CONFIG_PCA9551_I2C_ADDR, reg, 1, (u8 *)&rate, 2); in pca9551_led_set_blink_rate()
/u-boot/drivers/power/
A Dsy8106a.c28 return i2c_write(SY8106A_I2C_ADDR, SY8106A_VOUT1_SEL, 1, &data, 1); in sy8106a_set_vout1()
/u-boot/drivers/bootcount/
A Dbootcount_i2c.c20 ret = i2c_write(CONFIG_SYS_I2C_RTC_ADDR, CONFIG_SYS_BOOTCOUNT_ADDR, in bootcount_store()
/u-boot/board/freescale/t102xrdb/
A Dt102xrdb.c353 i2c_write(I2C_PCA6408_ADDR, 1, 1, &tmp, 1); in t1023rdb_ctrl()
355 i2c_write(I2C_PCA6408_ADDR, 3, 1, &tmp, 1); in t1023rdb_ctrl()
362 i2c_write(I2C_PCA6408_ADDR, 1, 1, &tmp, 1); in t1023rdb_ctrl()
364 i2c_write(I2C_PCA6408_ADDR, 3, 1, &tmp, 1); in t1023rdb_ctrl()
/u-boot/board/advantech/dms-ba16/
A Ddms-ba16.c562 i2c_write(DA9063_ADDR, BCORE2_CONF , 1, &val, 1); in pmic_init()
567 i2c_write(DA9063_ADDR, BCORE1_CONF , 1, &val, 1); in pmic_init()
572 i2c_write(DA9063_ADDR, BPRO_CONF , 1, &val, 1); in pmic_init()
577 i2c_write(DA9063_ADDR, BIO_CONF , 1, &val, 1); in pmic_init()
582 i2c_write(DA9063_ADDR, BMEM_CONF , 1, &val, 1); in pmic_init()
587 i2c_write(DA9063_ADDR, BPERI_CONF , 1, &val, 1); in pmic_init()
/u-boot/board/davinci/da8xxevm/
A Dda850evm.c407 ret = i2c_write(CONFIG_SYS_I2C_EXPANDER_ADDR, 4, 1, buf, 2); in rmii_hw_init()
417 ret = i2c_write(CONFIG_SYS_I2C_EXPANDER_ADDR, 6, 1, buf, 2); in rmii_hw_init()
435 if (i2c_write(CONFIG_SYS_I2C_EXPANDER_ADDR, 2, 1, buf, 1)) { in rmii_hw_init()

Completed in 44 milliseconds

1234