crypto/caam_jr: add basic job ring routines
authorGagandeep Singh <g.singh@nxp.com>
Fri, 12 Oct 2018 14:40:46 +0000 (20:10 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 17 Oct 2018 10:23:40 +0000 (12:23 +0200)
commit1d678de329ab814f6197ff4e15887f35fd2ee5d5
treecb071a6f51b6fe899141f4a1daad349e4d3d5b67
parente7a45f3cc245e5d077f2358a8641ce150a2e665a
crypto/caam_jr: add basic job ring routines

This patch adds following job ring routines
 - init_job_ring (configure hw/sw resources)
 - shutdown_job_ring (releases hw/sw resources)
 - close_job_ring (flush job ring)

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/caam_jr/caam_jr.c