1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_SEC2_H__
3 #define __NVKM_SEC2_H__
4 #include <core/engine.h>
5 
6 struct nvkm_sec2 {
7 	struct nvkm_engine engine;
8 	u32 addr;
9 
10 	struct nvkm_falcon *falcon;
11 	struct nvkm_msgqueue *queue;
12 	struct work_struct work;
13 };
14 
15 int gp102_sec2_new(struct nvkm_device *, int, struct nvkm_sec2 **);
16 int tu102_sec2_new(struct nvkm_device *, int, struct nvkm_sec2 **);
17 #endif
18