hm60x/hm801: Fix blinking white screen.
[maemo-rb.git] / firmware / export / stfm1000.h
blob6c01d6308e3e0ea9b030c810d87bbe2d256a32b3
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * $Id$
11 * Tuner header for the STFM1000
13 * Copyright (C) 2012 Amaury Pouly
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
23 ****************************************************************************/
25 #ifndef __STFM1000__
26 #define __STFM1000__
27 #include <stdint.h>
29 #define HAVE_RADIO_REGION
30 #define HAVE_RADIO_RSSI
32 struct stfm1000_dbg_info
34 uint32_t chipid;
37 bool stfm1000_detect(void);
38 void stfm1000_init(void);
39 int stfm1000_set(int setting, int value);
40 int stfm1000_get(int setting);
41 void stfm1000_dbg_info(struct stfm1000_dbg_info *nfo);
43 #ifndef CONFIG_TUNER_MULTI
44 #define tuner_set stfm1000_set
45 #define tuner_get stfm1000_get
46 #endif
48 #endif /* __STFM1000__ */