Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / include / nvkm / engine / xtensa.h
blob13c00ce6d556269eeda06fbc1f4abb57b9f4929d
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>
7 struct nvkm_xtensa {
8 const struct nvkm_xtensa_func *func;
9 u32 addr;
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 {
19 u32 fifo_val;
20 u32 unkd28;
21 struct nvkm_sclass sclass[];
23 #endif