Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/rtc/
Drtc-pcap.c19 struct pcap_rtc { struct
26 struct pcap_rtc *pcap_rtc = _pcap_rtc; in pcap_rtc_irq() argument
29 if (irq == pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_1HZ)) in pcap_rtc_irq()
31 else if (irq == pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_TODA)) in pcap_rtc_irq()
36 rtc_update_irq(pcap_rtc->rtc, 1, rtc_events); in pcap_rtc_irq()
42 struct pcap_rtc *pcap_rtc = dev_get_drvdata(dev); in pcap_rtc_read_alarm() local
48 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TODA, &tod); in pcap_rtc_read_alarm()
51 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, &days); in pcap_rtc_read_alarm()
61 struct pcap_rtc *pcap_rtc = dev_get_drvdata(dev); in pcap_rtc_set_alarm() local
66 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TODA, tod); in pcap_rtc_set_alarm()
[all …]