1SPI_WRITE(9) Serial Peripheral Interface (S SPI_WRITE(9)
23
4
NAME
6spi_write - SPI synchronous write
7
SYNOPSIS
9int spi_write(struct spi_device * spi, const u8 * buf, size_t len);
10
ARGUMENTS
12spi
13device to which data will be written
1415
buf
16data buffer
1718
len
19data buffer size
20
CONTEXT
22can sleep
23
DESCRIPTION
25This writes the buffer and returns zero or a negative error code.
26Callable only from contexts that can sleep.
27
COPYRIGHT
29Kernel Hackers Manual 2.6. June 2019 SPI_WRITE(9)