Home
last modified time | relevance | path

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

/u-boot/drivers/rtc/
A Dpcf8563.c127 sec = dm_i2c_reg_read(dev, 0x02); in pcf8563_rtc_get()
128 min = dm_i2c_reg_read(dev, 0x03); in pcf8563_rtc_get()
129 hour = dm_i2c_reg_read(dev, 0x04); in pcf8563_rtc_get()
130 mday = dm_i2c_reg_read(dev, 0x05); in pcf8563_rtc_get()
131 wday = dm_i2c_reg_read(dev, 0x06); in pcf8563_rtc_get()
132 mon_cent = dm_i2c_reg_read(dev, 0x07); in pcf8563_rtc_get()
133 year = dm_i2c_reg_read(dev, 0x08); in pcf8563_rtc_get()
140 dm_i2c_reg_read(dev, 0x0C), in pcf8563_rtc_get()
141 dm_i2c_reg_read(dev, 0x0B), in pcf8563_rtc_get()
142 dm_i2c_reg_read(dev, 0x0A), in pcf8563_rtc_get()
[all …]
A Dds3231.c180 status = dm_i2c_reg_read(dev, RTC_STAT_REG_ADDR); in ds3231_rtc_get()
181 sec = dm_i2c_reg_read(dev, RTC_SEC_REG_ADDR); in ds3231_rtc_get()
182 min = dm_i2c_reg_read(dev, RTC_MIN_REG_ADDR); in ds3231_rtc_get()
183 hour = dm_i2c_reg_read(dev, RTC_HR_REG_ADDR); in ds3231_rtc_get()
184 wday = dm_i2c_reg_read(dev, RTC_DAY_REG_ADDR); in ds3231_rtc_get()
185 mday = dm_i2c_reg_read(dev, RTC_DATE_REG_ADDR); in ds3231_rtc_get()
186 mon_cent = dm_i2c_reg_read(dev, RTC_MON_REG_ADDR); in ds3231_rtc_get()
187 year = dm_i2c_reg_read(dev, RTC_YR_REG_ADDR); in ds3231_rtc_get()
193 dm_i2c_reg_read(dev, RTC_STAT_REG_ADDR) in ds3231_rtc_get()
A Dabx80x.c144 flags = dm_i2c_reg_read(dev, ABX8XX_REG_OSS); in abx80x_is_rc_mode()
188 flags = dm_i2c_reg_read(dev, ABX8XX_REG_OSS); in abx80x_rtc_read_time()
241 flags = dm_i2c_reg_read(dev, ABX8XX_REG_OSS); in abx80x_rtc_set_time()
268 flags = dm_i2c_reg_read(dev, ABX8XX_REG_OSC); in abx80x_rtc_set_autocalibration()
300 flags = dm_i2c_reg_read(dev, ABX8XX_REG_OSC); in abx80x_rtc_get_autocalibration()
404 data = dm_i2c_reg_read(dev, ABX8XX_REG_CTRL1); in abx80x_probe()
427 data = dm_i2c_reg_read(dev, ABX8XX_REG_CTRL2); in abx80x_probe()
445 data = dm_i2c_reg_read(dev, ABX8XX_REG_OUT_CTRL); in abx80x_probe()
A Dsandbox_rtc.c63 return dm_i2c_reg_read(dev, reg); in sandbox_rtc_read8()
A Drv8803.c72 flags = dm_i2c_reg_read(dev, RTC_FLAG_REG_ADDR); in rv8803_rtc_get()
A Disl1208.c60 return dm_i2c_reg_read(dev, reg); in isl1208_rtc_read8()
A Dpt7c4338.c135 return dm_i2c_reg_read(dev, reg); in rtc_read()
A Dds1337.c198 return dm_i2c_reg_read(dev, reg); in rtc_read()
/u-boot/drivers/clk/
A Dics8n3qv01.c43 u8 tmp = dm_i2c_reg_read(dev, 4 * i + index); in ics8n3qv01_get_fout_calc()
146 tmp = dm_i2c_reg_read(clk->dev, 0) & 0xc0; in ics8n3qv01_set_rate()
163 tmp = dm_i2c_reg_read(clk->dev, 18) & 0x03; in ics8n3qv01_set_rate()
169 tmp = dm_i2c_reg_read(clk->dev, 20) & 0x1f; in ics8n3qv01_set_rate()
/u-boot/board/st/common/
A Dstusb160x.c32 ret = dm_i2c_reg_read(dev, STUSB160X_CC_CONNECTION_STATUS); in stusb160x_cable_connected()
/u-boot/drivers/video/
A Dtda19988.c264 old_val = dm_i2c_reg_read(priv->chip, REG2ADDR(reg)); in tda19988_register_set()
277 old_val = dm_i2c_reg_read(priv->chip, REG2ADDR(reg)); in tda19988_register_clear()
301 return dm_i2c_reg_read(priv->chip, REG2ADDR(reg)); in tda19988_register_read()
596 rev_lo = dm_i2c_reg_read(priv->chip, REG_VERSION_LSB); in tda19988_probe()
597 rev_hi = dm_i2c_reg_read(priv->chip, REG_VERSION_MSB); in tda19988_probe()
637 dm_i2c_reg_read(priv->cec_chip, REG_CEC_RXSHPDINT); in tda19988_probe()
/u-boot/drivers/power/pmic/
A Dpmic_tps65910.c20 rc = dm_i2c_reg_read(tps65910_dev, addr); in tps65910_read_reg()
/u-boot/arch/arm/mach-omap2/am33xx/
A Dclk_synthesizer.c47 rc = dm_i2c_reg_read(dev, addr); in clk_synthesizer_reg_read()
/u-boot/drivers/net/
A Dmdio_mux_i2creg.c34 val_old = dm_i2c_reg_read(priv->chip, priv->reg); in mdio_mux_i2creg_select()
/u-boot/board/amlogic/vim3/
A Dvim3.c77 ret = dm_i2c_reg_read(dev, KHADAS_MCU_USB_PCIE_SWITCH_REG); in meson_ft_board_setup()
/u-boot/drivers/pinctrl/
A Dpinctrl-stmfx.c69 return dm_i2c_reg_read(dev_get_parent(dev), offset); in stmfx_read()
458 ret = dm_i2c_reg_read(dev, STMFX_REG_CHIP_ID); in stmfx_chip_init()
490 ret = dm_i2c_reg_read(dev, STMFX_REG_SYS_CTRL); in stmfx_chip_init()
/u-boot/board/kontron/sl28/
A Dcmds.c52 ret = dm_i2c_reg_read(dev, REG_UFM_CTRL); in ufm_shift_data()
/u-boot/board/eets/pdu001/
A Dboard.c119 val = dm_i2c_reg_read(dev, I2C_REG_NODE_ID_BASE + n / 2); in env_set_serial()
/u-boot/drivers/power/
A Dpalmas.c208 ret = dm_i2c_reg_read(dev, reg); in palmas_i2c_read_u8()
A Dtwl6030.c302 ret = dm_i2c_reg_read(dev, reg); in twl6030_i2c_read_u8()
/u-boot/board/freescale/common/
A Dqixis.c43 return dm_i2c_reg_read(dev, reg); in qixis_read_i2c()
/u-boot/include/
A Di2c.h228 int dm_i2c_reg_read(struct udevice *dev, uint offset);
/u-boot/board/freescale/ls1021atwr/
A Dls1021atwr.c472 i2c_device_id = dm_i2c_reg_read(dev, 0x0) & in ls1twr_program_regulator()
/u-boot/drivers/i2c/
A Di2c-uclass.c229 int dm_i2c_reg_read(struct udevice *dev, uint offset) in dm_i2c_reg_read() function
/u-boot/board/ti/am57xx/
A Dboard.c696 r = dm_i2c_reg_read(dev, OSD_TS_FT_REG_ID); in am57x_idk_lcd_detect()

Completed in 29 milliseconds