ax_spi_runtime_suspend(9)
π€ ax_spi_runtime_suspend(9) β the Kernel API Manual, bestie edition β¨
okay so this is a page straight out of the Kernel API Manual, and honestly? it's short, it's sweet, it's giving "one job and she does it." let's get into it π«Ά
πΈ NAME πΈ
ax_spi_runtime_suspend β the runtime suspend method for the SPI driver. that's her. that's the whole vibe check π
π¦ SYNOPSIS π¦
int ax_spi_runtime_suspend (struct device *dev );
like literally that's the signature, copy it exactly, no cap β¨
π ARGUMENTS π
devβ the address of theplatform_devicestructure. that's it. that's the one (1) argument, she's lowkey carrying the whole function π
π DESCRIPTION π
so what does she do? she disables the clocks. periodt. that's the entire description, and honestly she ate β no extra lore, no side quests, just clocks going bye-bye π₯
β RETURN β
always 0. not "sometimes", not "depends on the weather", always. iconic, consistent, zero drama π
π SEE ALSO π
the kernel file lives at ./drivers/spi/spi-axiado.c πΎ and while you're there, go say hi to the whole friend group:
ax_spi_read(9)ax_spi_write(9)ax_spi_write_b(9)ax_spi_init_hw(9)ax_spi_chipselect(9)ax_spi_config_clock_mode(9)ax_spi_config_clock_freq(9)ax_spi_setup_transfer(9)ax_spi_fill_tx_fifo(9)ax_spi_get_rx_byte_for_irq(9)ax_spi_process_rx_and_finalize(9)ax_spi_irq(9)ax_transfer_one(9)ax_prepare_transfer_hardware(9)ax_unprepare_transfer_hardware(9)ax_spi_detect_fifo_depth(9)ax_spi_get_rx_byte(9)ax_spi_probe(9)ax_spi_remove(9)ax_spi_suspend(9)ax_spi_resume(9)ax_spi_runtime_resume(9)
ngl bestie, don't skip the SEE ALSO list β that's the group chat and every single one of them is in it ππ
okay that's the page!! and before you go, the cute little sign-off at the bottom: this one's filed under ./drivers/spi, dated October 2026, and yes, the title is still ax_spi_runtime_suspend(9) because some things never change π§πΈ byeee π
π¦ 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