add global proxy / cache settings to httpget class. This removes the need of passing...
[Rockbox.git] / firmware / export / lv24020lp.h
blob7d24435353c68db3be326e5f9ed9ad882f4ba492
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 * Tuner header for the Sanyo LV24020LP
11 * Copyright (C) 2007 Michael Sevakis
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
21 #ifndef _LV24020LP_H_
22 #define _LV24020LP_H_
24 /* Define additional tuner messages here */
25 #define HAVE_RADIO_REGION
27 #define LV24020LP_CTRL_STAT (RADIO_GET_CHIP_FIRST+0)
28 #define LV24020LP_REG_STAT (RADIO_GET_CHIP_FIRST+1)
29 #define LV24020LP_MSS_FM (RADIO_GET_CHIP_FIRST+2)
30 #define LV24020LP_MSS_IF (RADIO_GET_CHIP_FIRST+3)
31 #define LV24020LP_MSS_SD (RADIO_GET_CHIP_FIRST+4)
32 #define LV24020LP_IF_SET (RADIO_GET_CHIP_FIRST+5)
33 #define LV24020LP_SD_SET (RADIO_GET_CHIP_FIRST+6)
35 #define LV24020LP_DEBUG_FIRST LV24020LP_CTRL_STAT
36 #define LV24020LP_DEBUG_LAST LV24020LP_SD_SET
38 const unsigned char lv24020lp_region_data[TUNER_NUM_REGIONS];
40 int lv24020lp_set(int setting, int value);
41 int lv24020lp_get(int setting);
42 void lv24020lp_power(bool status);
43 void lv24020lp_init(void);
44 void lv24020lp_lock(void);
45 void lv24020lp_unlock(void);
47 #ifndef CONFIG_TUNER_MULTI
48 #define tuner_set lv24020lp_set
49 #define tuner_get lv24020lp_get
50 #endif
52 #endif /* _LV24020LP_H_ */