viortc_clas...m_irq_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ viortc_class_alarm_irq_enable(9) ✨

okay so this is a page from the Kernel API Manual, section 9 β€” yes, that section 9, the kernel-functions one 🫢 β€” and it's all about one tiny little function. don't let the giant name scare you, bestie, it's literally just "turn the alarm interrupt on or off" and honestly? iconic behaviour πŸ’…

πŸŽ€ NAME πŸŽ€

viortc_class_alarm_irq_enable β€” the RTC class op alarm_irq_enable. that's it, that's the whole vibe. it's the class operation that flips the alarm IRQ ✨


🌸 SYNOPSIS 🌸

int viortc_class_alarm_irq_enable (struct device *dev , unsigned int
enabled );

like, look at her. gorgeous. takes two things, gives you back an int πŸ’– (yes, the spacing is exactly like that, i don't make the rules 😭)

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the virtio device. this is your main character right here πŸ‘‘ the virtio device you're doing the thing to.
  • enabled β€” enable or disable the alarm IRQ. that's the whole switch, bestie: on mode or off mode 🌈

⭐ CONTEXT ⭐

Process context. so like, normal-process vibes only. you're not in some weird interrupt place, you're just... in a process, doing your thing 🧚

πŸ’œ RETURN πŸ’œ

  • Zero on success β€” slay, it worked πŸ’…
  • negative error code otherwise β€” not slay, something went wrong 😭 (negative, so you will notice)

πŸ”₯ SEE ALSO πŸ”₯

literally all her friends, no cap:


fr fr read the whole squad, they all hang out together and you'll understand this one way better if you do 🫢

okay that's the page!! sourced from ./drivers/virtio, dated October 2026, and the manual name is Kernel API Manual in case you forgot already πŸ™ˆ mwah, go forth and enable some alarm IRQs responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from