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