viortc_ptp_unregister(9)
π viortc_ptp_unregister β ok bestie, this is from the Kernel API Manual (section 9, kernel functions, iykyk)
β¨ NAME β¨
viortc_ptp_unregister β the PTP clock unregistering wrapper. it's giving cleanup era, no cap π§Ή
πΈ SYNOPSIS πΈ
int viortc_ptp_unregister (struct viortc_ptp_clock *vio_ptp , struct
device *parent_dev );
literally that's the whole signature. two args, one int coming back at you π
π ARGUMENTS π
vio_ptpβ the virtio_rtc PTP clock. the main character of this whole operation πparent_devβ the parent device of the PTP clock. the supporting role that still gets a credit π«Ά
β RETURN β
Zero on success, negative error code otherwise. that's it, that's the vibe check β 0 means slay, negative means π
π¦ SEE ALSO π¦
Kernel file ./drivers/virtio/virtio_rtc_ptp.c, plus the whole friend group:
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_get_cross_cap(9)viortc_ptp_register(9)β the literal counterpart, go say hi π
lowkey important: this page lives at./drivers/virtio, dated October 2026, and it's pageviortc_ptp_unregister(9)of the Kernel API Manual. go off, extra-flirty-seventies, we love a documented syscall wrapping moment πβ¨π
π¦ 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