6dad41158d
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
20 lines
523 B
C
20 lines
523 B
C
/*
|
|
* 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 */
|
|
int caam_jr_enqueue(struct device *dev, u32 *desc,
|
|
void (*cbk)(struct device *dev, u32 *desc, u32 status,
|
|
void *areq),
|
|
void *areq);
|
|
|
|
extern int caam_jr_probe(struct platform_device *pdev, struct device_node *np,
|
|
int ring);
|
|
extern int caam_jr_shutdown(struct device *dev);
|
|
#endif /* JR_H */
|