is_elm_present(9)
β¨ 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 π
omap_prefetch_enable(9)omap_nand_data_in_pref(9)omap_nand_data_out_pref(9)omap_nand_data_in_dma_pref(9)omap_nand_data_out_dma_pref(9)gen_true_ecc(9)omap_compare_ecc(9)omap_correct_data(9)omap_calculate_ecc(9)omap_enable_hwecc(9)omap_enable_hwecc_bch(9)_omap_calculate_ecc_bch(9)omap_calculate_ecc_bch_sw(9)omap_calculate_ecc_bch_multi(9)erased_sector_bitflips(9)omap_elm_correct_data(9)omap_write_page_bch(9)omap_write_subpage_bch(9)omap_read_page_bch(9)
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
- 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