ice_dpll_sma_pin_state_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the Kernel API Manual β€” this one is ice_dpll_sma_pin_state_set, and it does exactly what it says on the tin: set SMA pin state on dpll device ✨


✨ SYNOPSIS ✨

int ice_dpll_sma_pin_state_set (const struct dpll_pin *pin , void
       *pin_priv , const struct dpll_device *dpll , void *dpll_priv , enum
       dpll_pin_state state , struct netlink_ext_ack *extack );

πŸŽ€ ARGUMENTS πŸŽ€

  • pin β€” pointer to a pin
  • pin_priv β€” private data pointer passed on pin registration
  • dpll β€” registered dpll pointer
  • dpll_priv β€” private data pointer passed on dpll registration
  • state β€” requested state of the pin
  • extack β€” error reporting

πŸ’… DESCRIPTION πŸ’…

okay so, this is a Dpll subsystem callback. Its whole job? Set state of a pin. That's it, that's the tea 🍡


πŸ”’ CONTEXT πŸ”’

It acquires and releases pf->dplls.lock. So yeah, it's locking bestie β€” respect the lock πŸ”


🫢 RETURN 🫢

Here's the vibe check:

  • 0 - success
  • negative - failed to get state

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/intel/ice/ice_dpll.c, and enum ice_dpll_pin_type(9) β€” plus the whole extended universe:


Source/version: ./drivers/net/ethernet/intel/ice Β· October 2026 Β· ice_dpll_sma_pin_state_set(9) β€” okay bye bestie, go set those SMA pin states and slay πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from