ice_dpll_frequency_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_dpll_frequency_set β€” the Kernel API Manual tea πŸŽ€

okay bestie, so this page is literally ice_dpll_frequency_set(9) from the Kernel API Manual, and it's way less scary than the name makes it sound, i'm so serious. it's a little wrapper function, a middle-man, a hype-friend for the pin callback. let's get into it ✨


🌸 NAME 🌸

ice_dpll_frequency_set β€” the wrapper for the pin callback for set frequency. that's it, that's the whole vibe 🫢


✨ SYNOPSIS ✨

int ice_dpll_frequency_set (const struct dpll_pin *pin , void *pin_priv
, const struct dpll_device *dpll , void *dpll_priv , const u32 frequency
, struct netlink_ext_ack *extack , enum ice_dpll_pin_type pin_type );

like, seven whole arguments, she's high-maintenance but she delivers πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pin β€” a pointer to a pin. just. a pin. pointing at it πŸ’–
  • pin_priv β€” the private data pointer that got passed on pin registration (you gave it to her earlier, she remembers)
  • dpll β€” a pointer to dpll
  • dpll_priv β€” the private data pointer that got passed on dpll registration (same energy, different registration)
  • frequency β€” the frequency to be set. the whole point, honestly πŸ‘‘
  • extack β€” error reporting, aka the receipts when something goes wrong 🧾
  • pin_type β€” the type of pin being configured, because not all pins are the same and we respect that 🌈

πŸ”₯ DESCRIPTION πŸ”₯

so what does she actually do? she wraps the internal set frequency command on a pin. that's the gig. a tidy little wrapper, a cozy lil intermediary, no cap. she takes your args and she makes the frequency-setting happen through the proper channel 😌✨


πŸŽ€ CONTEXT πŸŽ€

bestie, listen β€” this one acquires pf->dplls.lock. she's locking. respect the lock. πŸ”’πŸ’œ


⭐ RETURN ⭐

  • 0 β€” success! we ate, we slayed, the frequency is set πŸ’…πŸŽ‰
  • negative β€” error, specifically: pin not found or it couldn't set in hw πŸ˜­πŸ’€ (not her fault, ok, she tried)

🌈 SEE ALSO 🌈

okay this is the part where she tags literally everyone in the group chat. grab a snack, this list is long πŸ“


and that's the whole page bestie, you're officially educated πŸ§šπŸ’œ

ngl the "wrapper for a wrapper" pipeline is giving main character energy of the supporting cast, but we respect her. she locks, she sets frequency, she leaves. periodt. πŸ’…

sign-off time 🫢: this lil gem lives in ./drivers/net/ethernet/intel/ice and it's dated October 2026 β€” yeah, future vibes, we stay ahead of the timeline ⭐🌸

πŸ“¦ where this page comes from