Linux 4.19.133
[linux/fpc-iii.git] / drivers / media / pci / ddbridge / ddbridge-hw.h
blob7c142419419c0ec8d64c48beceb8495ca9abb7fc
1 /*
2 * ddbridge-hw.h: Digital Devices bridge hardware maps
4 * Copyright (C) 2010-2017 Digital Devices GmbH
5 * Ralph Metzler <rjkm@metzlerbros.de>
6 * Marcus Metzler <mocm@metzlerbros.de>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 only, as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
19 #ifndef _DDBRIDGE_HW_H_
20 #define _DDBRIDGE_HW_H_
22 #include "ddbridge.h"
24 /******************************************************************************/
26 #define DDVID 0xdd01 /* Digital Devices Vendor ID */
28 /******************************************************************************/
30 struct ddb_device_id {
31 u16 vendor;
32 u16 device;
33 u16 subvendor;
34 u16 subdevice;
35 const struct ddb_info *info;
38 /******************************************************************************/
40 const struct ddb_info *get_ddb_info(u16 vendor, u16 device,
41 u16 subvendor, u16 subdevice);
43 #endif /* _DDBRIDGE_HW_H */