ice_dpll_hw_input_prio_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_dpll_hw_input_prio_set β€” like, the Kernel API Manual page, bestie πŸ’–

okay so picture this: you're deep in the kernel, you've got a DPLL, you've got pins, and you need the hardware itself to know which input actually matters. That's this function. Welcome to the Kernel API Manual entry for ice_dpll_hw_input_prio_set(9) β€” buckle up, it's giving "small function, big responsibilities" ✨


🌸 NAME 🌸

ice_dpll_hw_input_prio_set β€” set the input priority value in hardware πŸŽ€ no cap, that's literally the whole job.


⭐ SYNOPSIS ⭐

int ice_dpll_hw_input_prio_set (struct ice_pf *pf , struct ice_dpll
*dpll , struct ice_dpll_pin *pin , const u32 prio , struct
netlink_ext_ack *extack );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pf β€” the board private structure 🫢 your whole device's personal lore lives in here
  • dpll β€” the ice dpll pointer πŸ’« yes, that dpll
  • pin β€” the ice pin pointer πŸ“ the specific pin we're doing this to
  • prio β€” the priority value being set on a dpll πŸ‘‘ a const u32, so treat it with respect
  • extack β€” error reporting 😭 because when things go wrong, someone's gotta tell the netlink girlies about it

πŸ’œ DESCRIPTION πŸ’œ

It's an internal wrapper for setting the priority in the hardware. That's it, that's the vibe β€” a neat little internal wrapper so the rest of the driver doesn't have to rawdog the hardware call directly πŸ”₯


πŸ”’ CONTEXT πŸ”’

Called under pf->dplls.lock. so like… the lock is held when you call this. Do not come in here uninvited, bestie πŸ™ˆ


✨ RETURN ✨

  • 0 β€” success πŸŽ‰ slay, it worked
  • negative β€” failure πŸ’€ it did not work, and it's telling you so

🌈 SEE ALSO 🌈

okay so this section is huge, and honestly? iconic. The whole ice_dpll cinematic universe lives in the kernel file ./drivers/net/ethernet/intel/ice/ice_dpll.c, plus enum ice_dpll_pin_type(9) and everyone else in the family πŸ’…


fr fr, if you're setting a priority without peeking at ice_dpll_input_prio_get(9) and friends first, you're doing main character energy wrong πŸ‘‘

that's the whole page, bestie πŸŽ€ this lore drop lives in ./drivers/net/ethernet/intel/ice, dated October 2026, and it's the ice_dpll_hw_input_prio_set(9) girl herself β€” go set some priorities, you've got this πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from