Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-ds3232.c40 #define DS3232_REG_SR 0x0F /* control/status register */ macro
67 ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); in ds3232_check_rtc_status()
78 ret = regmap_write(ds3232->regmap, DS3232_REG_SR, stat); in ds3232_check_rtc_status()
188 ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); in ds3232_read_alarm()
240 ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); in ds3232_set_alarm()
244 ret = regmap_write(ds3232->regmap, DS3232_REG_SR, stat); in ds3232_set_alarm()
414 ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); in ds3232_irq()
437 ret = regmap_write(ds3232->regmap, DS3232_REG_SR, stat); in ds3232_irq()
683 res = regmap_read(regmap, DS3232_REG_SR, &tmp); in ds3234_probe()
686 res = regmap_write(regmap, DS3232_REG_SR, tmp & 0x88); in ds3234_probe()
[all …]