Searched refs:m48t59 (Results 1 – 3 of 3) sorted by relevance
47 struct m48t59_private *m48t59 = dev_get_drvdata(dev); in m48t59_mem_writeb() local49 writeb(val, m48t59->ioaddr+ofs); in m48t59_mem_writeb()55 struct m48t59_private *m48t59 = dev_get_drvdata(dev); in m48t59_mem_readb() local57 return readb(m48t59->ioaddr+ofs); in m48t59_mem_readb()66 struct m48t59_private *m48t59 = dev_get_drvdata(dev); in m48t59_rtc_read_time() local70 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() local123 spin_lock_irqsave(&m48t59->lock, flags); in m48t59_rtc_set_time()142 spin_unlock_irqrestore(&m48t59->lock, flags); in m48t59_rtc_set_time()[all …]
91 obj-$(CONFIG_RTC_DRV_M48T59) += rtc-m48t59.o
1181 will be called "rtc-m48t59".