STRUCT SPI_TRANSFER_RESULT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct spi_transfer_result β€” okay bestie, this is the virtio SPI transfer result page from the Kernel API Manual, and it’s literally here to hold the transfer result code πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

struct spi_transfer_result {
  #define VIRTIO_SPI_TRANS_OK     0;
  #define VIRTIO_SPI_PARAM_ERR    1;
  #define VIRTIO_SPI_TRANS_ERR    2;
    __u8 result;
 };

πŸ’… Members πŸ’…

  • result β€” the transfer result code, periodt. It’s giving one of these three constants:
    • VIRTIO_SPI_TRANS_OK β€” transfer successful ✨
    • VIRTIO_SPI_PARAM_ERR β€” parameter error 🫠
    • VIRTIO_SPI_TRANS_ERR β€” transfer error 😭

🌈 SEE ALSO 🌈

  • Kernel file ./include/uapi/linux/virtio_spi.h
  • struct virtio_spi_config(9)
  • struct spi_transfer_head(9)

mwah πŸ’‹ this cutie comes from source path ./include/uapi/linux, dated October 2026, and the page is struct spi_transfer_result(9) β€” that’s the whole footer vibe, bestie 🫢

πŸ“¦ where this page comes from