1 #ifndef __NVKM_XTENSA_H__ 2 #define __NVKM_XTENSA_H__ 3 #define nvkm_xtensa(p) container_of((p), struct nvkm_xtensa, engine) 4 #include <core/engine.h> 5 6 struct nvkm_xtensa { 7 const struct nvkm_xtensa_func *func; 8 u32 addr; 9 struct nvkm_engine engine; 10 11 struct nvkm_memory *gpu_fw; 12 }; 13 14 int nvkm_xtensa_new_(const struct nvkm_xtensa_func *, struct nvkm_device *, 15 int index, bool enable, u32 addr, struct nvkm_engine **); 16 17 struct nvkm_xtensa_func { 18 u32 pmc_enable; 19 u32 fifo_val; 20 u32 unkd28; 21 struct nvkm_sclass sclass[]; 22 }; 23 #endif 24