ice_dpll_pin_state_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_dpll_pin_state_get(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” yes, the Kernel API Manual, we're in the big leagues now πŸŽ€ this one's a tiny little function from the Intel ice driver's DPLL corner, and honestly it's giving "small but crucial" energy. let's get into it ✨


🌸 NAME 🌸

ice_dpll_pin_state_get β€” set pin's state on dpll

(no bc the name says get and the description says set 😭 that's just how it's written in the manual, we do not editorialize, we report the facts, slay)


✨ SYNOPSIS ✨

int ice_dpll_pin_state_get (const struct dpll_pin *pin , void *pin_priv
, const struct dpll_device *dpll , void *dpll_priv , enum dpll_pin_state
*state , struct netlink_ext_ack *extack , enum ice_dpll_pin_type
pin_type );

seven arguments, no cap. she's thorough πŸ’…


🫢 ARGUMENTS 🫢

  • pin β€” pointer to a pin πŸŽ€ like, the actual pin object we're looking at
  • pin_priv β€” the private data pointer you passed in when the pin got registered, bestie
  • dpll β€” the registered dpll pointer, aka the main character
  • dpll_priv β€” private data pointer you handed over at dpll registration time
  • state β€” on success, this holds the state of the pin ⭐ the whole point honestly
  • extack β€” error reporting, so when things go sideways there's a paper trail
  • pin_type β€” the type of the questioned pin πŸ‘€ yes, questioned

πŸ¦‹ DESCRIPTION πŸ¦‹

Determine pin state, set it on a pin.

that's it. that's the whole description. short, sweet, iconic πŸ‘‘


πŸ”₯ CONTEXT πŸ”₯

Acquires pf->dplls.lock πŸ”’

heads up: it takes that lock. so like, don't be weird about it, okay? no recursive shenanigans πŸ™ˆ

🌈 RETURN 🌈

  • 0 β€” success ✨ we love to see it
  • negative β€” failed to get state 😭 and ngl, negative returns are never a vibe

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the source of truth itself: Kernel file ./drivers/net/ethernet/intel/ice/ice_dpll.c

and the extended family, because this function does NOT exist in isolation bestie, look at this whole friend group 🫢:

like I said. friend group. entire friend group. πŸ’€


that's the whole page bestie, you ate that 🫢

and for the cute lil sign-off: this absolute gem comes to you from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed under ice_dpll_pin_state_get(9) β€” go forth and read those pin states, ily, bye πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from