stm32fx_spi_disable(9)
π stm32fx_spi_disable β like, the Kernel API Manual page bestie
okay so this is a page from the Kernel API Manual, and the function it's hyping up is stm32fx_spi_disable π which is literally the "turn the SPI controller off" moment. That's it. That's the whole vibe. No cap.
β¨ NAME β¨
stm32fx_spi_disable β Disable SPI controller π
like it does exactly what it says on the tin bestie, the whole personality is "disable the SPI controller" and honestly? iconic for that π
π¦ SYNOPSIS π¦
void stm32fx_spi_disable (struct stm32_spi *spi );
so the signature is void stm32fx_spi_disable (struct stm32_spi *spi ); β it returns void (nothing comes back, it just does the thing) and it takes one arg. slay πΈ
π ARGUMENTS π
spiβ pointer to the spi controller data structure π lowkey just hand it the SPI controller struct and it knows what to do
π SEE ALSO π
okay this is the part where the manpage introduces you to literally the entire friend group β the whole ./drivers/spi/spi-stm32.c kernel file squad π«Ά. Here's everyone, no one left out, fr fr:
struct stm32_spi_reg(9)struct stm32_spi_regspec(9)struct stm32_spi_cfg(9)struct stm32_spi(9)stm32h7_spi_get_fifo_size(9)stm32f4_spi_get_bpw_mask(9)stm32f7_spi_get_bpw_mask(9)stm32h7_spi_get_bpw_mask(9)stm32mp25_spi_get_bpw_mask(9)stm32_spi_prepare_mbr(9)stm32h7_spi_prepare_fthlv(9)stm32f4_spi_write_tx(9)stm32f7_spi_write_tx(9)stm32h7_spi_write_txfifo(9)stm32f4_spi_read_rx(9)stm32f7_spi_read_rx(9)stm32h7_spi_read_rxfifo(9)stm32_spi_enable(9)stm32h7_spi_disable(9)stm32_spi_can_dma(9)stm32fx_spi_irq_event(9)stm32fx_spi_irq_thread(9)stm32h7_spi_irq_thread(9)stm32_spi_prepare_msg(9)stm32fx_spi_dma_tx_cb(9)stm32_spi_dma_rx_cb(9)stm32_spi_dma_config(9)stm32fx_spi_transfer_one_irq(9)stm32h7_spi_transfer_one_poll(9)stm32h7_spi_transfer_one_irq(9)stm32fx_spi_transfer_one_dma_start(9)stm32f7_spi_transfer_one_dma_start(9)stm32h7_spi_transfer_one_dma_start(9)stm32_spi_prepare_rx_dma_mdma_chaining(9)stm32_spi_transfer_one_dma(9)stm32f4_spi_set_bpw(9)stm32f7_spi_set_bpw(9)stm32h7_spi_set_bpw(9)stm32_spi_set_mbr(9)stm32_spi_communication_type(9)stm32fx_spi_set_mode(9)stm32h7_spi_set_mode(9)stm32h7_spi_data_idleness(9)stm32h7_spi_number_of_data(9)stm32_spi_transfer_one_setup(9)stm32_spi_can_poll(9)stm32_spi_transfer_one(9)stm32_spi_unprepare_msg(9)stm32fx_spi_config(9)stm32h7_spi_config(9)
bestie there is not a single name missing from that list, i checked twice π the wholestm32_spiextended universe is in there, iykyk. Also heads up,stm32_spi_enable(9)is right there too β the opposite-energy bestie, the "turn it back on" one π₯
π§ sign-off π§
this page lives in ./drivers/spi, it's dated October 2026, and it's part of the Kernel API Manual. go forth and disable that controller, main character energy only πβ¨π
π¦ 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