#include <spi.h>
Collaboration diagram for spi_adapter:

Public Attributes | |
| char | name [32] |
| spi_algorithm * | algo |
| void * | algo_data |
| int(* | set_spi_adap_cs )(struct spi_adapter *, int id, int val) |
| spi_cs * | cs |
| module * | owner |
| void * | data |
| semaphore | lock |
| int | inode |
| int | id |
| list_head | clients |
| list_head | adapters |
|
|
List of all adapters. |
|
|
the algorithm to access the bus |
|
|
Algorithm specific data |
|
|
List of attached clients. |
|
|
table of assigned CS id:s of this board |
|
|
private data for the adapter |
|
|
unique id |
|
|
No need to set this when you initialize the adapter |
|
|
Our lock. |
|
|
This name is used to uniquely identify the adapter. It should be the same as the module name. |
|
|
This may be NULL, or should point to the module struct |
|
|
Set ( assret/release ) spi chip select line |
1.3.6