Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / pci / mantis / mantis_core.h
blob1b0468ff791c9c603ebd894718455f068b36d586
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 Mantis PCI bridge driver
5 Copyright (C) Manu Abraham (abraham.manu@gmail.com)
7 */
9 #ifndef __MANTIS_CORE_H
10 #define __MANTIS_CORE_H
12 #include "mantis_common.h"
15 #define FE_TYPE_SAT 0
16 #define FE_TYPE_CAB 1
17 #define FE_TYPE_TER 2
19 #define FE_TYPE_TS204 0
20 #define FE_TYPE_TS188 1
23 struct vendorname {
24 u8 *sub_vendor_name;
25 u32 sub_vendor_id;
28 struct devicetype {
29 u8 *sub_device_name;
30 u32 sub_device_id;
31 u8 device_type;
32 u32 type_flags;
36 extern int mantis_dma_init(struct mantis_pci *mantis);
37 extern int mantis_dma_exit(struct mantis_pci *mantis);
38 extern void mantis_dma_start(struct mantis_pci *mantis);
39 extern void mantis_dma_stop(struct mantis_pci *mantis);
40 extern int mantis_i2c_init(struct mantis_pci *mantis);
41 extern int mantis_i2c_exit(struct mantis_pci *mantis);
42 extern int mantis_core_init(struct mantis_pci *mantis);
43 extern int mantis_core_exit(struct mantis_pci *mantis);
45 #endif /* __MANTIS_CORE_H */