STRUCT SPI_OFFLOAD_CONFIG(9)
π struct spi_offload_config β offload configuration β¨
okay so bestie, welcome to the Kernel API Manual page for struct spi_offload_config π this is the little struct that tells the kernel what you want when you're asking for an offload, and honestly? it ate. let's get into it π
πΈ NAME πΈ
struct spi_offload_config β the offload configuration, periodt β¨
π¦ SYNOPSIS π¦
here's the whole thing, she's tiny but she's iconic:
struct spi_offload_config {
u32 capability_flags;
};
that's it, that's the struct π«Ά lowkey obsessed with how small she is.
π Members π
capability_flagsβ the required capabilities. the way this is literally your wishlist of what the offload needs to be able to do π peepSPI_OFFLOAD_CAP_*for the actual flag values, iykyk β
π Description π
so like, this struct is what you use to request an offload with a specific configuration β¨ that's the whole vibe. you hand it over with your requirements in capability_flags, and that's how the request gets to say what it needs. no cap π§
ngl bestie, it's giving "small struct, big responsibility" β keep capability_flags accurate or your offload request won't match what you actually wanted π
π SEE ALSO π
- Kernel file
./include/linux/spi/offload/types.h struct spi_offload(9)struct spi_offload_ops(9)
go read those next, fr fr β they're the rest of the lore ππ
and that's the page!! mwah π this gem comes from ./include/linux/spi/offload, October 2026, and it's filed under struct spi_offload_config(9) if you ever need to find her again π stay slay, 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