mtd_to_spinand(9)
π NAME π
okay so hi bestie, welcome to mtd_to_spinand(9) from the Kernel API Manual π
this page is literally about mtd_to_spinand β get the SPI NAND device attached to an MTD instance. no cap, thatβs the whole vibe β¨
β¨ SYNOPSIS β¨
struct spinand_device * mtd_to_spinand (struct mtd_info *mtd );
π ARGUMENTS π
mtdβ your MTD instance π«Ά yes bestie, thatβs the one being passed in.
π₯ RETURN π₯
the SPI NAND device attached to mtd π thatβs it, thatβs the tea β¨
π¦ SEE ALSO π¦
go peek at the kernel file ./include/linux/mtd/spinand.h and these iconic besties:
struct spinand_id(9)struct spinand_devid(9)struct spinand_manufacturer(9)struct spinand_op_variants(9)struct spinand_ondie_ecc_conf(9)struct spinand_otp_layout(9)struct spinand_fact_otp_ops(9)struct spinand_user_otp_ops(9)struct spinand_fact_otp(9)struct spinand_user_otp(9)enum spinand_bus_interface(9)struct spinand_info(9)struct spinand_mem_ops(9)struct spinand_device(9)spinand_to_mtd(9)nand_to_spinand(9)spinand_to_nand(9)spinand_set_of_node(9)
and thatβs the whole page, bestie π«Ά source/version is ./include/linux/mtd, dated October 2026, and the main character is mtd_to_spinand(9) πβ¨
π¦ 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