ice_dpll_pin_state_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_dpll_pin_state_update(9) πŸ’…

okay so this is straight out of the Kernel API Manual, bestie β€” like, the actual kernel docs, not some random blog post. sit down, grab a strawberry, we're learning ✨


🌸 NAME 🌸

ice_dpll_pin_state_update β€” bestie, it updates the pin's state. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_dpll_pin_state_update (struct ice_pf *pf , struct ice_dpll_pin
*pin , enum ice_dpll_pin_type pin_type , struct netlink_ext_ack *extack
);

like yes, it returns an int, and yes, that argument list is a whole friend group 🫢


πŸ‘‘ ARGUMENTS πŸ‘‘

  • pf β€” the private board struct. it's giving "main character data structure energy", fr fr πŸ’…
  • pin β€” the structure with pin attributes that are gonna get updated. it's getting a glow-up ✨
  • pin_type β€” which type of pin we're updating rn. iykyk πŸ¦‹
  • extack β€” error reporting. the one who tells you what went wrong, lowkey essential 😭

πŸ’– DESCRIPTION πŸ’–

so here's the tea: this figures out the pin's current state and its frequency, and then updates the struct that's holding all the pin info. no cap, that's it, that's the function πŸŽ€

and because the details matter (they always do, bestie), here's the split: for input pins, states are separated for each dpll. for rclk pins, states are separated for each parent. like, different pins, different state groupings β€” periodt. πŸ”₯


πŸ”’ CONTEXT πŸ”’

called under pf->dplls.lock. so like… it's already holding the lock, don't go grabbing it again, that's not the move πŸ™ˆπŸ’€


⭐ RETURN ⭐

  • 0 β€” OK. slay, it worked, we ate πŸ’…βœ¨
  • negative β€” error. not the vibe, but at least you know 😭

🌈 SEE ALSO 🌈

okay this list is long long, but every single one of these is invited to the party, no plus-ones skipped 🫢

it all lives in the Kernel file ./drivers/net/ethernet/intel/ice/ice_dpll.c, plus this enum:


and that's the whole page, bestie πŸ’œ

this masterpiece lives at ./drivers/net/ethernet/intel/ice, it's dated October 2026, and it goes by ice_dpll_pin_state_update(9). mwah, go read the source, ily πŸ§šπŸ’–

πŸ“¦ where this page comes from