Reference

spi_setup(9) on Linux

The text 452b964f7c12, as Debian 7 (Wheezy) shipped it.

setup SPI mode and clock rate

spi_setup(9) on Linux now