xref: /linux/drivers/media/pci/ddbridge/ddbridge-hw.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * ddbridge-hw.h: Digital Devices bridge hardware maps
4  *
5  * Copyright (C) 2010-2017 Digital Devices GmbH
6  *                         Ralph Metzler <rjkm@metzlerbros.de>
7  *                         Marcus Metzler <mocm@metzlerbros.de>
8  */
9 
10 #ifndef _DDBRIDGE_HW_H_
11 #define _DDBRIDGE_HW_H_
12 
13 #include "ddbridge.h"
14 
15 /******************************************************************************/
16 
17 #define DDVID 0xdd01 /* Digital Devices Vendor ID */
18 
19 /******************************************************************************/
20 
21 struct ddb_device_id {
22 	u16 vendor;
23 	u16 device;
24 	u16 subvendor;
25 	u16 subdevice;
26 	const struct ddb_info *info;
27 };
28 
29 /******************************************************************************/
30 
31 const struct ddb_info *get_ddb_info(u16 vendor, u16 device,
32 				    u16 subvendor, u16 subdevice);
33 
34 #endif /* _DDBRIDGE_HW_H_ */
35