Searched refs:DS3232_REG_SR (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/rtc/ |
D | rtc-ds3232.c | 40 #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() 415 ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); in ds3232_irq() 438 ret = regmap_write(ds3232->regmap, DS3232_REG_SR, stat); in ds3232_irq() 685 res = regmap_read(regmap, DS3232_REG_SR, &tmp); in ds3234_probe() 688 res = regmap_write(regmap, DS3232_REG_SR, tmp & 0x88); in ds3234_probe() [all …]
|