viortc_hw_xtstamp_params(9)
π NAME π
okay so bestie, this is viortc_hw_xtstamp_params from the Kernel API Manual β and its whole job is literally right there in the name: get HW-specific xtstamp params β¨. That's the vibe, that's the function, no cap π
.
π SYNOPSIS π
int viortc_hw_xtstamp_params (u8 *hw_counter , enum clocksource_ids
*cs_id );
π§ ARGUMENTS π§
hw_counterβ the virtio_rtc HW counter type π«cs_idβ the clocksource id corresponding tohw_counterπ«Ά
π DESCRIPTION π
Gets the HW-specific xtstamp params. If the driver cannot support xtstamp, it returns an error π. That's the whole tea β it's giving "ask the hardware for the xtstamp details" energy, fr fr.
πΈ CONTEXT πΈ
Process context. That's the setting for this one, bestie π§ββοΈβ¨
β RETURN β
- Zero on success π
- A negative error code otherwise π
π SEE ALSO π
The kernel file ./drivers/virtio/virtio_rtc_internal.h β go peek if you want the lore π₯
xoxo, bestie π this page is from the Kernel API Manual, source/version ./drivers/virtio, dated October 2026, and its page name is viortc_hw_xtstamp_params(9) π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms