Add "elfzip" target to make which creates a zip of all elf files, as mapzip does...
[maemo-rb.git] / firmware / export / tea5760.h
bloba5af67aac1e8109da89ba200f8abe9215745fcdc
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 * Tuner header for the Philips TEA5760
11 * Copyright (C) 2009 Bertrik Sikken
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 _TEA5760_H_
24 #define _TEA5760_H_
26 #include "config.h"
27 #include "tuner.h"
29 #define HAVE_RADIO_REGION
30 #define HAVE_RADIO_RSSI
32 struct tea5760_dbg_info
34 unsigned char read_regs[16];
35 unsigned char write_regs[7];
38 int tea5760_set(int setting, int value);
39 int tea5760_get(int setting);
40 void tea5760_init(void);
41 void tea5760_dbg_info(struct tea5760_dbg_info *info);
43 #ifndef CONFIG_TUNER_MULTI
44 #define tuner_set tea5760_set
45 #define tuner_get tea5760_get
46 #endif
48 #endif /* _TEA5760_H_ */