pci.h 307 B

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