Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/rtc/
Drtc-ds1307.c117 struct ds1307 { struct
143 u8 (*do_trickle_setup)(struct ds1307 *, u32, argument
149 static u8 do_trickle_setup_ds1339(struct ds1307 *, u32 ohms, bool diode);
380 struct ds1307 *ds1307 = dev_id; in ds1307_irq() local
381 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1307_irq()
385 ret = regmap_read(ds1307->regmap, DS1337_REG_STATUS, &stat); in ds1307_irq()
391 regmap_write(ds1307->regmap, DS1337_REG_STATUS, stat); in ds1307_irq()
393 ret = regmap_update_bits(ds1307->regmap, DS1337_REG_CONTROL, in ds1307_irq()
398 rtc_update_irq(ds1307->rtc, 1, RTC_AF | RTC_IRQF); in ds1307_irq()
411 struct ds1307 *ds1307 = dev_get_drvdata(dev); in ds1307_get_time() local
[all …]
DMakefile56 obj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o
DKconfig245 will be called rtc-ds1307.
248 bool "Century bit support for rtc-ds1307"