https://github.com/torvalds/linux
Raw File
Tip revision: 7877cb91f1081754a1487c144d85dc0d2e2e7fc4 authored by Linus Torvalds on 28 May 2023, 11:49:00 UTC
Linux 6.4-rc4
Tip revision: 7877cb9
jr.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * 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 */
struct device *caam_jr_alloc(void);
void caam_jr_free(struct device *rdev);
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 */
back to top