blob: 97113a6d6c58f500cd7aeb64a4d506ebfc0ca688 [file] [log] [blame]
Kim Phillips8e8ec592011-03-13 16:54:26 +08001/*
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 */
Ruchika Gupta07defbf2013-10-25 12:01:02 +053011struct device *caam_jr_alloc(void);
12void caam_jr_free(struct device *rdev);
Kim Phillips8e8ec592011-03-13 16:54:26 +080013int 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
Kim Phillips8e8ec592011-03-13 16:54:26 +080018#endif /* JR_H */