pch_spi_set_bits_per_word(9)
π pch_spi_set_bits_per_word(9) β the kernel API manual, but make it cute
okay so bestie, welcome to the pch_spi_set_bits_per_word page from the Kernel API Manual β¨ this one's a little function but she's got a very specific job and honestly? she ate.
πΈ NAME πΈ
pch_spi_set_bits_per_word β sets the SIZE field in SPBRR π
like. that's the whole thing. she sets the SIZE field in SPBRR. no cap.
β¨ SYNOPSIS β¨
void pch_spi_set_bits_per_word (struct spi_controller *host , u8
bits_per_word );
note the void bestie, this one doesn't hand anything back, she just does the thing π
π¦ ARGUMENTS π¦
hostβ pointer tostruct spi_controller. that's your main character right there, she's the controller holding the whole vibe together πbits_per_wordβ bits per word for the SPI transfer. au8, so keep it smol π
π«Ά SEE ALSO π«Ά
the kernel file ./drivers/spi/spi-topcliff-pch.c is the source of truth, and these besties are all in the same friend group:
struct pch_spi_data(9)struct pch_spi_board_data(9)pch_spi_writereg(9)pch_spi_readreg(9)pch_spi_clear_fifo(9)pch_spi_handler(9)pch_spi_set_baud_rate(9)pch_spi_setup_transfer(9)pch_spi_reset(9)
go read them, iykyk π
ngl this page is short but every detail matters, so no skimming bestie π the SIZE field does not set itself
and that's the whole page fr fr π β it lives over in ./drivers/spi, the version stamp says October 2026, and the manual header/footer is literally pch_spi_set_bits_per_word(9) on both ends, iconic symmetry, periodt π
π¦ 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