Merge tag 'pm-for-3.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[linux/fpc-iii.git] / drivers / crypto / caam / jr.h
blobc23df395b6220b2b294610ea17254492b2e1dfd7
1 /*
2 * CAAM public-level include definitions for the JobR backend
4 * Copyright 2008-2011 Freescale Semiconductor, Inc.
5 */
7 #ifndef JR_H
8 #define JR_H
10 /* Prototypes for backend-level services exposed to APIs */
11 int caam_jr_register(struct device *ctrldev, struct device **rdev);
12 int caam_jr_deregister(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);
18 extern int caam_jr_probe(struct platform_device *pdev, struct device_node *np,
19 int ring);
20 extern int caam_jr_shutdown(struct device *dev);
21 #endif /* JR_H */