ptp_clock_index(9)
πΈ NAME πΈ
okay bestie, this is ptp_clock_index(9) from the Kernel API Manual β and the name is literally doing the most: ptp_clock_index β obtain the device index of a PTP clock β¨
β¨ SYNOPSIS β¨
the whole vibe is this one line, no cap:
int ptp_clock_index (struct ptp_clock *ptp );
π ARGUMENTS π
ptpβ the clock obtained fromptp_clock_register. that's the one, bestie π«Ά
π SEE ALSO π
the Kernel file is right here: ./include/linux/ptp_clock_kernel.h, and then we've got the whole friend group:
struct ptp_clock_request(9)struct ptp_system_timestamp(9)struct ptp_clock_info(9)struct ptp_clock_event(9)scaled_ppm_to_ppb(9)diff_by_scaled_ppm(9)adjust_by_scaled_ppm(9)ptp_clock_register(9)ptp_clock_unregister(9)ptp_clock_event(9)ptp_clock_index_by_of_node(9)ptp_clock_index_by_dev(9)ptp_find_pin(9)ptp_find_pin_unlocked(9)ptp_schedule_worker(9)ptp_cancel_worker_sync(9)ptp_get_vclocks_index(9)ptp_convert_timestamp(9)
mwah π that's the whole page! source/version: ./include/linux, date: October 2026, page: ptp_clock_index(9). bye bestie, go get that device index π¦
π¦ 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