Linux 4.14.51
[linux/fpc-iii.git] / drivers / media / pci / zoran / zoran_card.h
blob81cba177cd9027a5c883d0e1f3d93cf4e329d405
1 /*
2 * Zoran zr36057/zr36067 PCI controller driver, for the
3 * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
4 * Media Labs LML33/LML33R10.
6 * This part handles card-specific data and detection
8 * Copyright (C) 2000 Serguei Miridonov <mirsev@cicese.mx>
10 * Currently maintained by:
11 * Ronald Bultje <rbultje@ronald.bitfreak.net>
12 * Laurent Pinchart <laurent.pinchart@skynet.be>
13 * Mailinglist <mjpeg-users@lists.sf.net>
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
26 #ifndef __ZORAN_CARD_H__
27 #define __ZORAN_CARD_H__
29 extern int zr36067_debug;
31 #define dprintk(num, format, args...) \
32 do { \
33 if (zr36067_debug >= num) \
34 printk(format, ##args); \
35 } while (0)
37 /* Anybody who uses more than four? */
38 #define BUZ_MAX 4
40 extern struct video_device zoran_template;
42 extern int zoran_check_jpg_settings(struct zoran *zr,
43 struct zoran_jpg_settings *settings,
44 int try);
45 extern void zoran_open_init_params(struct zoran *zr);
46 extern void zoran_vdev_release(struct video_device *vdev);
48 void zr36016_write(struct videocodec *codec, u16 reg, u32 val);
50 #endif /* __ZORAN_CARD_H__ */