#include <axis_pci.h>
Collaboration diagram for axis_pci_device_entry:

For each PCI device we have a structure to track the hardware We stash a copy of this in the private data fields of the kernel structures we are assigned so the code that does the work can find its data
|
|
lock to serilise access to des key data structrues |
|
|
having got a key DES ops may need to wait for a channel |
|
|
array of control structure for DES keys |
|
|
Array of structures one for each SPI channel |
|
|
directory entry in Axis /proc file system |
|
|
because of sercuity only one des device allowed to read at once |
|
|
Des ops may need to wait for key storage to become available |
|
|
lock to serilise access to serial routing register |
|
|
allow tidy thread deletion |
|
|
mirror of serial routing register |
|
|
|
|
|
lock to serilise access to outputs |
|
|
mirror for parallel IO control register |
|
|
Allow sub devices to access data |
|
|
allocate a unique number for each Axis hardware device |
|
|
in case of multiple hardware |
|
|
|
|
|
how many external UARTs are fitted |
|
|
directory entry in Axis /proc file system |
|
|
root of Axis /proc file system |
|
|
directory entry in Axis /proc file system |
|
|
input and output IO mirrors |
|
|
directory entry in Axis /proc file system |
|
|
directory entry in Axis /proc file system |
|
|
control structure for des key channel |
|
|
array of control struct for DES Channels |
|
|
access back to kernels PCI configuration for this device |
|
|
remember smart card rx start time for timeouts |
|
|
lock to serilise access to inputs |
|
|
list of SRAM partitions and maps |
|
|
support tx throttleing for smart card |
|
|
only allow one smart card client at once |
|
|
rx buffer for smart card |
|
|
next location for smart card rx interrupt to write |
|
|
smart card code can wait for rx interrupt |
|
|
next location for smart card rx routine to read |
|
|
current smart card rx time out |
|
|
signals a SPI interrupt happened |
|
|
tx buffer for smart card |
|
|
check that smart card tx is finished before starting new tx |
|
|
next location for smart card tx routine to write |
|
|
smart card code can wait for tx interrupt |
|
|
next location for smart card tx interrupt to aquire date |
|
|
|
|
|
remember ID returned from serial driver for each UART |
|
|
signals a SPI operation is current |
|
|
spi code may need to wait for an SPI generated interrupt |
|
|
lock to serilise access to des data strutcures |
|
|
spi code may wait for access to SPI hardware |
|
|
Contains physical and remapped addresses for PCI |
|
|
thread id for kernel timeout thread |
|
|
how long kernel timeout thread sleeps for |
|
|
lock to serilise access to spi data structures |
|
|
ID for interrupt handler |
1.3.6