mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
The bulk SPDX addition made all these files into GPL-2.0 licensed files.
However the remainder of the project is MIT-licensed, these files
(primarily header files) were simply missing the boiler plate and got
caught up in the global update.
Fixes: b24413180f (License cleanup: add SPDX GPL-2.0 license identifier to files with no license)
Signed-off-by: Ilia Mirkin <[email protected]>
Acked-by: Emil Velikov <[email protected]>
Acked-by: Karol Herbst <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
24 lines
550 B
C
24 lines
550 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVKM_XTENSA_H__
|
|
#define __NVKM_XTENSA_H__
|
|
#define nvkm_xtensa(p) container_of((p), struct nvkm_xtensa, engine)
|
|
#include <core/engine.h>
|
|
|
|
struct nvkm_xtensa {
|
|
const struct nvkm_xtensa_func *func;
|
|
u32 addr;
|
|
struct nvkm_engine engine;
|
|
|
|
struct nvkm_memory *gpu_fw;
|
|
};
|
|
|
|
int nvkm_xtensa_new_(const struct nvkm_xtensa_func *, struct nvkm_device *,
|
|
int index, bool enable, u32 addr, struct nvkm_engine **);
|
|
|
|
struct nvkm_xtensa_func {
|
|
u32 fifo_val;
|
|
u32 unkd28;
|
|
struct nvkm_sclass sclass[];
|
|
};
|
|
#endif
|