ice_cgu_get...n_state_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to ice_cgu_get...n_state_caps(9), straight out of the Kernel API Manual. The function is literally called ice_cgu_get_output_pin_state_caps, and it does exactly what it says on the tin: gets the output pin state capabilities. no cap, iconic behavior. πŸ’…


✨ SYNOPSIS ✨

int ice_cgu_get_output_pin_state_caps (struct ice_hw *hw , u8 pin_id ,
       unsigned long *caps );

that's the exact signature, bestie β€” don't come for me, I copied it character for character. 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hw struct. like, the hardware's whole main-character data situation.
  • pin_id β€” id of a pin. yes queen, identify that pin. πŸ’…
  • caps β€” capabilities to modify. this is the glow-up target, the thing getting updated.

🌸 RETURN 🌸

  • 0 β€” success, state capabilities were modified. slay, it worked, the caps got their little makeover. ✨
  • negative β€” failure, capabilities were not modified. it's giving blocked, no changes, try again later. 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c

the whole friend group is here, and yes you need all of them:


made with πŸ’– at ./drivers/net/ethernet/intel/ice β€” October 2026 β€” ice_cgu_get...n_state_caps(9), xoxo bestie βœ¨πŸŽ€

πŸ“¦ where this page comes from