mtk_snand_is_page_ops(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mtk_snand_is_page_ops(9) β€” the Kernel API Manual era πŸŽ€

okay bestie, this one lives in the Kernel API Manual section, and it's literally a vibe check for SPI-NAND page ops, no cap πŸ¦‹


✨ NAME ✨

mtk_snand_is_page_ops β€” checks whether the op is a page op the controller actually supports πŸ’–


🌸 SYNOPSIS 🌸

bool mtk_snand_is_page_ops (const struct spi_mem_op *op );

πŸŽ€ ARGUMENTS πŸŽ€

  • op β€” the spi-mem op we're checking, bestie. that's the whole assignment 🫢

🧚 DESCRIPTION 🧚

so what this does is check whether op can be executed with read_from_cache or program_load mode in the controller πŸ”₯

this controller can execute the typical Read From Cache and Program Load instructions you find on SPI-NAND with 2-byte address, periodt πŸ’…

okay but listen πŸ‘€ β€” DTR and cmd buswidth & nbytes should be checked before calling this. that's on you, not on this function. do your homework first, fr fr 😭

⭐ RETURN ⭐

true if the op matches the instruction template 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/spi/spi-mtk-snfi.c β€” go read it, iykyk πŸ’œ


and that's the whole page, bestie! this one came from ./drivers/spi, dated October 2026, and it's under the Kernel API Manual umbrella 🌸 sign-off complete, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from