of_get_mtd_device_by_node(9)
π of_get_mtd_device_by_node(9) π
hiii bestie!! welcome to the Kernel API Manual, where today's main character is of_get_mtd_device_by_node(9). the vibe check? kernel function, MTD device, device tree node β let's go π
β¨
πΈ NAME πΈ
of_get_mtd_device_by_node β obtain an MTD device associated with a given node. that's literally the whole assignment, bestie: obtain an MTD device associated with a given node. concise, iconic, ate π
β¨ SYNOPSIS β¨
okay so here's the signature, and we are not touching it β copy it exactly, spacing and all, no "fixing" the vibes:
struct mtd_info * of_get_mtd_device_by_node (struct device_node *np );
π ARGUMENTS π
npβ device tree node π³ that's the one and only argument, and it's lowkey giving device-tree-node energy. periodt.
π SEE ALSO π
Kernel file ./drivers/mtd/mtdcore.c β bestie, that's the spot, and here's the whole linked-up crew, no cap:
mtd_wunit_to_pairing_info(9)mtd_pairing_info_to_wunit(9)mtd_pairing_groups(9)add_mtd_device(9)del_mtd_device(9)mtd_device_parse_register(9)mtd_device_unregister(9)register_mtd_user(9)unregister_mtd_user(9)get_mtd_device(9)get_mtd_device_nm(9)mtd_ooblayout_ecc(9)mtd_ooblayout_free(9)mtd_ooblayout_find_region(9)mtd_ooblayout_find_eccregion(9)mtd_ooblayout_get_bytes(9)mtd_ooblayout_set_bytes(9)mtd_ooblayout_count_bytes(9)mtd_ooblayout_get_eccbytes(9)mtd_ooblayout_set_eccbytes(9)mtd_ooblayout_get_databytes(9)mtd_ooblayout_set_databytes(9)mtd_ooblayout_count_freebytes(9)mtd_ooblayout_count_eccbytes(9)mtd_kmalloc_up_to(9)
that's every single reference, bestie β all of them made the list, no skips, no crumbs πβ¨
okay byeee!! source/version is ./drivers/mtd, date is October 2026, and this page is literally of_get_mtd_device_by_node(9) β love that for us, 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