FM tuner region code cleanup - FS #11492 by me.
[kugel-rb.git] / firmware / export / tea5760.h
blobea857dec3e824e34570cc69e41d7eff2718f6c6f
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
31 struct tea5760_dbg_info
33 unsigned char read_regs[16];
34 unsigned char write_regs[7];
37 int tea5760_set(int setting, int value);
38 int tea5760_get(int setting);
39 void tea5760_init(void);
40 void tea5760_dbg_info(struct tea5760_dbg_info *info);
42 #ifndef CONFIG_TUNER_MULTI
43 #define tuner_set tea5760_set
44 #define tuner_get tea5760_get
45 #endif
47 #endif /* _TEA5760_H_ */