pinctrl_sele...efault_state(9)
π pinctrl_select_default_state β Kernel API Manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual page for pinctrl_select_default_state πΈ yes the header up top is literally truncated to pinctrl_sele...efault_state(9) because someone's terminal said "not today, bestie" β but the real, full name is right below and it's a whole moment β¨
β¨ NAME β¨
pinctrl_select_default_state β select default pinctrl state π
that's it, that's the whole vibe: it picks the default state, no cap.
πΈ SYNOPSIS πΈ
int pinctrl_select_default_state (struct device *dev );
it's giving very "one argument, one job, one slay" π and it hands you back an int.
π ARGUMENTS π
devβ the device to select the default state for π«Ά like, you tell it which device is getting the default-state treatment and it goes and does that. main character device energy fr fr.
π¦ SEE ALSO π¦
the entire pinctrl friend group showed up to this page and honestly? iconic π they're all (9) entries too, iykyk:
pinctrl_provide_dummies(9)get_pinctrl_dev_from_devname(9)pin_get_from_name(9)pin_get_name(9)gpio_to_pin(9)pinctrl_match_gpio_range(9)pinctrl_ready_for_gpio_range(9)pinctrl_get_device_gpio_range(9)pinctrl_add_gpio_range(9)pinctrl_find_gpio_range_from_pin(9)pinctrl_remove_gpio_range(9)pinctrl_generic_get_group_count(9)pinctrl_generic_get_group_name(9)pinctrl_generic_get_group_pins(9)pinctrl_generic_get_group(9)pinctrl_generic_add_group(9)pinctrl_generic_remove_group(9)pinctrl_generic_free_groups(9)pinctrl_get_group_selector(9)pinctrl_gpio_request(9)pinctrl_gpio_free(9)pinctrl_gpio_direction_input(9)pinctrl_gpio_direction_output(9)pinctrl_gpio_set_config(9)pinctrl_gpio_get_config(9)pinctrl_get(9)pinctrl_release(9)pinctrl_put(9)pinctrl_lookup_state(9)pinctrl_commit_state(9)pinctrl_select_state(9)devm_pinctrl_get(9)devm_pinctrl_put(9)pinctrl_register_mappings(9)pinctrl_unregister_mappings(9)devm_pinctrl_register_mappings(9)pinctrl_force_sleep(9)pinctrl_force_default(9)pinctrl_init_done(9)pinctrl_pm_select_default_state(9)pinctrl_pm_select_init_state(9)pinctrl_pm_select_sleep_state(9)pinctrl_pm_select_idle_state(9)pinctrl_init_controller(9)pinctrl_register(9)pinctrl_register_and_init(9)pinctrl_unregister(9)devm_pinctrl_register(9)devm_pinctrl_register_and_init(9)
and where does all this live? the Kernel file ./drivers/pinctrl/core.c π go read it, it's the source of truth.
ngl there's no DESCRIPTION section, no OPTIONS section, no RETURN VALUE section on this page β that's not me skipping homework, that's genuinely all the original gave us π so we're not out here inventing lore, periodt.
okay that's the whole page bestie, love that for us π§ source is ./drivers/pinctrl and it's dated October 2026 β signed, sealed, delivered, π bye!
π¦ 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