xref: /linux/include/linux/device-id/amba.h (revision d2c9a99135da931377240942d44f3dea104cedb8)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_DEVICE_ID_AMBA_H
3 #define LINUX_DEVICE_ID_AMBA_H
4 
5 /**
6  * struct amba_id - identifies a device on an AMBA bus
7  * @id: The significant bits if the hardware device ID
8  * @mask: Bitmask specifying which bits of the id field are significant when
9  *	matching.  A driver binds to a device when ((hardware device ID) & mask)
10  *	== id.
11  * @data: Private data used by the driver.
12  */
13 struct amba_id {
14 	unsigned int		id;
15 	unsigned int		mask;
16 	void			*data;
17 };
18 
19 #endif /* ifndef LINUX_DEVICE_ID_AMBA_H */
20