viortc_hw_xtstamp_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 to hw_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