Searched refs:m48t59 (Results 1 – 4 of 4) sorted by relevance
51 struct m48t59_private *m48t59 = platform_get_drvdata(pdev); in m48t59_mem_writeb() local53 writeb(val, m48t59->ioaddr+ofs); in m48t59_mem_writeb()60 struct m48t59_private *m48t59 = platform_get_drvdata(pdev); in m48t59_mem_readb() local62 return readb(m48t59->ioaddr+ofs); in m48t59_mem_readb()72 struct m48t59_private *m48t59 = platform_get_drvdata(pdev); in m48t59_rtc_read_time() local76 spin_lock_irqsave(&m48t59->lock, flags); in m48t59_rtc_read_time()103 spin_unlock_irqrestore(&m48t59->lock, flags); in m48t59_rtc_read_time()115 struct m48t59_private *m48t59 = platform_get_drvdata(pdev); in m48t59_rtc_set_time() local132 spin_lock_irqsave(&m48t59->lock, flags); in m48t59_rtc_set_time()151 spin_unlock_irqrestore(&m48t59->lock, flags); in m48t59_rtc_set_time()[all …]
62 obj-$(CONFIG_RTC_DRV_M48T59) += rtc-m48t59.o
612 will be called "rtc-m48t59".
401 compatible = "m48t59";