Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 #ifndef __NVKM_DEVICE_PCI_H__
0003 #define __NVKM_DEVICE_PCI_H__
0004 #include <core/device.h>
0005 
0006 struct nvkm_device_pci {
0007     struct nvkm_device device;
0008     struct pci_dev *pdev;
0009     bool suspend;
0010 };
0011 
0012 int nvkm_device_pci_new(struct pci_dev *, const char *cfg, const char *dbg,
0013             bool detect, bool mmio, u64 subdev_mask,
0014             struct nvkm_device **);
0015 #endif