struct spi_statistics — statistics for spi transfers
struct spi_statistics {
spinlock_t lock;
unsigned long messages;
unsigned long transfers;
unsigned long errors;
unsigned long timedout;
unsigned long spi_sync;
unsigned long spi_sync_immediate;
unsigned long spi_async;
unsigned long long bytes;
unsigned long long bytes_rx;
unsigned long long bytes_tx;
#define SPI_STATISTICS_HISTO_SIZE 17
unsigned long transfer_bytes_histo[SPI_STATISTICS_HISTO_SIZE];
}; lock protecting this structure
number of spi-messages handled
number of spi_transfers handled
number of errors during spi_transfer
number of timeouts during spi_transfer
number of times spi_sync is used
number of times spi_sync is executed immediately in calling context without queuing and scheduling
number of times spi_async is used
number of bytes transferred to/from device
number of bytes received from device
number of bytes sent to device
transfer bytes histogramm