#include <des_io.h>
The hardware can only issue 3 concurrent DES ops at once. This structure is used to track how the des channels are allocated/free
Data Fields | |
| unsigned | lock |
| unsigned char * | buffer_address |
| unsigned char * | register_address |
| wait_queue_head_t | queue |
| volatile int | done |
| volatile unsigned long | start_time |
|
|
address of hardware buffer that contain DES pre and post op data |
|
|
signal current operation has finished |
|
|
lock to prevent channel being reused midoperation |
|
|
An operation queues waiting for an interrupt to signal completion |
|
|
address of control register address for DES channel |
|
|
used so thread can detect missing any DES interrupts |
1.3.6