mc.h 1.1 KB
Newer Older
1 2
#ifndef __NVKM_MC_H__
#define __NVKM_MC_H__
3 4
#include <core/subdev.h>

5
struct nvkm_mc {
6
	const struct nvkm_mc_func *func;
B
Ben Skeggs 已提交
7
	struct nvkm_subdev subdev;
8 9
};

10
void nvkm_mc_intr(struct nvkm_mc *, bool *handled);
11 12
void nvkm_mc_intr_unarm(struct nvkm_mc *);
void nvkm_mc_intr_rearm(struct nvkm_mc *);
13
void nvkm_mc_reset(struct nvkm_mc *, enum nvkm_devidx);
14
void nvkm_mc_unk260(struct nvkm_mc *, u32 data);
15

16
int nv04_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
17
int nv11_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
18
int nv17_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
19 20
int nv44_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
int nv50_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
21
int g84_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
22
int g98_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
23
int gt215_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
24
int gf100_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
25
int gk104_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
26
int gk20a_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
27
#endif