Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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. |
| 5 | * |
| 6 | * This part handles card-specific data and detection |
Mauro Carvalho Chehab | d56410e | 2006-03-25 09:19:53 -0300 | [diff] [blame] | 7 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | * Copyright (C) 2000 Serguei Miridonov <mirsev@cicese.mx> |
| 9 | * |
| 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> |
| 14 | * |
| 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. |
| 19 | * |
| 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. |
| 24 | * |
| 25 | * You should have received a copy of the GNU General Public License |
| 26 | * along with this program; if not, write to the Free Software |
| 27 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 28 | */ |
| 29 | |
| 30 | #ifndef __ZORAN_CARD_H__ |
| 31 | #define __ZORAN_CARD_H__ |
| 32 | |
Jean Delvare | 18b548c | 2007-07-17 18:29:41 -0300 | [diff] [blame] | 33 | extern int zr36067_debug; |
| 34 | |
| 35 | #define dprintk(num, format, args...) \ |
| 36 | do { \ |
| 37 | if (zr36067_debug >= num) \ |
| 38 | printk(format, ##args); \ |
| 39 | } while (0) |
| 40 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | /* Anybody who uses more than four? */ |
| 42 | #define BUZ_MAX 4 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
| 44 | extern struct video_device zoran_template; |
| 45 | |
| 46 | extern int zoran_check_jpg_settings(struct zoran *zr, |
Hans Verkuil | 0ba514d | 2009-02-18 17:11:17 -0300 | [diff] [blame] | 47 | struct zoran_jpg_settings *settings, |
| 48 | int try); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | extern void zoran_open_init_params(struct zoran *zr); |
| 50 | extern void zoran_vdev_release(struct video_device *vdev); |
| 51 | |
Adrian Bunk | d9aedf1 | 2008-03-30 23:28:59 -0300 | [diff] [blame] | 52 | void zr36016_write(struct videocodec *codec, u16 reg, u32 val); |
| 53 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | #endif /* __ZORAN_CARD_H__ */ |