fdt_device_is_available(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 blob
  • node β€” 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 🌈


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