zynqmp_pinconf_cfg_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynqmp_pinconf_cfg_get β€” NAME ✨

okay so bestie, welcome to the Kernel API Manual β€” this one's zynqmp_pinconf_cfg_get(9), and it does exactly what it says on the tin: it gets the config value for the pin. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

like, here's the whole vibe, character for character:

int zynqmp_pinconf_cfg_get (struct pinctrl_dev *pctldev , unsigned int
pin , unsigned long *config );

πŸ¦‹ ARGUMENTS πŸ¦‹

three little besties walk into a function:

  • pctldev β€” the pin control device pointer. it's giving "who am I doing this for" energy. πŸ‘‘
  • pin β€” the pin number. just a number, but it's the main character number, okay? πŸ’…
  • config β€” the value of the config param. it's a pointer, so the value gets written back through it 🫢

✨ DESCRIPTION ✨

so what it literally does: it gets the value of the requested configuration parameter for the given pin. that's it. that's the whole plot. πŸ”₯

like β€” you hand it a pin, you hand it a config slot, and it fills that slot with the value. no drama, no surprises, just a clean little getter doing its thing. 🌈


πŸ’– RETURN πŸ’–

  • 0 on success πŸŽ‰
  • else an error code 😭 (and yeah, that's the whole spec β€” "else error code", iconic minimalism, periodt)

⭐ SEE ALSO ⭐

go read these next, iykyk β€” they're all in the kernel file ./drivers/pinctrl/pinctrl-zynqmp.c:


lowkey a whole friend group of functions right there πŸ’€ go say hi to all of them, fr fr.

okay bye bestie, mwah πŸ’‹ β€” this page came from ./drivers/pinctrl, dated October 2026, and it'll always be zynqmp_pinconf_cfg_get(9) to me πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from