diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-12-20 07:41:46 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-12-20 07:41:46 -0200 |
commit | 0eff958b90d0ce42359de291796aea7d306793b1 (patch) | |
tree | 6e695669f22e6204de9e80f0a77769ee79a304a8 /linux/include/media/cs5345.h | |
parent | 48ea5a7999ebf5552ad24bf6b512cbb1ae61126b (diff) | |
parent | 75cd5f355fe382a2645a959e6ff2beffa09019da (diff) | |
download | mediapointer-dvb-s2-0eff958b90d0ce42359de291796aea7d306793b1.tar.gz mediapointer-dvb-s2-0eff958b90d0ce42359de291796aea7d306793b1.tar.bz2 |
merge: http://linuxtv.org/hg/~mkrufky/stable
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/include/media/cs5345.h')
-rw-r--r-- | linux/include/media/cs5345.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/linux/include/media/cs5345.h b/linux/include/media/cs5345.h new file mode 100644 index 000000000..6ccae24e6 --- /dev/null +++ b/linux/include/media/cs5345.h @@ -0,0 +1,39 @@ +/* + cs5345.h - definition for cs5345 inputs and outputs + + Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifndef _CS5345_H_ +#define _CS5345_H_ + +/* CS5345 HW inputs */ +#define CS5345_IN_MIC 0 +#define CS5345_IN_1 1 +#define CS5345_IN_2 2 +#define CS5345_IN_3 3 +#define CS5345_IN_4 4 +#define CS5345_IN_5 5 +#define CS5345_IN_6 6 + +#define CS5345_MCLK_1 0x00 +#define CS5345_MCLK_1_5 0x10 +#define CS5345_MCLK_2 0x20 +#define CS5345_MCLK_3 0x30 +#define CS5345_MCLK_4 0x40 + +#endif |