hm60x/hm801: Fix blinking white screen.
[maemo-rb.git] / firmware / export / tea5767.h
blob6def18576ff79dcc50846981dfe491b823e7a195
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 * Tuner header for the Philips TEA5767
11 * Copyright (C) 2007 Michael Sevakis
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
23 #ifndef _TEA5767_H_
24 #define _TEA5767_H_
26 #define HAVE_RADIO_REGION
27 #define HAVE_RADIO_MUTE_TIMEOUT
28 #define HAVE_RADIO_RSSI
30 struct tea5767_dbg_info
32 unsigned char read_regs[5];
33 unsigned char write_regs[5];
36 void tea5767_init(void);
37 int tea5767_set(int setting, int value);
38 int tea5767_get(int setting);
39 void tea5767_dbg_info(struct tea5767_dbg_info *info);
41 #ifndef CONFIG_TUNER_MULTI
42 #define tuner_set tea5767_set
43 #define tuner_get tea5767_get
44 #endif
46 #endif /* _TEA5767_H_ */