1SPI_SYNC_TRANSFER(9) Serial Peripheral Interface (S SPI_SYNC_TRANSFER(9)
2
3
4
6 spi_sync_transfer - synchronous SPI data transfer
7
9 int spi_sync_transfer(struct spi_device * spi,
10 struct spi_transfer * xfers,
11 unsigned int num_xfers);
12
14 spi
15 device with which data will be exchanged
16
17 xfers
18 An array of spi_transfers
19
20 num_xfers
21 Number of items in the xfer array
22
24 can sleep
25
27 Does a synchronous SPI data transfer of the given spi_transfer array.
28
29 For more specific semantics see spi_sync.
30
31 It returns zero on success, else a negative error code.
32
34Kernel Hackers Manual 3.10 June 2019 SPI_SYNC_TRANSFER(9)