diff options
author | Joel Fernandes <joelf@ti.com> | 2013-08-17 21:42:29 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-08-21 21:28:03 +1000 |
commit | 1bf95cca8f407cc0d6f21708fdbb17d1dd531bec (patch) | |
tree | bca048f64a8a120b79e2eefd1c58420b87628f66 /security/keys | |
parent | 67216756ea8b9bfa738e0f0a263094f459ab1a12 (diff) | |
download | linux-1bf95cca8f407cc0d6f21708fdbb17d1dd531bec.tar.bz2 |
crypto: omap-aes - PIO mode: Add IRQ handler and walk SGs
We add an IRQ handler that implements a state-machine for PIO-mode and data
structures for walking the scatter-gather list. The IRQ handler is called in
succession both when data is available to read or next data can be sent for
processing. This process continues till the entire in/out SG lists have been
walked. Once the SG-list has been completely walked, the IRQ handler schedules
the done_task tasklet.
Also add a useful macro that is used through out the IRQ code for a common
pattern of calculating how much an SG list has been walked. This improves code
readability and avoids checkpatch errors.
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions