2019-06-19 20:13:43 -04:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
2013-10-17 09:56:02 +10:00
|
|
|
#ifndef __NVKM_DEVICE_PRIV_H__
|
|
|
|
#define __NVKM_DEVICE_PRIV_H__
|
2015-01-14 15:35:00 +10:00
|
|
|
#include <core/device.h>
|
2013-10-17 09:56:02 +10:00
|
|
|
|
2020-01-15 06:34:21 +10:00
|
|
|
#include <subdev/acr.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <subdev/bar.h>
|
|
|
|
#include <subdev/bios.h>
|
|
|
|
#include <subdev/bus.h>
|
|
|
|
#include <subdev/clk.h>
|
|
|
|
#include <subdev/devinit.h>
|
2018-05-08 20:39:46 +10:00
|
|
|
#include <subdev/fault.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <subdev/fb.h>
|
2024-11-25 10:21:18 +10:00
|
|
|
#include <subdev/fsp.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <subdev/fuse.h>
|
|
|
|
#include <subdev/gpio.h>
|
2019-02-12 22:28:13 +10:00
|
|
|
#include <subdev/gsp.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <subdev/i2c.h>
|
2016-02-18 14:10:49 +01:00
|
|
|
#include <subdev/iccsense.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <subdev/instmem.h>
|
|
|
|
#include <subdev/ltc.h>
|
|
|
|
#include <subdev/mc.h>
|
|
|
|
#include <subdev/mmu.h>
|
|
|
|
#include <subdev/mxm.h>
|
2015-08-20 14:54:22 +10:00
|
|
|
#include <subdev/pci.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <subdev/pmu.h>
|
2021-01-16 16:17:21 +10:00
|
|
|
#include <subdev/privring.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <subdev/therm.h>
|
|
|
|
#include <subdev/timer.h>
|
2016-04-08 17:24:40 +10:00
|
|
|
#include <subdev/top.h>
|
2022-06-01 20:46:53 +10:00
|
|
|
#include <subdev/vfn.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <subdev/volt.h>
|
|
|
|
|
|
|
|
#include <engine/bsp.h>
|
|
|
|
#include <engine/ce.h>
|
|
|
|
#include <engine/cipher.h>
|
|
|
|
#include <engine/disp.h>
|
2015-08-20 14:54:18 +10:00
|
|
|
#include <engine/dma.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <engine/fifo.h>
|
|
|
|
#include <engine/gr.h>
|
|
|
|
#include <engine/mpeg.h>
|
|
|
|
#include <engine/mspdec.h>
|
|
|
|
#include <engine/msppp.h>
|
|
|
|
#include <engine/msvld.h>
|
2016-03-11 13:09:28 +10:00
|
|
|
#include <engine/nvenc.h>
|
2016-03-11 13:09:28 +10:00
|
|
|
#include <engine/nvdec.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <engine/sec.h>
|
2017-02-23 18:41:41 +09:00
|
|
|
#include <engine/sec2.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <engine/sw.h>
|
2016-03-11 13:09:28 +10:00
|
|
|
#include <engine/vic.h>
|
2015-08-20 14:54:17 +10:00
|
|
|
#include <engine/vp.h>
|
|
|
|
|
2015-08-20 14:54:17 +10:00
|
|
|
int nvkm_device_ctor(const struct nvkm_device_func *,
|
|
|
|
const struct nvkm_device_quirk *,
|
2015-08-20 14:54:23 +10:00
|
|
|
struct device *, enum nvkm_device_type, u64 handle,
|
2015-08-20 14:54:17 +10:00
|
|
|
const char *name, const char *cfg, const char *dbg,
|
|
|
|
struct nvkm_device *);
|
|
|
|
int nvkm_device_init(struct nvkm_device *);
|
|
|
|
int nvkm_device_fini(struct nvkm_device *, bool suspend);
|
2013-10-17 09:56:02 +10:00
|
|
|
#endif
|