xref: /linux/drivers/media/pci/zoran/zoran_card.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Zoran zr36057/zr36067 PCI controller driver, for the
4  * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
5  * Media Labs LML33/LML33R10.
6  *
7  * This part handles card-specific data and detection
8  *
9  * Copyright (C) 2000 Serguei Miridonov <mirsev@cicese.mx>
10  */
11 
12 #ifndef __ZORAN_CARD_H__
13 #define __ZORAN_CARD_H__
14 
15 extern int zr36067_debug;
16 
17 /* Anybody who uses more than four? */
18 #define BUZ_MAX 4
19 
20 extern const struct video_device zoran_template;
21 
22 int zoran_check_jpg_settings(struct zoran *zr,
23 			     struct zoran_jpg_settings *settings, int try);
24 void zoran_open_init_params(struct zoran *zr);
25 void zoran_vdev_release(struct video_device *vdev);
26 
27 void zr36016_write(struct videocodec *codec, u16 reg, u32 val);
28 
29 #endif				/* __ZORAN_CARD_H__ */
30