1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_XTENSA_H__
3 #define __NVKM_XTENSA_H__
4 #define nvkm_xtensa(p) container_of((p), struct nvkm_xtensa, engine)
5 #include <core/engine.h>
8 const struct nvkm_xtensa_func
*func
;
10 struct nvkm_engine engine
;
12 struct nvkm_memory
*gpu_fw
;
15 int nvkm_xtensa_new_(const struct nvkm_xtensa_func
*, struct nvkm_device
*,
16 int index
, bool enable
, u32 addr
, struct nvkm_engine
**);
18 struct nvkm_xtensa_func
{
21 struct nvkm_sclass sclass
[];