Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/rtc/
Drtc-m48t59.c47 struct m48t59_private *m48t59 = dev_get_drvdata(dev); in m48t59_mem_writeb() local
49 writeb(val, m48t59->ioaddr+ofs); in m48t59_mem_writeb()
55 struct m48t59_private *m48t59 = dev_get_drvdata(dev); in m48t59_mem_readb() local
57 return readb(m48t59->ioaddr+ofs); in m48t59_mem_readb()
66 struct m48t59_private *m48t59 = dev_get_drvdata(dev); in m48t59_rtc_read_time() local
70 spin_lock_irqsave(&m48t59->lock, flags); in m48t59_rtc_read_time()
97 spin_unlock_irqrestore(&m48t59->lock, flags); in m48t59_rtc_read_time()
106 struct m48t59_private *m48t59 = dev_get_drvdata(dev); in m48t59_rtc_set_time() local
123 spin_lock_irqsave(&m48t59->lock, flags); in m48t59_rtc_set_time()
142 spin_unlock_irqrestore(&m48t59->lock, flags); in m48t59_rtc_set_time()
[all …]
DMakefile91 obj-$(CONFIG_RTC_DRV_M48T59) += rtc-m48t59.o
DKconfig1181 will be called "rtc-m48t59".