devm_spi_offload_alloc(9)
π 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 tostruct 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 π₯
devm_spi_offload_get(9)devm_spi_offload_trigger_get(9)spi_offload_trigger_validate(9)spi_offload_trigger_enable(9)spi_offload_trigger_disable(9)devm_spi_offload_tx_stream_request_dma_chan(9)devm_spi_offload_rx_stream_request_dma_chan(9)devm_spi_offload_trigger_register(9)spi_offload_trigger_get_priv(9)
mwah π β source/version vibes from ./drivers/spi, dated October 2026, page devm_spi_offload_alloc(9) πβ¨
π¦ 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