STRUCT SPI_CONTROLLER_MEM_CAPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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