zynqmp_pinconf_group_set(9)
π zynqmp_pinconf_group_set β the Kernel API Manual, bestie edition β¨
okay so picture this: it's a kernel API manual page, it's called zynqmp_pinconf_group_set(9), and it's literally the moment the ZynqMP pinctrl driver commits to a whole group of pins at once. main character energy fr fr π
πΈ NAME πΈ
zynqmp_pinconf_group_set β Set requested config for the group. that's it, that's the vibe. she sets the config you asked for, for the group. periodt π
β¨ SYNOPSIS β¨
int zynqmp_pinconf_group_set (struct pinctrl_dev *pctldev , unsigned int
selector , unsigned long *configs , unsigned int num_configs );
like, she takes four things and gives you back an int. no cap. π¦
π«Ά ARGUMENTS π«Ά
pctldevβ Pincontrol device pointer. the pinctrl device in question, iconic, we love her.selectorβ Group ID. which group are we talking about? this number. iykyk.configsβ Configuration to set. the actual configs, plural, living in anunsigned long *.num_configsβ Number of configurations. how many of those configs you're handing over. very "tell me how many are coming to the party" of her π
π DESCRIPTION π
So the whole thing is: this is the call function that sets configs for each pin in the group. not one pin. not a couple pins. each one. she shows up for the whole group, that's the vibe check and she passes π₯
β RETURN β
0 on success, else error code. slay when it works, 0. when it doesn't? error code, and you deal with it. ngl that's the whole story π
π¦ SEE ALSO π¦
- 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_get(9)zynqmp_pinconf_cfg_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)
the whole friend group honestly π«Ά go read them too, they're all in ./drivers/pinctrl and they all ate π
ok tiny reminder bestie: 0 means success, anything else is an error code β don't go thinking a nonzero return is a cute little treat π
π§ and that's the page!! brought to you by the <rainbow>Kernel API Manual</rainbow>, from ./drivers/pinctrl, dated October 2026, and yes the footer still says zynqmp_pinconf_group_set(9) because she's the main character and she's in the title and the footer. obsessed. bye bestie, go set some group configs π
β¨π
π¦ 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