reset_contro...ional_shared(9)
π reset_control_bulk_get_optional_shared β kernel API manual, bestie edition
okay so real talk, this is a page straight out of the Linux kernel API manual (section 9, we stan) and it's all about reset_control_bulk_get_optional_shared β yes that name is a whole entire mouthful, i know, but stay with me π«Ά
β¨ NAME β¨
reset_control_bulk_get_optional_shared β the optional-flavoured sibling of reset_control_bulk_get_shared() π«
πΈ SYNOPSIS πΈ
int reset_control_bulk_get_optional_shared (struct device *dev , int
num_rstcs , struct reset_control_bulk_data *rstcs );
π ARGUMENTS π
devβ the device that's gonna get reset by the controller, that's its whole moment πnum_rstcsβ how many entries are chillin' in therstcsarray, like literally the count bestierstcsβ the array ofstruct reset_control_bulk_datawhere the reset line names are already set, no cap
π¦ DESCRIPTION π¦
So this is the optional variant of reset_control_bulk_get_shared, iykyk. The vibe: if the resets you asked for are not specified in the device tree, this function just sets them to NULL instead of throwing an error at you πβ¨ like it's being so nice about it fr fr.
For the full tea, go read reset_control_bulk_get_shared β it's giving main character energy and has all the extra info π
π₯ SEE ALSO π₯
the whole friend group, assembled π:
- Kernel file
./include/linux/reset.h struct reset_control_bulk_data(9)enum reset_control_flags(9)reset_control_get_exclusive(9)reset_control_bulk_get_exclusive(9)reset_control_get_exclusive_released(9)reset_control_bulk_get_exclusive_released(9)reset_control_bulk_get_optional_exclusive_released(9)reset_control_get_shared(9)reset_control_bulk_get_shared(9)reset_control_get_optional_exclusive(9)reset_control_bulk_get_optional_exclusive(9)reset_control_get_optional_shared(9)of_reset_control_get_exclusive(9)of_reset_control_get_optional_exclusive(9)of_reset_control_get_shared(9)of_reset_control_get_exclusive_by_index(9)of_reset_control_get_shared_by_index(9)devm_reset_control_get_exclusive(9)devm_reset_control_get_exclusive_deasserted(9)devm_reset_control_bulk_get_exclusive(9)devm_reset_control_get_exclusive_released(9)devm_reset_control_bulk_get_exclusive_released(9)devm_reset_control_get_optional_exclusive_released(9)devm_reset_control_bulk_get_optional_exclusive_released(9)devm_reset_control_get_shared(9)devm_reset_control_get_shared_deasserted(9)devm_reset_control_bulk_get_shared(9)devm_reset_control_bulk_get_shared_deasserted(9)devm_reset_control_get_optional_exclusive(9)devm_reset_control_get_optional_exclusive_deasserted(9)devm_reset_control_bulk_get_optional_exclusive(9)devm_reset_control_get_optional_shared(9)devm_reset_control_get_optional_shared_deasserted(9)devm_reset_control_bulk_get_optional_shared(9)devm_reset_control_get_exclusive_by_index(9)devm_reset_control_get_shared_by_index(9)
and that's the whole page, periodt π it lives in ./include/linux and it's dated October 2026 β so yeah, future-era kernel lore, we love to see it π stan this manpage, mwah π§
π¦ 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