is_elm_present(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ is_elm_present(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” today's main character is is_elm_present, and honestly? she's serving looks and logic πŸ’…


πŸŽ€ NAME πŸŽ€

is_elm_present β€” checks for presence of ELM module by scanning DT nodes πŸ¦‹

like, she literally goes looking through the device tree nodes to see if the ELM module is there. iconique. no cap.


🌸 SYNOPSIS 🌸

bool is_elm_present (struct omap_nand_info *info , struct device_node
*elm_node );

she takes two things and she gives you back a bool β€” yes or no, present or not, slay or no slay πŸ’–


✨ ARGUMENTS ✨

  • info β€” NAND device structure containing platform data 🫢 like, this is the NAND device struct, and she's carrying the platform data with her, periodt.
  • elm_node β€” ELM's DT node ⭐ this one is literally the ELM's device tree node. that's it. that's the whole vibe check.

πŸ”₯ SEE ALSO πŸ”₯

the whole girlies at Kernel file ./drivers/mtd/nand/raw/omap2.c want a shoutout, and we are not leaving anyone out πŸ‘‘


ok that's the whole page bestie, go read the source, iykyk πŸ™ˆπŸ’œ

mwah πŸ’‹ β€” sourced from ./drivers/mtd/nand/raw, dated October 2026, and yeah she ate that. periodt. 🌈

πŸ“¦ where this page comes from