Debian Codegraph @

src/soc/intel/snowridge/nis.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <device/device.h>
4 #include <device/pci.h>
5 #include <device/pci_ids.h>
6
7 #include "ramstage.h"
8
9 static struct device_operations snr_nis_ops = {
10 .read_resources = pciexp_pf_read_resources,
11 .set_resources = pci_dev_set_resources,
12 .enable_resources = pci_dev_enable_resources,
13 .final = pci_dev_request_bus_master,
14 .ops_pci = &pci_dev_ops_pci,
15 };
16
17 static const unsigned short snr_nis_ids[] = {
18 PCI_DID_INTEL_SNR_NIS1890,
19 PCI_DID_INTEL_SNR_NIS1891,
20 PCI_DID_INTEL_SNR_NIS1892,
21 PCI_DID_INTEL_SNR_NIS1895,
22 0
23 };
24
25 static const struct pci_driver snr_nis_driver __pci_driver = {
26 .ops = &snr_nis_ops,
27 .vendor = PCI_VID_INTEL,
28 .devices = snr_nis_ids
29 };