1 #ifndef __NVKM_DEVICE_PRIV_H__
2 #define __NVKM_DEVICE_PRIV_H__
3 #include <core/device.h>
4 
5 #include <subdev/bar.h>
6 #include <subdev/bios.h>
7 #include <subdev/bus.h>
8 #include <subdev/clk.h>
9 #include <subdev/devinit.h>
10 #include <subdev/fb.h>
11 #include <subdev/fuse.h>
12 #include <subdev/gpio.h>
13 #include <subdev/i2c.h>
14 #include <subdev/ibus.h>
15 #include <subdev/instmem.h>
16 #include <subdev/ltc.h>
17 #include <subdev/mc.h>
18 #include <subdev/mmu.h>
19 #include <subdev/mxm.h>
20 #include <subdev/pmu.h>
21 #include <subdev/therm.h>
22 #include <subdev/timer.h>
23 #include <subdev/volt.h>
24 
25 #include <engine/bsp.h>
26 #include <engine/ce.h>
27 #include <engine/cipher.h>
28 #include <engine/disp.h>
29 #include <engine/dmaobj.h>
30 #include <engine/fifo.h>
31 #include <engine/gr.h>
32 #include <engine/mpeg.h>
33 #include <engine/mspdec.h>
34 #include <engine/msppp.h>
35 #include <engine/msvld.h>
36 #include <engine/pm.h>
37 #include <engine/sec.h>
38 #include <engine/sw.h>
39 #include <engine/vp.h>
40 
41 int  nvkm_device_ctor(const struct nvkm_device_func *,
42 		      const struct nvkm_device_quirk *,
43 		      void *, enum nv_bus_type type, u64 handle,
44 		      const char *name, const char *cfg, const char *dbg,
45 		      bool detect, bool mmio, u64 subdev_mask,
46 		      struct nvkm_device *);
47 int  nvkm_device_init(struct nvkm_device *);
48 int  nvkm_device_fini(struct nvkm_device *, bool suspend);
49 
50 extern struct nvkm_oclass nvkm_control_oclass[];
51 
52 int nv04_identify(struct nvkm_device *);
53 int nv10_identify(struct nvkm_device *);
54 int nv20_identify(struct nvkm_device *);
55 int nv30_identify(struct nvkm_device *);
56 int nv40_identify(struct nvkm_device *);
57 int nv50_identify(struct nvkm_device *);
58 int gf100_identify(struct nvkm_device *);
59 int gk104_identify(struct nvkm_device *);
60 int gm100_identify(struct nvkm_device *);
61 #endif
62