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