Home
last modified time | relevance | path

Searched refs:RV3029_STATUS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-rv3029c2.c46 #define RV3029_STATUS 0x03 macro
129 ret = regmap_read(rv3029->regmap, RV3029_STATUS, &sr); in rv3029_eeprom_busywait()
158 ret = regmap_read(rv3029->regmap, RV3029_STATUS, &sr); in rv3029_eeprom_enter()
167 ret = regmap_update_bits(rv3029->regmap, RV3029_STATUS, in rv3029_eeprom_enter()
172 ret = regmap_read(rv3029->regmap, RV3029_STATUS, &sr); in rv3029_eeprom_enter()
312 ret = regmap_read(rv3029->regmap, RV3029_STATUS, &sr); in rv3029_read_time()
442 return regmap_update_bits(rv3029->regmap, RV3029_STATUS, in rv3029_set_time()
454 ret = regmap_read(rv3029->regmap, RV3029_STATUS, &sr); in rv3029_ioctl()
467 return regmap_update_bits(rv3029->regmap, RV3029_STATUS, in rv3029_ioctl()
/openbmc/u-boot/drivers/rtc/
H A Drv3029.c40 #define RV3029_STATUS 0x03 macro
190 int ret = dm_i2c_read(dev, RV3029_STATUS, buf, 1); in rv3029_get_sr()
203 ret = dm_i2c_read(dev, RV3029_STATUS, &val, 1); in rv3029_set_sr()