Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kvm/
Dioapic.c91 ioapic->rtc_status.pending_eoi = 0; in rtc_irq_eoi_tracking_reset()
92 bitmap_zero(ioapic->rtc_status.dest_map.map, KVM_MAX_VCPU_ID); in rtc_irq_eoi_tracking_reset()
99 if (WARN_ON(ioapic->rtc_status.pending_eoi < 0)) in rtc_status_pending_eoi_check_valid()
107 struct dest_map *dest_map = &ioapic->rtc_status.dest_map; in __rtc_irq_eoi_tracking_restore_one()
124 ioapic->rtc_status.pending_eoi++; in __rtc_irq_eoi_tracking_restore_one()
127 ioapic->rtc_status.pending_eoi--; in __rtc_irq_eoi_tracking_restore_one()
157 ioapic->rtc_status.dest_map.map)) { in rtc_irq_eoi()
158 --ioapic->rtc_status.pending_eoi; in rtc_irq_eoi()
165 if (ioapic->rtc_status.pending_eoi > 0) in rtc_irq_check_coalesced()
237 struct dest_map *dest_map = &ioapic->rtc_status.dest_map; in kvm_ioapic_scan_entry()
[all …]
Dioapic.h56 struct rtc_status { struct
90 struct rtc_status rtc_status; member
/Linux-v5.4/arch/m68k/bvme6000/
Drtc.c37 static atomic_t rtc_status = ATOMIC_INIT(1); variable
137 if (!atomic_dec_and_test(&rtc_status)) { in rtc_open()
138 atomic_inc(&rtc_status); in rtc_open()
146 atomic_inc(&rtc_status); in rtc_release()
/Linux-v5.4/drivers/char/
Drtc.c187 static unsigned long rtc_status; /* bitmapped status byte. */ variable
250 if (rtc_status & RTC_TIMER_ON) in rtc_interrupt()
420 if (rtc_status & RTC_TIMER_ON) { in rtc_do_ioctl()
421 rtc_status &= ~RTC_TIMER_ON; in rtc_do_ioctl()
442 if (!(rtc_status & RTC_TIMER_ON)) { in rtc_do_ioctl()
445 rtc_status |= RTC_TIMER_ON; in rtc_do_ioctl()
717 if (rtc_status & RTC_IS_OPEN) in rtc_open()
720 rtc_status |= RTC_IS_OPEN; in rtc_open()
758 if (rtc_status & RTC_TIMER_ON) { in rtc_release()
759 rtc_status &= ~RTC_TIMER_ON; in rtc_release()
[all …]
/Linux-v5.4/arch/m68k/hp300/
Dconfig.c122 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) macro
166 s = rtc_status(); in hp300_rtc_read()
194 s = rtc_status(); in hp300_rtc_write()
/Linux-v5.4/drivers/rtc/
Drtc-cmos.c1261 acpi_event_status rtc_status; in cmos_check_acpi_rtc_status() local
1267 status = acpi_get_event_status(ACPI_EVENT_RTC, &rtc_status); in cmos_check_acpi_rtc_status()
1270 } else if (rtc_status & ACPI_EVENT_FLAG_SET) { in cmos_check_acpi_rtc_status()