mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +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]>
36 lines
1.6 KiB
C
36 lines
1.6 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVKM_MC_H__
|
|
#define __NVKM_MC_H__
|
|
#include <core/subdev.h>
|
|
|
|
struct nvkm_mc {
|
|
const struct nvkm_mc_func *func;
|
|
struct nvkm_subdev subdev;
|
|
};
|
|
|
|
void nvkm_mc_enable(struct nvkm_device *, enum nvkm_devidx);
|
|
void nvkm_mc_disable(struct nvkm_device *, enum nvkm_devidx);
|
|
bool nvkm_mc_enabled(struct nvkm_device *, enum nvkm_devidx);
|
|
void nvkm_mc_reset(struct nvkm_device *, enum nvkm_devidx);
|
|
void nvkm_mc_intr(struct nvkm_device *, bool *handled);
|
|
void nvkm_mc_intr_unarm(struct nvkm_device *);
|
|
void nvkm_mc_intr_rearm(struct nvkm_device *);
|
|
void nvkm_mc_intr_mask(struct nvkm_device *, enum nvkm_devidx, bool enable);
|
|
void nvkm_mc_unk260(struct nvkm_device *, u32 data);
|
|
|
|
int nv04_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int nv11_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int nv17_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int nv44_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int nv50_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int g84_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int g98_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int gt215_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int gf100_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int gk104_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int gk20a_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int gp100_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int gp10b_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
int tu102_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
|
|
#endif
|