Add new tarball generation script.
[maemo-rb.git] / firmware / export / lv24020lp.h
blobf2e123b0949437a6a80384795f953d369171eb08
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 * 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 _LV24020LP_H_
24 #define _LV24020LP_H_
26 /* Define additional tuner messages here */
27 #define HAVE_RADIO_REGION
28 #define HAVE_RADIO_RSSI
30 #define LV24020LP_CTRL_STAT (RADIO_GET_CHIP_FIRST+0)
31 #define LV24020LP_REG_STAT (RADIO_GET_CHIP_FIRST+1)
32 #define LV24020LP_MSS_FM (RADIO_GET_CHIP_FIRST+2)
33 #define LV24020LP_MSS_IF (RADIO_GET_CHIP_FIRST+3)
34 #define LV24020LP_MSS_SD (RADIO_GET_CHIP_FIRST+4)
35 #define LV24020LP_IF_SET (RADIO_GET_CHIP_FIRST+5)
36 #define LV24020LP_SD_SET (RADIO_GET_CHIP_FIRST+6)
38 #define LV24020LP_DEBUG_FIRST LV24020LP_CTRL_STAT
39 #define LV24020LP_DEBUG_LAST LV24020LP_SD_SET
41 int lv24020lp_set(int setting, int value);
42 int lv24020lp_get(int setting);
43 void lv24020lp_power(bool status);
44 void lv24020lp_init(void);
45 void lv24020lp_lock(void);
46 void lv24020lp_unlock(void);
48 #ifndef CONFIG_TUNER_MULTI
49 #define tuner_set lv24020lp_set
50 #define tuner_get lv24020lp_get
51 #endif
53 #endif /* _LV24020LP_H_ */