Lines Matching refs:pcap
20 struct pcap_chip *pcap; member
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()
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()
66 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TODA, tod); in pcap_rtc_set_alarm()
69 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, days); in pcap_rtc_set_alarm()
80 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TOD, &tod); in pcap_rtc_read_time()
83 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAY, &days); in pcap_rtc_read_time()
98 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TOD, tod); in pcap_rtc_set_time()
101 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_DAY, days); in pcap_rtc_set_time()
111 enable_irq(pcap_to_irq(pcap_rtc->pcap, pirq)); in pcap_rtc_irq_enable()
113 disable_irq(pcap_to_irq(pcap_rtc->pcap, pirq)); in pcap_rtc_irq_enable()
142 pcap_rtc->pcap = dev_get_drvdata(pdev->dev.parent); in pcap_rtc_probe()
153 timer_irq = pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_1HZ); in pcap_rtc_probe()
154 alarm_irq = pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_TODA); in pcap_rtc_probe()