mtk_snand_is_page_ops(9)
π
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
- 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