2024-09-09 08:52:07 +00:00
|
|
|
/*
|
|
|
|
* CAAM public-level include definitions for the JobR backend
|
|
|
|
*
|
|
|
|
* Copyright 2008-2011 Freescale Semiconductor, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef JR_H
|
|
|
|
#define JR_H
|
|
|
|
|
|
|
|
/* Prototypes for backend-level services exposed to APIs */
|
2024-09-09 08:57:42 +00:00
|
|
|
struct device *caam_jr_alloc(void);
|
|
|
|
void caam_jr_free(struct device *rdev);
|
2024-09-09 08:52:07 +00:00
|
|
|
int caam_jr_enqueue(struct device *dev, u32 *desc,
|
|
|
|
void (*cbk)(struct device *dev, u32 *desc, u32 status,
|
|
|
|
void *areq),
|
|
|
|
void *areq);
|
|
|
|
|
|
|
|
#endif /* JR_H */
|