Reference

spi_setup(9) on Linux

The text 323da0948049, as Debian 4.0 (Etch) shipped it.

setup SPI mode and clock rate

spi_setup(9) on Linux now