Searched refs:cmos_rtc (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-cmos.c | 49 struct cmos_rtc { struct 213 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_read_alarm() 283 static void cmos_checkintr(struct cmos_rtc *cmos, unsigned char rtc_control) cmos_checkintr() 300 static void cmos_irq_enable(struct cmos_rtc *cmos, unsigned char mask) cmos_irq_enable() 317 static void cmos_irq_disable(struct cmos_rtc *cmos, unsigned char mask) cmos_irq_disable() 331 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_set_alarm() 429 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_alarm_irq_enable() 453 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_procfs() 542 struct cmos_rtc *cmos; cmos_nvram_write() 591 static struct cmos_rtc cmos_rtc; variable in typeref:struct:cmos_rtc 615 if (!cmos_rtc.suspend_ctrl) cmos_interrupt() 618 irqstat &= (cmos_rtc.suspend_ctrl & RTC_IRQMASK) | RTC_IRQF; cmos_interrupt() 625 cmos_rtc.suspend_ctrl &= ~RTC_AIE; cmos_interrupt() 657 if (cmos_rtc.dev) cmos_do_probe() 679 cmos_rtc.irq = rtc_irq; cmos_do_probe() 680 cmos_rtc.iomem = ports; cmos_do_probe() 716 cmos_rtc.day_alrm = info->rtc_day_alarm; cmos_do_probe() 718 cmos_rtc.mon_alrm = info->rtc_mon_alarm; cmos_do_probe() 720 cmos_rtc.century = info->rtc_century; cmos_do_probe() 723 cmos_rtc.wake_on = info->wake_on; cmos_do_probe() 724 cmos_rtc.wake_off = info->wake_off; cmos_do_probe() 728 cmos_rtc.dev = dev; cmos_do_probe() 729 dev_set_drvdata(dev, &cmos_rtc); cmos_do_probe() 731 cmos_rtc.rtc = rtc_device_register(driver_name, dev, cmos_do_probe() 733 if (IS_ERR(cmos_rtc.rtc)) { cmos_do_probe() 734 retval = PTR_ERR(cmos_rtc.rtc); cmos_do_probe() 738 rename_region(ports, dev_name(&cmos_rtc.rtc->dev)); cmos_do_probe() 749 cmos_rtc.rtc->irq_freq = 1024; cmos_do_probe() 750 hpet_set_periodic_freq(cmos_rtc.rtc->irq_freq); cmos_do_probe() 756 cmos_irq_disable(&cmos_rtc, RTC_PIE | RTC_AIE | RTC_UIE); cmos_do_probe() 786 0, dev_name(&cmos_rtc.rtc->dev), cmos_do_probe() 787 cmos_rtc.rtc); cmos_do_probe() 805 cmos_rtc.mon_alrm ? "alarms up to one year" : cmos_do_probe() 806 cmos_rtc.day_alrm ? "alarms up to one month" : cmos_do_probe() 808 cmos_rtc.century ? ", y3k" : "", cmos_do_probe() 816 free_irq(rtc_irq, cmos_rtc.rtc); cmos_do_probe() 818 cmos_rtc.dev = NULL; cmos_do_probe() 819 rtc_device_unregister(cmos_rtc.rtc); cmos_do_probe() 832 cmos_irq_disable(&cmos_rtc, RTC_IRQMASK); cmos_do_shutdown() 838 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_do_remove() 867 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_suspend() 918 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_resume() 1095 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_pnp_shutdown() 1201 struct cmos_rtc *cmos = dev_get_drvdata(dev); cmos_platform_shutdown() 1239 if (!cmos_rtc.dev) { cmos_init()
|
Completed in 40 milliseconds