Ben Skeggs | 9838366 | 2013-10-17 09:56:02 +1000 | [diff] [blame] | 1 | #ifndef __NVKM_DEVICE_PRIV_H__ |
| 2 | #define __NVKM_DEVICE_PRIV_H__ |
Ben Skeggs | 9719047 | 2015-01-14 15:35:00 +1000 | [diff] [blame] | 3 | #include <core/device.h> |
Ben Skeggs | 9838366 | 2013-10-17 09:56:02 +1000 | [diff] [blame] | 4 | |
Ben Skeggs | 6cf813f | 2015-08-20 14:54:17 +1000 | [diff] [blame] | 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> |
Ben Skeggs | 19fef52 | 2015-08-20 14:54:18 +1000 | [diff] [blame] | 29 | #include <engine/dma.h> |
Ben Skeggs | 6cf813f | 2015-08-20 14:54:17 +1000 | [diff] [blame] | 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 | |
Ben Skeggs | 7974dd1 | 2015-08-20 14:54:17 +1000 | [diff] [blame] | 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 | |
Ben Skeggs | 9719047 | 2015-01-14 15:35:00 +1000 | [diff] [blame] | 50 | int nv04_identify(struct nvkm_device *); |
| 51 | int nv10_identify(struct nvkm_device *); |
| 52 | int nv20_identify(struct nvkm_device *); |
| 53 | int nv30_identify(struct nvkm_device *); |
| 54 | int nv40_identify(struct nvkm_device *); |
| 55 | int nv50_identify(struct nvkm_device *); |
| 56 | int gf100_identify(struct nvkm_device *); |
| 57 | int gk104_identify(struct nvkm_device *); |
| 58 | int gm100_identify(struct nvkm_device *); |
Ben Skeggs | 9838366 | 2013-10-17 09:56:02 +1000 | [diff] [blame] | 59 | #endif |