]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/media/radio/wl128x/fmdrv_rx.h
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112...
[mirror_ubuntu-artful-kernel.git] / drivers / media / radio / wl128x / fmdrv_rx.h
CommitLineData
59da522a
MH
1/*
2 * FM Driver for Connectivity chip of Texas Instruments.
3 * FM RX module header.
4 *
5 * Copyright (C) 2011 Texas Instruments
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
59da522a
MH
16 */
17
18#ifndef _FMDRV_RX_H
19#define _FMDRV_RX_H
20
d24674c6
XW
21int fm_rx_set_freq(struct fmdev *, u32);
22int fm_rx_set_mute_mode(struct fmdev *, u8);
23int fm_rx_set_stereo_mono(struct fmdev *, u16);
24int fm_rx_set_rds_mode(struct fmdev *, u8);
25int fm_rx_set_rds_system(struct fmdev *, u8);
26int fm_rx_set_volume(struct fmdev *, u16);
27int fm_rx_set_rssi_threshold(struct fmdev *, short);
28int fm_rx_set_region(struct fmdev *, u8);
29int fm_rx_set_rfdepend_softmute(struct fmdev *, u8);
30int fm_rx_set_deemphasis_mode(struct fmdev *, u16);
31int fm_rx_set_af_switch(struct fmdev *, u8);
59da522a
MH
32
33void fm_rx_reset_rds_cache(struct fmdev *);
34void fm_rx_reset_station_info(struct fmdev *);
35
d24674c6 36int fm_rx_seek(struct fmdev *, u32, u32, u32);
59da522a 37
d24674c6 38int fm_rx_get_rds_mode(struct fmdev *, u8 *);
d24674c6
XW
39int fm_rx_get_mute_mode(struct fmdev *, u8 *);
40int fm_rx_get_volume(struct fmdev *, u16 *);
41int fm_rx_get_band_freq_range(struct fmdev *,
59da522a 42 u32 *, u32 *);
d24674c6
XW
43int fm_rx_get_stereo_mono(struct fmdev *, u16 *);
44int fm_rx_get_rssi_level(struct fmdev *, u16 *);
45int fm_rx_get_rssi_threshold(struct fmdev *, short *);
46int fm_rx_get_rfdepend_softmute(struct fmdev *, u8 *);
47int fm_rx_get_deemph_mode(struct fmdev *, u16 *);
48int fm_rx_get_af_switch(struct fmdev *, u8 *);
59da522a
MH
49void fm_rx_get_region(struct fmdev *, u8 *);
50
d24674c6
XW
51int fm_rx_set_chanl_spacing(struct fmdev *, u8);
52int fm_rx_get_chanl_spacing(struct fmdev *, u8 *);
59da522a
MH
53#endif
54