1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * This header provides common constants for PCI bindings.
6 #ifndef _DT_BINDINGS_PCI_PCI_H
7 #define _DT_BINDINGS_PCI_PCI_H
9 /* Encode a vendor and device ID into a single cell */
10 #define PCI_VENDEV(v, d) (((v) << 16) | (d))
12 #endif /* _DT_BINDINGS_PCI_PCI_H */