ice_dpll_update_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_dpll_update_state(9) β€” Kernel API Manual ✨

okay so bestie, we're in the Kernel API Manual today and the star of the show is ice_dpll_update_state(9). she's a function, she's a whole vibe, and honestly? she just wants the dpll state to be correct. let's get into it 🫢


🌸 NAME 🌸

ice_dpll_update_state β€” update dpll state. that's it, that's the tweet. short, sweet, iconic ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_dpll_update_state (struct ice_pf *pf , struct ice_dpll *d , bool
init );

literally just three args and a return type, no cap. keep reading for the tea on each one πŸ‘‡


πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” the pf private structure πŸ’– (her private business, respectfully)
  • d β€” pointer to the queried dpll device 🎯 the one we're asking questions to
  • init β€” set this if the function is called on initialization of ice dpll 🌱 like, the first-time setup moment

⭐ DESCRIPTION ⭐

so what does she do? she polls the current state of dpll from hw and updates the ice_dpll struct with it. that's the whole job. go get the hw truth, write it into the struct, slay πŸ”₯


πŸ‘‘ CONTEXT πŸ‘‘

called by kworker under pf->dplls.lock πŸ”’ β€” yes bestie, there's a lock, respect the lock, do not be weird about the lock. periodt.


πŸ’€ RETURN πŸ’€

  • 0 β€” success πŸŽ‰ we ate
  • negative β€” AQ failure 😭 it's giving error, but at least it's informative

🌈 SEE ALSO 🌈

okay this is the part where I need you to stay with me, because the list is long, and I mean gorgeous-long, main-character-long. no skipping, we're reading all of it πŸ™ˆ

kernel file ./drivers/net/ethernet/intel/ice/ice_dpll.c, plus:

like… a hundred-plus little functions all holding hands in a linked list of friendship πŸ§šπŸ’œ every single one of them is here, I checked, I would never do you dirty like that.


reminder bestie: this one's locked under pf->dplls.lock and runs from a kworker β€” respect the context or the kernel will simply not be cute about it πŸ’…

and that's the page, mwah πŸ’– source/version is ./drivers/net/ethernet/intel/ice, dated October 2026 β€” stamped, signed, delivered, no cap πŸŽ€βœ¨

πŸ“¦ where this page comes from