STRUCT SPI_OFFLOAD_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’… peep SPI_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