fec_ptp_read(9)
okay bestie, welcome to fec_ptp_read(9) from the Kernel API Manual β this is the read raw cycle counter situation, and yes it's as niche and iconic as it sounds. π
β¨
πΈ NAME πΈ
fec_ptp_read β read raw cycle counter (to be used by time counter) π
π SYNOPSIS π
u64 fec_ptp_read (struct cyclecounter *cc );
that's the whole signature, no cap β copy it exactly if you're typing it out, bestie. π«Ά
π¦ ARGUMENTS π¦
ccβ thecyclecounterstructure. that's the one you're handing over. π
β¨ DESCRIPTION β¨
okay so here's the tea: this function reads the cyclecounter registers, and it is called by the cyclecounter structure used to construct a ns counter from the arbitrary fixed point registers. literally that's the vibe β registers in, counter construction energy out. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/freescale/fec_ptp.cπ fec_ptp_enable_pps(9)fec_ptp_start_cyclecounter(9)fec_ptp_adjfine(9)fec_ptp_adjtime(9)fec_ptp_gettime(9)fec_ptp_settime(9)fec_ptp_enable(9)fec_ptp_init(9)
mwah π β source home: ./drivers/net/ethernet/freescale; version/manual: Kernel API Manual; date: October 2026. fec_ptp_read(9) out, bestie β go read those raw cycle counters. π«Άπ
π¦ 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