struct_spi_statistics(9) - phpMan
STRUCT SPI_STATISTIC(9) Serial Peripheral Interface (S STRUCT SPI_STATISTIC(9)
NAME
struct_spi_statistics - statistics for spi transfers
SYNOPSIS
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];
unsigned long transfers_split_maxsize;
};
MEMBERS
lock
lock protecting this structure
messages
number of spi-messages handled
transfers
number of spi_transfers handled
errors
number of errors during spi_transfer
timedout
number of timeouts during spi_transfer
spi_sync
number of times spi_sync is used
spi_sync_immediate
number of times spi_sync is executed immediately in calling context without queuing
and scheduling
spi_async
number of times spi_async is used
bytes
number of bytes transferred to/from device
bytes_rx
number of bytes received from device
bytes_tx
number of bytes sent to device
transfer_bytes_histo[SPI_STATISTICS_HISTO_SIZE]
transfer bytes histogramm
transfers_split_maxsize
number of transfers that have been split because of maxsize limit
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 STRUCT SPI_STATISTIC(9)
|