^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * CAAM public-level include definitions for the JobR backend
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright 2008-2011 Freescale Semiconductor, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #ifndef JR_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define JR_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /* Prototypes for backend-level services exposed to APIs */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) struct device *caam_jr_alloc(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) void caam_jr_free(struct device *rdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) int caam_jr_enqueue(struct device *dev, u32 *desc,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void (*cbk)(struct device *dev, u32 *desc, u32 status,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void *areq),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) void *areq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #endif /* JR_H */