ice_dpll_sw...requency_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

ice_dpll_sw_pin_frequency_get β€” the callback that goes and gets the frequency of a SW pin. Like, it fetches the number. That's the whole gig. πŸŽ€

So this page lives in the Kernel API Manual, bestie, and it's all about one little callback in the Intel ice driver's DPLL corner of the world. Let's get into it. ✨


🌸 SYNOPSIS 🌸

int ice_dpll_sw_pin_frequency_get (const struct dpll_pin *pin , void
*pin_priv , const struct dpll_device *dpll , void *dpll_priv , u64
*frequency , struct netlink_ext_ack *extack );

Six arguments, one int coming back out. No cap. πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

Okay so every single one of these, in order, no skipping:

  • pin β€” pointer to a pin. Just a pin. Hi pin. πŸ‘‹
  • pin_priv β€” the private data pointer that got passed on pin registration. It's the pin's lil secret stash. πŸ™ˆ
  • dpll β€” pointer to dpll. Yep. That one. πŸ’«
  • dpll_priv β€” the private data pointer that got passed on dpll registration. Same vibe, different struct. 🫢
  • frequency β€” on success this holds the pin's frequency. This is the good stuff, the actual answer. ✨
  • extack β€” error reporting. When things go sideways, this is who you tell. 😭

🧚 DESCRIPTION 🧚

It calls the get frequency command for the corresponding active input/output. That's it, that's the description. Short, sweet, gets the number. πŸ”₯


πŸ‘‘ CONTEXT πŸ‘‘

Little heads-up, bestie β€” this one calls a function which acquires and releases pf->dplls.lock. So like, the lock is handled for you, but also, the lock is happening. Know that. πŸ’€


🌈 RETURN 🌈

  • 0 β€” success πŸŽ‰ slay
  • negative β€” error, pin not active or couldn't get from hw πŸ˜”
So real talk: if you get a negative number back, either the pin wasn't active or the hardware just wouldn't cough up the frequency. Not your fault, but also, do handle it.

⭐ SEE ALSO ⭐

Genuinely the longest list I've ever seen and I'm obsessed. It lives in the kernel file ./drivers/net/ethernet/intel/ice/ice_dpll.c πŸ“, and also there's enum... and then all of these icons:

Like I said. Iconic. Periodt. πŸ’…


And that's the whole page, bestie! 🫢 This lil masterpiece comes from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed under ice_dpll_sw...requency_get(9) in the Kernel API Manual. Go forth and get those frequencies. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from