icss_iep_settime(9)
β¨ icss_iep_settime β¨
okay so bestie, this one lives in the Linux kernel API manual (section 9, the kernel-dev zone π§), and it's a tiny little function with main character energy π
πΈ NAME πΈ
icss_iep_settime β sets the time of the PTP clock using the IEP driver π°οΈβ¨
π¦ SYNOPSIS π¦
void icss_iep_settime (struct icss_iep *iep , u64 ns );
like, that's the whole signature. no return value, no drama, void and outtie π«Ά
π ARGUMENTS π
iepβ pointer to the structure representing IEP π§ keep your eyes on the pointer, bestiensβ the time to be set, in nanoseconds β±οΈ tiny units, big responsibility
π DESCRIPTION π
so this API highkey does a thing: it uses writel instead of regmap_write for write operations. why? because regmap_write is too slow π and this API is time sensitive, fr fr. it's giving "get in, get out, no lingering" energy π
π₯
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/ti/icssg/icss_iep.cπ icss_iep_get_count_hi(9)β the high part, bestie β¬οΈicss_iep_get_count_low(9)β the low part, bestie β¬οΈicss_iep_get_ptp_clock_idx(9)β the index, iconic β¨icss_iep_gettime(9)β the getting, not the setting π
ngl bestie, if you're touching the time-sensitive path, respect it β the whole point of skipping regmap_write is speed, so don't go adding slow stuff on top π
that's the whole page, no cap π from ./drivers/net/ethernet/ti/icssg, dated October 2026, kernel API manual vibes only β mwah, go slay your PTP clock ππ¦π
π¦ 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