GNU Linux-libre 5.19-rc6-gnu
[releases.git] / drivers / staging / media / zoran / zoran_card.h
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 extern int zoran_check_jpg_settings(struct zoran *zr,
23                                     struct zoran_jpg_settings *settings,
24                                     int try);
25 extern void zoran_open_init_params(struct zoran *zr);
26 extern void zoran_vdev_release(struct video_device *vdev);
27
28 void zr36016_write(struct videocodec *codec, u16 reg, u32 val);
29
30 #endif                          /* __ZORAN_CARD_H__ */