icss_iep_settime(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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, bestie
  • ns β€” 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 πŸ‘‘


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