ENUM SPI_NOR_CMD_EXT(9)
π¦ NAME π¦
enum spi_nor_cmd_ext(9) β describes the command opcode extension in DTR mode. π
This lil page is from the Kernel API Manual, and it's giving βsmall enum, big DTR energy.β No cap.
β¨ SYNOPSIS β¨
enum spi_nor_cmd_ext {
SPI_NOR_EXT_NONE ,
SPI_NOR_EXT_REPEAT ,
SPI_NOR_EXT_INVERT ,
SPI_NOR_EXT_HEX
};
π Constants π
Okay so here's the vibe check on each constant, bestie:
SPI_NOR_EXT_NONEβ no extension. This is the default, and it's used in Legacy SPI mode. Periodt.SPI_NOR_EXT_REPEATβ the extension is same as the opcode. Literally matching energy.SPI_NOR_EXT_INVERTβ the extension is the bitwise inverse of the opcode. Flip it and reverse it, iykyk.SPI_NOR_EXT_HEXβ the extension is any hex value. The command and opcode combine to form a 16-bit opcode. Iconic.
π SEE ALSO π
Kernel file ./include/linux/mtd/spi-nor.h, plus these besties:
struct spi_nor_hwcaps(9)struct spi_nor_controller_ops(9)struct spi_nor(9)spi_nor_scan(9)
That's the whole page, bestie π«Ά From ./include/linux/mtd, dated October 2026 β Kernel API Manual energy, 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