viortc_ptp_get_time_fn(9)
π NAME π
okay so bestie, this is viortc_ptp_get_time_fn(9) β literally the callback for get_device_system_crosststamp(). no cap, that's the whole name vibe. β¨
π SYNOPSIS π
int viortc_ptp_get_time_fn (ktime_t *device_time , struct system_counterval_t *system_counterval , void *ctx );
πΈ ARGUMENTS πΈ
device_timeβ the device clock reading, bestie. that's it. that's the tea. π«system_countervalβ the HW counter value atdevice_time. iconic pairing, honestly. πctxβ context with already obtained crosststamp. she's already got the stamp, okay? π
β RETURN β
it returns zero (success). periodt. that's the whole return section. slay. π
π¦ SEE ALSO π¦
Kernel file: ./drivers/virtio/virtio_rtc_ptp.c
struct viortc_ptp_clock(9)struct viortc_ptp_cross_ctx(9)viortc_ptp_do_xtstamp(9)viortc_ptp_getcrosststamp(9)viortc_ptp_unregister(9)viortc_ptp_get_cross_cap(9)viortc_ptp_register(9)
and that's the whole page, bestie π huge shoutout to ./drivers/virtio, the date October 2026, and the manual page viortc_ptp_get_time_fn(9) β byeee, go read your kernel docs, ily! π§β¨
π¦ 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