viortc_ptp_get_cross_cap(9)
πΈ NAME πΈ
This is the viortc_ptp_get_cross_cap(9) page from the Kernel API Manual, bestie β and it's lowkey iconic. β¨
viortc_ptp_get_cross_cap β get xtstamp support info from device. That's literally the whole vibe. π
β¨ SYNOPSIS β¨
int viortc_ptp_get_cross_cap (struct viortc_dev *viortc , struct
viortc_ptp_clock *vio_ptp );
π ARGUMENTS π
viortcβ virtio_rtc device data. The device bestie in question, fr fr.vio_ptpβ virtio_rtc PTP clock abstraction. Your PTP clock bestie.
π«Ά CONTEXT π«Ά
Process context. No cap, that's the context. π¦
π₯ RETURN π₯
Zero on success, negative error code otherwise. So if you get 0, slay; if it's negative, that's a nope. π
π SEE ALSO π
- Kernel file
./drivers/virtio/virtio_rtc_ptp.c struct viortc_ptp_clock(9)struct viortc_ptp_cross_ctx(9)viortc_ptp_get_time_fn(9)viortc_ptp_do_xtstamp(9)viortc_ptp_getcrosststamp(9)viortc_ptp_unregister(9)viortc_ptp_register(9)
This page comes from the ./drivers/virtio source, dated October 2026, and yes bestie, it's the viortc_ptp_get_cross_cap(9) manual. Go get that xtstamp support info πβ¨π
π¦ 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