Query: spi_write
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SPI_WRITE(9) Serial Peripheral Interface (S SPI_WRITE(9)NAMEspi_write - SPI synchronous writeSYNOPSISint spi_write(struct spi_device * spi, const void * buf, size_t len);ARGUMENTSspi device to which data will be written buf data buffer len data buffer sizeCONTEXTcan sleepDESCRIPTIONThis writes the buffer and returns zero or a negative error code. Callable only from contexts that can sleep.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SPI_WRITE(9)