struct_spi_res(9) - phpMan
STRUCT SPI_RES(9) Serial Peripheral Interface (S STRUCT SPI_RES(9)
NAME
struct_spi_res - spi resource management structure
SYNOPSIS
struct spi_res {
struct list_head entry;
spi_res_release_t release;
unsigned long long data[];
};
MEMBERS
entry
list entry
release
release code called prior to freeing this resource
data[]
extra data allocated for the specific use-case
DESCRIPTION
this is based on ideas from devres, but focused on life-cycle management during
spi_message processing
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 STRUCT SPI_RES(9)
|