Home
last modified time | relevance | path

Searched refs:dm_i2c_reg_write (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/drivers/rtc/
Dsandbox_rtc.c47 ret = dm_i2c_reg_write(dev, REG_SEC, time->tm_sec); in sandbox_rtc_set()
50 ret = dm_i2c_reg_write(dev, REG_MIN, time->tm_min); in sandbox_rtc_set()
53 ret = dm_i2c_reg_write(dev, REG_HOUR, time->tm_hour); in sandbox_rtc_set()
56 ret = dm_i2c_reg_write(dev, REG_MDAY, time->tm_mday); in sandbox_rtc_set()
59 ret = dm_i2c_reg_write(dev, REG_MON, time->tm_mon); in sandbox_rtc_set()
62 ret = dm_i2c_reg_write(dev, REG_YEAR, time->tm_year - 1900); in sandbox_rtc_set()
65 ret = dm_i2c_reg_write(dev, REG_WDAY, time->tm_wday); in sandbox_rtc_set()
74 return dm_i2c_reg_write(dev, REG_RESET, 0); in sandbox_rtc_reset()
84 return dm_i2c_reg_write(dev, reg, val); in sandbox_rtc_write8()
Dds1307.c261 dm_i2c_reg_write(dev, RTC_SEC_REG_ADDR, in ds1307_rtc_get()
270 dm_i2c_reg_write(dev, RTC_DAY_REG_ADDR, in ds1307_rtc_get()
277 dm_i2c_reg_write(dev, RTC_SEC_REG_ADDR, in ds1307_rtc_get()
308 ret = dm_i2c_reg_write(dev, RTC_SEC_REG_ADDR, 0x00); in ds1307_rtc_reset()
311 ret = dm_i2c_reg_write(dev, RTC_CTL_REG_ADDR, in ds1307_rtc_reset()
/external/u-boot/drivers/i2c/
Di2c-uclass-compat.c127 dm_i2c_reg_write(dev, offset, val); in i2c_reg_write()
Di2c-uclass.c233 int dm_i2c_reg_write(struct udevice *dev, uint offset, uint value) in dm_i2c_reg_write() function
/external/u-boot/board/eets/pdu001/
Dboard.c105 dm_i2c_reg_write(dev, I2C_REG_RUN_LED, val); in set_run_led()
/external/u-boot/drivers/clk/
Dics8n3qv01.c175 res = dm_i2c_reg_write(clk->dev, addr[i], reg[i]); in ics8n3qv01_set_rate()
/external/u-boot/include/
Di2c.h190 int dm_i2c_reg_write(struct udevice *dev, uint offset, unsigned int val);