pinmux_generic_get_function(9)
π pinmux_generic_get_function(9) β Kernel API Manual β¨
okay bestie, welcome to the <pink>Kernel API Manual</pink> entry for <purple>pinmux_generic_get_function`, and no cap this one is a little lookup baddie. she's short, she's sweet, she gives exactly one job and does it.
πΈ NAME πΈ
pinmux_generic_get_function β returns a function based on the number π
π¦ SYNOPSIS π¦
const struct function_desc * pinmux_generic_get_function (struct
pinctrl_dev *pctldev , unsigned int selector );
literally that's the whole signature, copy it exactly bestie, don't get creative with it π
β¨ ARGUMENTS β¨
pctldevβ the pin controller device π she's the main character here, everything hangs off herselectorβ the function number π’ you're like "hey give me function number this" and she goes and finds it
π§ SEE ALSO π§
the kernel file lives at ./drivers/pinctrl/pinmux.c and honestly the whole friend group is here:
pinmux_can_be_used_for_gpio(9)pin_request(9)pin_free(9)pinmux_request_gpio(9)pinmux_free_gpio(9)pinmux_gpio_direction(9)pinmux_generic_get_function_count(9)pinmux_generic_get_function_name(9)pinmux_generic_get_function_groups(9)pinmux_generic_function_is_gpio(9)pinmux_generic_add_function(9)pinmux_generic_add_pinfunction(9)pinmux_generic_remove_function(9)pinmux_generic_free_functions(9)
like, the entire pinmux squad came through for the group photo πΈπ
ok that's the whole page fr fr β go read the SEE ALSO girlies if you want the deeper lore π«Ά
./drivers/pinctrl Β· October 2026 Β· pinmux_generic_get_function(9) β mwah, that's the version + date sign-off bestie, slay your day π
βπ
π¦ 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