STRUCT SPI_CONTROLLER_MEM_CAPS(9)
β¨ NAME β¨
okay so bestie, meet struct spi_controller_mem_caps β SPI memory controller capabilities β from the Kernel API Manual. itβs the little struct that holds the capability bools for an SPI memory controller, and weβre gonna go through every single one. no cap. πβ¨
π¦ SYNOPSIS π¦
hereβs the struct exactly as it appears, bestie β every bool accounted for:
struct spi_controller_mem_caps {
bool dtr;
bool ecc;
bool swap16;
bool per_op_freq;
bool secondary_op_tmpl;
bool no_cs_assertion;
};
π Members π
dtrβ supports DTR operations. slay. πeccβ supports operations with error correction. yes bestie, we love a corrected error. β¨swap16β supports swapping bytes on a 16 bit boundary when configured in Octal DTR. iconic little byte dance. π©°per_op_freqβ supports per operation frequency switching. frequency flexibility fr fr. π₯secondary_op_tmplβ supports leveraging a secondary memory operation template. template bestie behavior. πno_cs_assertionβ heads up: the controller may automatically deassert the CS if there is a pause in the transfer (eg. internal bus contention or DMA arbitration on an interconnect). Features such as NAND continuous reads shall not be leveraged. this one is giving caution tape, so donβt ignore it. π©π
π SEE ALSO π
go peek at these besties too:
- Kernel file
./include/linux/spi/spi-mem.h enum spi_mem_data_dir(9)struct spi_mem_op(9)struct spi_mem_dirmap_info(9)struct spi_mem_dirmap_desc(9)struct spi_mem(9)spi_mem_set_drvdata(9)spi_mem_get_drvdata(9)struct spi_controller_mem_ops(9)struct spi_mem_driver(9)
mwah π this page comes from the Kernel file ./include/linux/spi, dated October 2026, with the footer reading struct spi_c...ler_mem_caps(9). bye bestie! π«Άπ
π¦ 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