blob: 4cf483894af0116bea88e21f35ee331e6fd1537f [file] [log] [blame]
Ben Skeggs98383662013-10-17 09:56:02 +10001#ifndef __NVKM_DEVICE_PRIV_H__
2#define __NVKM_DEVICE_PRIV_H__
Ben Skeggs97190472015-01-14 15:35:00 +10003#include <core/device.h>
Ben Skeggs98383662013-10-17 09:56:02 +10004
Ben Skeggs6cf813f2015-08-20 14:54:17 +10005#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>
Ben Skeggs19fef522015-08-20 14:54:18 +100029#include <engine/dma.h>
Ben Skeggs6cf813f2015-08-20 14:54:17 +100030#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
Ben Skeggs7974dd12015-08-20 14:54:17 +100041int 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 *);
47int nvkm_device_init(struct nvkm_device *);
48int nvkm_device_fini(struct nvkm_device *, bool suspend);
49
Ben Skeggs97190472015-01-14 15:35:00 +100050int nv04_identify(struct nvkm_device *);
51int nv10_identify(struct nvkm_device *);
52int nv20_identify(struct nvkm_device *);
53int nv30_identify(struct nvkm_device *);
54int nv40_identify(struct nvkm_device *);
55int nv50_identify(struct nvkm_device *);
56int gf100_identify(struct nvkm_device *);
57int gk104_identify(struct nvkm_device *);
58int gm100_identify(struct nvkm_device *);
Ben Skeggs98383662013-10-17 09:56:02 +100059#endif