summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/jr.h
diff options
context:
space:
mode:
authorRuchika Gupta <ruchika.gupta@freescale.com>2013-10-25 10:31:02 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2013-10-30 08:02:57 +0400
commit07defbfb0fd662272dff5207001a0a5e09aeaeec (patch)
tree8a62247e570d9cdad5fec0a31d494c76e532a4b3 /drivers/crypto/caam/jr.h
parent313ea293e9c4d1eabcaddd2c0800f083b03c2a2e (diff)
downloadlinux-07defbfb0fd662272dff5207001a0a5e09aeaeec.tar.xz
crypto: caam - Add API's to allocate/free Job Rings
With each of the Job Ring available as a platform device, the Job Ring driver needs to take care of allocation/deallocation of the Job Rings to the above interface layers. Added APIs in Job Ring Driver to allocate/free Job rings Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Reviewed-by: Garg Vakul-B16394 <vakul@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/jr.h')
-rw-r--r--drivers/crypto/caam/jr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/caam/jr.h b/drivers/crypto/caam/jr.h
index 02f69bbbab08..97113a6d6c58 100644
--- a/drivers/crypto/caam/jr.h
+++ b/drivers/crypto/caam/jr.h
@@ -8,6 +8,8 @@
#define JR_H
/* Prototypes for backend-level services exposed to APIs */
+struct device *caam_jr_alloc(void);
+void caam_jr_free(struct device *rdev);
int caam_jr_enqueue(struct device *dev, u32 *desc,
void (*cbk)(struct device *dev, u32 *desc, u32 status,
void *areq),