Searched refs:rv3028 (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/rtc/ |
| D | rtc-rv3028.c | 95 struct rv3028_data *rv3028 = dev_get_drvdata(dev->parent); in timestamp0_store() local 97 regmap_update_bits(rv3028->regmap, RV3028_EVT_CTRL, RV3028_EVT_CTRL_TSR, in timestamp0_store() 106 struct rv3028_data *rv3028 = dev_get_drvdata(dev->parent); in timestamp0_show() local 111 ret = regmap_read(rv3028->regmap, RV3028_TS_COUNT, &count); in timestamp0_show() 118 ret = regmap_bulk_read(rv3028->regmap, RV3028_TS_SEC, date, in timestamp0_show() 143 struct rv3028_data *rv3028 = dev_get_drvdata(dev->parent); in timestamp0_count_show() local 146 ret = regmap_read(rv3028->regmap, RV3028_TS_COUNT, &count); in timestamp0_count_show() 167 struct rv3028_data *rv3028 = dev_id; in rv3028_handle_irq() local 171 if (regmap_read(rv3028->regmap, RV3028_STATUS, &status) < 0 || in rv3028_handle_irq() 177 dev_warn(&rv3028->rtc->dev, "Voltage low, data loss detected.\n"); in rv3028_handle_irq() [all …]
|
| D | Makefile | 146 obj-$(CONFIG_RTC_DRV_RV3028) += rtc-rv3028.o
|
| D | Kconfig | 667 will be called rtc-rv3028.
|