STRUCT OMAP2_OSCILLATOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct omap2_oscillator(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” specifically the page for struct omap2_oscillator. no cap, it's a tiny one. think of it as the little glow-up corner of the kernel where the board's main oscillator gets to describe how long it takes to wake up and how long it takes to go night-night 😴


🌸 NAME 🌸

struct omap2_oscillator β€” the struct that describes the board main oscillator latencies πŸ’«

like, literally just that. it's a vibe check for your crystal's timing ✨


πŸŽ€ SYNOPSIS πŸŽ€

struct omap2_oscillator {
    u32 startup_time;
    u32 shutdown_time;
 };

that's it. two u32s and a dream 🫢 look at it, so small, so iconic πŸ’…


πŸ¦‹ Members πŸ¦‹

  • startup_time β€” the oscillator's startup latency 😭 like how long the poor thing needs to actually be awake and vibrating before anyone can trust it. a u32, obviously, we're not animals πŸ’œ
  • shutdown_time β€” the oscillator's shutdown latency πŸ’€ the amount of time it takes to fully go to sleep. no sneaky lingering, bestie, we measure it πŸŒ™

πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./arch/arm/mach-omap2/pm.c β€” that's where the magic actually happens, iykyk πŸ”₯
  • omap_common_suspend_init(9) β€” the function that's lowkey besties with this struct 🌈

fr fr, if you're poking at suspend/resume on OMAP2 and the timings feel cursed, this is the struct you go look at πŸ‘€ don't skip the latencies, they matter πŸ’…

that's the whole page, and honestly? she ate. short, sweet, and every single latency accounted for πŸŽ€

signed off with love from the source path ./arch/arm/mach-omap2, dated October 2026 β€” yeah, future energy πŸ¦‹βœ¨ catch you on the next man page, bestie! πŸ’–πŸ”₯

πŸ“¦ where this page comes from