xref: /openbmc/linux/drivers/crypto/caam/jr.h (revision 1c2dd16a)
1 /*
2  * CAAM public-level include definitions for the JobR backend
3  *
4  * Copyright 2008-2011 Freescale Semiconductor, Inc.
5  */
6 
7 #ifndef JR_H
8 #define JR_H
9 
10 /* Prototypes for backend-level services exposed to APIs */
11 struct device *caam_jr_alloc(void);
12 void caam_jr_free(struct device *rdev);
13 int caam_jr_enqueue(struct device *dev, u32 *desc,
14 		    void (*cbk)(struct device *dev, u32 *desc, u32 status,
15 				void *areq),
16 		    void *areq);
17 
18 #endif /* JR_H */
19