devm_spi_offload_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ devm_spi_offload_alloc(9) β€” from the Kernel API Manual πŸŽ€

okay bestie, welcome to the page for devm_spi_offload_alloc β€” it's giving kernel API realness, and yes, we're in the Kernel API Manual ✨

πŸ’– NAME πŸ’–

devm_spi_offload_alloc β€” Allocate offload instance 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

struct spi_offload * devm_spi_offload_alloc (struct device *dev , size_t
priv_size );

🌸 ARGUMENTS 🌸

  • dev β€” Device for devm purposes and assigned to struct spi_offload.provider_dev πŸ’…
  • priv_size β€” Size of private data to allocate πŸŽ€

✨ DESCRIPTION ✨

Offload providers should use this to allocate offload instances. That's the whole vibe, bestie β€” if you're an offload provider, this is the alloc call you want. πŸ‘‘

πŸ’« RETURN πŸ’«

Pointer to new offload instance or error on failure. Yep, that's it β€” either the new instance pointer or an error, no cap. 😭

🫢 SEE ALSO 🫢

Kernel file ./drivers/spi/spi-offload.c β€” go peek, iykyk πŸ”₯


mwah πŸ’‹ β€” source/version vibes from ./drivers/spi, dated October 2026, page devm_spi_offload_alloc(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from