stm32_spi_prepare_msg(9)
π« stm32_spi_prepare_msg(9) π«
okay so bestie, welcome to the Kernel API Manual πΈ β today's main character is stm32_spi_prepare_msg, and honestly? she's the get-ready-with-me of the SPI world. β¨
π NAME π
stm32_spi_prepare_msg β set up the controller to transfer a single message π
Like, literally the "bestie hold my iced coffee while I get the controller all prepped for one (1) message" function. no cap.
π¦ SYNOPSIS π¦
int stm32_spi_prepare_msg (struct spi_controller *ctrl , struct spi_message *msg );
she returns an int, she takes two args, she slays. periodt. π₯
π ARGUMENTS π
ctrlβ the controller interface ποΈ β yes this is the thing we're setting up, keep up bestiemsgβ pointer to thespi_messageπ¨ β the actual message we're about to send out into the world, it's giving main character energy fr fr
π SEE ALSO π
okay this list is long, but every single one of these icons deserves their moment, so here's the whole crew from the kernel file ./drivers/spi/spi-stm32.c π«Ά:
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)stm32fx_spi_disable(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)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)
like... the whole friend group showed up. obsessed. π iykyk.
ngl bestie, that's the whole page β no hidden flags, no sneaky env vars, no exit status lore. just vibes, a controller, and a message. π§
and that's a wrap, babe! π this lil number lives in ./drivers/spi, dated October 2026, and answers to stm32_spi_prepare_msg(9) β go forth and prepare those messages, you absolute icon ππ
π¦ 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