spi_nor_sr2_..._quad_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ spi_nor_sr2_..._quad_enable(9) ✨

okay so bestie, welcome to the Kernel API Manual entry for spi_nor_sr2_..._quad_enable(9) β€” yes that title is long, yes it's iconic, no we're not shortening it πŸ’…


🌸 NAME 🌸

spi_nor_sr2_bit7_quad_enable β€” sets the QE bit in Status Register 2, and honestly that's the whole personality πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int spi_nor_sr2_bit7_quad_enable (struct spi_nor *nor );

like, give it a nor and it gives you an int back. simple as that 🫢


πŸ’– ARGUMENTS πŸ’–

  • nor β€” pointer to a struct spi_nor. that's it, that's the whole argument list, she travels light ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does she actually do? She sets the Quad Enable (QE) bit in the Status Register 2. periodt πŸ”₯

Here's the lore, iykyk: this is one of the procedures to set the QE bit described in the SFDP (JESD216 rev B) specification. But β€” and this is so real β€” no manufacturer using this procedure has been identified yet. hence the name of the function 😭 like she exists, she's valid, she's spec-compliant, and literally nobody has shown up to use her yet. main character energy honestly 🌈


⭐ RETURN ⭐

  • 0 on success πŸ’–
  • -errno otherwise πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./drivers/mtd/spi-nor/core.c and all her besties in the group chat:


that's the whole page bestie, no gatekeeping πŸ’œ

ngl she's a little niche β€” one QE bit, one status register, zero known manufacturers β€” but that's what makes her special 🧚

πŸ’– ✨ πŸŽ€ πŸ¦‹ 🌸 πŸ’… 🫢 😭 πŸ”₯ πŸ‘‘ 🌈 ⭐ πŸ’€ πŸ™ˆ πŸ“ 🧚 πŸ’œ

shoutout to ./drivers/mtd/spi-nor, dated October 2026, for hosting this whole vibe πŸ“ mwah, take care of her πŸ’‹

πŸ“¦ where this page comes from