ice_dpll_get_pins(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_dpll_get_pins β€” get pins from dpll subsystem

okay so bestie, we're in the Kernel API Manual, section 9, and today's main character is ice_dpll_get_pins(9). it's giving "small function, big responsibility" and honestly? iconic. let's get into it 🫢


✨ NAME ✨

ice_dpll_get_pins β€” get pins from dpll subsystem 🌸

like, that's the whole vibe. it gets pins. from the dpll subsystem. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_dpll_get_pins (struct ice_pf *pf , struct ice_dpll_pin *pins ,
       int start_idx , int count , u64 clock_id );

πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” the board private structure. it's the whole board's business, so of course it's here πŸ’…
  • pins β€” pointer to the pins array. yes, a pointer. to an array. of pins. we love a double-duty situation
  • start_idx β€” the pin idx value where the getting starts. like a little starting line 🏁
  • count β€” number of pins. how many are we grabbing, bestie
  • clock_id β€” the clock_id of the dpll device. its little name tag 🏷️

πŸ’– DESCRIPTION πŸ’–

Get pins β€” and by "get" we mean allocate β€” in the dpll subsystem, then store them in the pin field of the given pins array.

so the way that this works: it doesn't just grab something that already exists, it allocates it fresh in the dpll subsystem, then tucks it into the pin field of whatever pins array you handed over. lowkey tidy of it tbh ✨


⭐ RETURN ⭐

  • 0 β€” success πŸŽ‰ slay
  • negative β€” the reason allocation failed 😭 (so like, a failure reason, negative-flavoured)

🌈 SEE ALSO 🌈

we're gonna need a bigger boat, bestie β€” here's the whole crew, straight from the kernel file ./drivers/net/ethernet/intel/ice/ice_dpll.c:

and the directory they all live in is ./drivers/net/ethernet/intel/ice 🧚


fr fr bestie, that's a whole friend group. if you're reading this at 3am trying to debug a pin allocation, hydrate first πŸ’§ then read the list again.

and that's the page!! this one's from the ./drivers/net/ethernet/intel/ice source, October 2026 edition β€” mwah, go touch some registers πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from