ENUM SPI_TRANSFER_CMD(9)
π enum spi_transfer_cmd(9) π
okay bestie, so this is a page from the Kernel API Manual, and it's about enum spi_transfer_cmd β literally just the vibe check for SPI transfer commands. tiny page, huge main character energy. let's get into it β¨
πΈ NAME πΈ
enum spi_transfer_cmd β spi transfer commands, no cap
π SYNOPSIS π
enum spi_transfer_cmd {
SPI_TX ,
SPI_RX ,
SPI_DUPLEX
};
like, that's the whole thing. three constants. three little icons. π
π¦ Constants π¦
okay so these are the three members and honestly each one is doing its own thing:
SPI_TXβ the SPI peripheral TX command, i.e. it's giving transmit. sending the data out, periodt. π€SPI_RXβ the SPI peripheral RX command, so now we're receiving. the data comes TO you. obsessed. π₯SPI_DUPLEXβ the SPI peripheral Duplex command β both directions at the same time, highkey the overachiever of the group. π
ngl bestie, the whole enum is just those three. no extra options, no defaults, no env vars, no exit statuses. it's a short one. sometimes that's the vibe π
π₯ SEE ALSO π₯
- the Kernel file
./include/linux/dma/qcom-gpi-dma.h struct gpi_spi_config(9)struct gpi_i2c_config(9)
π«Ά the cute sign-off π«Ά
this page lives in the ./include/linux/dma corner of the Kernel API Manual, dated October 2026 β and it signs off as enum spi_transfer_cmd(9), exactly like it opened. full circle, iconic behavior honestly. go read the structs, bestie, iykyk ππ
π¦ 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