stmmac_get_time(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stmmac_get_time(9) β€” from the Kernel API Manual, bestie 🫢

okay so welcome to the Kernel API Manual page for stmmac_get_time(9), and honestly? she's a short one, but she's iconic ✨


🌸 NAME 🌸

stmmac_get_time β€”

and that's it. that's the name section. the description after the dash is literally empty in the original, no cap 😭 so i'm not gonna invent one for you. we love a mysterious queen πŸ’…


✨ SYNOPSIS ✨

int stmmac_get_time (struct ptp_clock_info *ptp , struct timespec64 *ts );

so she takes two pointers and hands you back an int. that's the whole vibe check πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • ptp β€” pointer to a ptp_clock_info structure. like, this is the clock-info bestie she's working with 🫢
  • ts β€” pointer that holds the time/result. this is where the answer goes to live πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

so what does she do? this function will read the current time from the hardware clock and store it in ts. that's it. that's the whole job, and she does it flawlessly πŸ’… literally the "just read the clock and put it in the pointer" of it all. no drama, no side quests, just clock in, clock out ⏰✨


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file that lives at ./drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c β€” go read it, it's giving main character energy πŸ“–

and her whole friend group, fr fr:


ngl the source for this one is ./drivers/net/ethernet/stmicro/... and she's dated October 2026 β€” so mark your calendars bestie πŸ—“οΈπŸ’œ that's the cute little sign-off, mwah 😘 πŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from