devm_spi_offload_get(9)
π devm_spi_offload_get π
okay so bestie, this is the Kernel API Manual entry for devm_spi_offload_get(9), and it's giving βsmall function, very important energyβ β¨
πΈ NAME πΈ
devm_spi_offload_get β get an offload instance, periodt π
β¨ SYNOPSIS β¨
struct spi_offload * devm_spi_offload_get (struct device *dev , struct
spi_device *spi , const struct spi_offload_config *config );
π ARGUMENTS π
devβ the device, here for devm purposes π«Άspiβ the SPI device you're using for the transfers πconfigβ the offload configuration, no cap π
π¦ DESCRIPTION π¦
Peripheral drivers call this function to get an offload instance that meets the requirements specified in config. Literally that's the whole vibe π
If no suitable offload instance is available, -ENODEV is returned. Not dramatic, just facts π
π RETURN π
An offload instance when it slays, or an error on failure π
π₯ SEE ALSO π₯
- Kernel file
./drivers/spi/spi-offload.c devm_spi_offload_alloc(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 π that's the whole page, sourced from ./drivers/spi, dated October 2026, and yeah β devm_spi_offload_get(9) ate and left no crumbs ππ§π
π¦ 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