~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: e7290277b9062a4c8376f57265604d6db2d29398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * This header provides common constants for PCI bindings.
 */

#ifndef _DT_BINDINGS_PCI_PCI_H
#define _DT_BINDINGS_PCI_PCI_H

/* Encode a vendor and device ID into a single cell */
#define PCI_VENDEV(v, d)	(((v) << 16) | (d))

#endif /* _DT_BINDINGS_PCI_PCI_H */