wx_ptp_reset_cyclecounter(9)
π NAME π
okay so bestie, welcome to wx_ptp_reset_cyclecounter(9) from the Kernel API Manual β and the name is literally wx_ptp_reset_cyclecounter β create the cycle counter from hw. That's the whole assignment: create the cycle counter from hw. slay. β¨
β¨ SYNOPSIS β¨
void wx_ptp_reset_cyclecounter (struct wx *wx );
π«Ά ARGUMENTS π«Ά
wxβ pointer to thewxstructure. iconic, honestly π
πΈ DESCRIPTION πΈ
This function should be called to set the proper values for the TSC_1588_INC register and tell the cyclecounter structure what the tick rate of SYSTIME is. no cap, that's the whole job π
It does not directly modify SYSTIME registers or the timecounter structure. important vibe check π«Ά
It should be called whenever a new TSC_1588_INC value is necessary, such as during initialization or when the link speed changes. literally the "new value just dropped" moment π₯
π¦ SEE ALSO π¦
- kernel file:
./drivers/net/ethernet/wangxun/libwx/wx_ptp.c __wx_ptp_detach_tx_skb(9)wx_ptp_clear_tx_timestamp(9)wx_ptp_convert_to_hwtstamp(9)wx_ptp_tx_hwtstamp_work(9)wx_ptp_overflow_check(9)wx_ptp_rx_hang(9)wx_ptp_tx_hang(9)wx_ptp_suspend(9)wx_ptp_stop(9)wx_ptp_rx_hwtstamp(9)
okay thatβs the whole page, bestie π«Ά β source vibes: ./drivers/net/ethernet/wangxun..., date: October 2026, and yes, itβs the wx_ptp_reset_cyclecounter(9) manual page. periodt π
π
π¦ 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