STRUCT SPI_OFFLOAD(9)
π¦ struct spi_offload π¦
okay so welcome to the struct spi_offload page from the Kernel API Manual, bestie. this is the offload instance struct and we're gonna get through every lil detail together, no cap π
β¨ NAME β¨
struct spi_offload β offload instance. that's the name, that's the assignment, and honestly it's lowkey iconic.
π SYNOPSIS π
here's the struct in all its glory, copied exactly and looking cute:
struct spi_offload {
struct device *provider_dev;
void *priv;
const struct spi_offload_ops *ops;
u32 xfer_flags;
};
π Members π
four members, one struct, zero skips:
provider_devβ for get/put reference counting. literally its whole job, bestie.privβ provider driver private data. stash it here, it's giving private stash energy.opsβ callbacks for offload support. the little hooks that make it go.xfer_flagsβSPI_OFFLOAD_XFER_*flags supported by provider. yes, the star flags, periodt.
π SEE ALSO π
go be nosy, bestie:
- Kernel file
./include/linux/spi/offload/types.hβ the kernel file, right there. struct spi_offload_config(9)β yes bestie, read it.struct spi_offload_ops(9)β also read this one, iykyk.
mwah π this page is sourced from ./include/linux/spi/offload and dated October 2026. bye bestie, go offload something iconic π
β¨
π¦ 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