of_scan_flat_dt_subnodes(9)
π of_scan_flat_dt_subnodes(9) π
okay bestie, welcome to the Kernel API Manual entry for of_scan_flat_dt_subnodes β it's giving "small but iconic kernel helper" energy, and we're gonna get you comfy with it. π«Ά
β¨ NAME β¨
of_scan_flat_dt_subnodes β scan sub-nodes of a node and call the callback on each. fr fr, that's the whole assignment. π
πΈ SYNOPSIS πΈ
okay so here's the exact signature β don't let the function-pointer moment scare you, it's literally fine:
int of_scan_flat_dt_subnodes (unsigned long parent , int (*it)(unsigned long node, const char *uname, void *data) , void *data );
π ARGUMENTS π
the whole cast, no cap:
parentβ parent node, obvi.itβ callback function β the callback that gets called on each sub-node, iykyk.dataβ context data pointer. your context data pointer, sitting there being useful. π
π¦ DESCRIPTION π¦
This function is used to scan sub-nodes of a node. that's the tea, that's the vibe, that's the entire description. ββ¨
π SEE ALSO π
the besties it links to β same exact refs, mwah:
- Kernel file
./drivers/of/fdt.cβunflatten_dt_nodes(9) __unflatten_device_tree(9)of_fdt_unflatten_tree(9)early_init_fdt_scan_reserved_mem(9)early_init_fdt_reserve_self(9)of_scan_flat_dt(9)of_get_flat_dt_subnode_by_name(9)of_fdt_is_compatible(9)of_flat_dt_is_compatible(9)of_flat_dt_match_machine(9)early_init_dt_check_for_initrd(9)early_init_dt_check_for_elfcorehdr(9)early_init_dt_check_for_usable_mem_range(9)early_init_dt_check_kho(9)unflatten_device_tree(9)unflatten_and_copy_device_tree(9)
xoxo, your Unix bestie π source/version:./drivers/ofΒ· date:October 2026Β· page:of_scan_flat_dt_subnodes(9). 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