Lines Matching +full:no +full:- +full:read +full:- +full:rollover
1 // SPDX-License-Identifier: GPL-2.0+
3 * rtc-dm355evm.c - access battery-backed counter in MSP430 firmware
19 * reasonable RTC for applications where alarms and non-NTP drift
22 * The only real glitch is the inability to read or write all four
41 * Read LSB(0) to MSB(3) bytes. Defend against the counter in dm355evm_rtc_read_time()
42 * rolling over by re-reading until the value is stable, in dm355evm_rtc_read_time()
75 dev_dbg(dev, "read timestamp %08x\n", time.value); in dm355evm_rtc_read_time()
93 * REVISIT handle non-atomic writes ... maybe just retry until in dm355evm_rtc_set_time()
94 * byte[1] sticks (no rollover)? in dm355evm_rtc_set_time()
120 /*----------------------------------------------------------------------*/
126 rtc = devm_rtc_allocate_device(&pdev->dev); in dm355evm_rtc_probe()
132 rtc->ops = &dm355evm_rtc_ops; in dm355evm_rtc_probe()
133 rtc->range_max = U32_MAX; in dm355evm_rtc_probe()
145 .name = "rtc-dm355evm",