Debian Codegraph @

src/soc/intel/snowridge/qat.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_qat_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_qat_ids[] = {
18 PCI_DID_INTEL_SNR_QAT_1_7,
19 PCI_DID_INTEL_SNR_QAT_1_8,
20 0
21 };
22
23 static const struct pci_driver snr_qat_driver __pci_driver = {
24 .ops = &snr_qat_ops,
25 .vendor = PCI_VID_INTEL,
26 .devices = snr_qat_ids
27 };