pch_spi_set_bits_per_word(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to struct 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. a u8, 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:

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