fdt_device_is_available(9)
πΈ NAME πΈ
fdt_device_is_available β check if a device is available for use
okay bestie, this is fdt_device_is_available(9) from the Kernel API Manual, and the name is literally the whole assignment: we're checking if a device is available for use. π
β¨ SYNOPSIS β¨
the signature is giving:
bool fdt_device_is_available (const void *fdt , int node );
π ARGUMENTS π
fdtβ pointer to the device tree blobnodeβ offset of the node whose property to find
π¦ DESCRIPTION π¦
so here's the tea, no cap: this returns true if the status property is absent or set to "okay" or "ok", and it returns false otherwise. that's it, that's the vibe check. πβ¨
π SEE ALSO π
- Kernel file
./arch/riscv/kernel/pi/fdt_early.cβ related besties:isa_string_contains(9),early_cpu_isa_ext_available(9),fdt_early_match_extension_isa(9), andset_satp_mode_from_fdt(9).
mwah π this page's source is ./arch/riscv/kernel/pi and it's dated October 2026 β fdt_device_is_available(9), out. π«Άπ
π¦ 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