Loading...
1/* SPDX-License-Identifier: MIT */
2#ifndef __NVKM_DEVICE_PCI_H__
3#define __NVKM_DEVICE_PCI_H__
4#include <core/device.h>
5
6struct nvkm_device_pci {
7 struct nvkm_device device;
8 struct pci_dev *pdev;
9 bool suspend;
10};
11
12int nvkm_device_pci_new(struct pci_dev *, const char *cfg, const char *dbg,
13 bool detect, bool mmio, u64 subdev_mask,
14 struct nvkm_device **);
15#endif