spi_message...th_transfers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is the spi_message...th_transfers(9) page from the Kernel API Manual πŸ’… and the function is spi_message_init_with_transfers β€” it initializes spi_message and appends transfers. periodt. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void spi_message_init_with_transfers (struct spi_message *m , struct spi_transfer *xfers , unsigned int num_xfers );

πŸŽ€ ARGUMENTS πŸŽ€

  • m β€” the spi_message to be initialized. main character energy fr fr πŸ’œ
  • xfers β€” an array of SPI transfers. the whole squad of transfers 🫢
  • num_xfers β€” number of items in the xfer array. yes, literally the count πŸ”’

🌸 DESCRIPTION 🌸

This function initializes the given spi_message and adds each spi_transfer in the given array to the message. that’s the vibe, that’s the whole job πŸ’…βœ¨

no cap: it takes your m, does its initialize thing, then appends every spi_transfer from the xfers array β€” for num_xfers items β€” into that message. slay. πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/spi/spi.h β€” and the whole reference crew is: struct spi_statistics(9), struct spi_delay(9), struct spi_device(9), struct spi_driver(9), spi_unregister_driver(9), module_spi_driver(9), struct spi_controller(9), struct spi_res(9), struct spi_transfer(9), struct spi_message(9), spi_is_bpw_supported(9), spi_bpw_to_bytes(9), spi_controller_xfer_timeout(9), struct spi_replaced_transfers(9), spi_sync_transfer(9), spi_write(9), spi_read(9), spi_w8r8(9), spi_w8r16(9), spi_w8r16be(9), and struct spi_board_info(9). iykyk πŸ’«


mwah πŸ’‹ this page came from source/version ./include/linux/spi, it’s dated October 2026, and the footer label is spi_message...th_transfers(9). πŸ§šπŸ’–

πŸ“¦ where this page comes from