Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvkm / engine / xtensa.h
blobfbf27b2293a9f9c1200bf3b217bc51ecf661e7b7
1 /* SPDX-License-Identifier: MIT */
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