zynqmp_pinconf_cfg_get(9)
π
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 π
0on 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:
struct zynqmp_pmux_function(9)struct zynqmp_pinctrl(9)struct zynqmp_pctrl_group(9)zynqmp_pmux_get_function_groups(9)zynqmp_pinmux_set_mux(9)zynqmp_pinconf_cfg_set(9)zynqmp_pinconf_group_set(9)zynqmp_pinctrl_prepare_func_groups(9)zynqmp_pinctrl_create_pin_groups(9)zynqmp_pinctrl_prepare_group_pins(9)zynqmp_pinctrl_prepare_function_info(9)zynqmp_pinctrl_prepare_pin_desc(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms