Debian Codegraph @

src/soc/amd/common/block/include/amdblocks/pci_devs.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifndef AMD_BLOCK_PCI_DEVS_H
4 #define AMD_BLOCK_PCI_DEVS_H
5
6 #include <device/pci_def.h>
7
8 #if !defined(__SIMPLE_DEVICE__)
9 #include <device/device.h>
10 #define _SOC_DEV(slot, func) pcidev_on_root(slot, func)
11 #else
12 #define _SOC_DEV(slot, func) PCI_DEV(0, slot, func)
13 #endif
14
15 #endif /* AMD_BLOCK_PCI_DEVS_H */