viortc_cross_cap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… viortc_cross_cap(9) πŸ’…

okay so this page is from the Kernel API Manual, and it's literally about viortc_cross_cap β€” the VIRTIO_RTC_REQ_CROSS_CAP wrapper. Bestie, it's a tiny kernel helper and we're gonna get into every single detail, no skipping. 🫢


🌸 NAME 🌸

viortc_cross_cap β€” a VIRTIO_RTC_REQ_CROSS_CAP wrapper.

✨ SYNOPSIS ✨

the signature, exactly as it appears, because we do not mess with code around here:

int viortc_cross_cap (struct viortc_dev *viortc , u16 vio_clk_id , u8
hw_counter , bool *supported );

πŸŽ€ ARGUMENTS πŸŽ€

meet the cast, bestie:

  • viortc β€” device data.
  • vio_clk_id β€” virtio_rtc clock id.
  • hw_counter β€” virtio_rtc HW counter type.
  • supported β€” says whether xtstamping is supported for the vio_clk_id/hw_counter pair. (yes, that exact pair πŸ’…)

πŸ¦‹ CONTEXT πŸ¦‹

Process context. That's it, that's the context. πŸ¦‹

πŸ”₯ RETURN πŸ”₯

Zero on success, negative error code otherwise. periodt.

πŸ’– SEE ALSO πŸ’–

the kernel file is ./drivers/virtio/virtio_rtc_driver.c, and the whole friend group shows up here:

okay bye bestie 🫢 this page is from ./drivers/virtio, dated October 2026, and the title is viortc_cross_cap(9) β€” slay and stay hydrated ✨

πŸ“¦ where this page comes from