Path: blob/master/drivers/media/radio/wl128x/fmdrv_rx.h
15112 views
/*1* FM Driver for Connectivity chip of Texas Instruments.2* FM RX module header.3*4* Copyright (C) 2011 Texas Instruments5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License version 2 as8* published by the Free Software Foundation.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU General Public License16* along with this program; if not, write to the Free Software17* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA18*19*/2021#ifndef _FMDRV_RX_H22#define _FMDRV_RX_H2324u32 fm_rx_set_freq(struct fmdev *, u32);25u32 fm_rx_set_mute_mode(struct fmdev *, u8);26u32 fm_rx_set_stereo_mono(struct fmdev *, u16);27u32 fm_rx_set_rds_mode(struct fmdev *, u8);28u32 fm_rx_set_rds_system(struct fmdev *, u8);29u32 fm_rx_set_volume(struct fmdev *, u16);30u32 fm_rx_set_rssi_threshold(struct fmdev *, short);31u32 fm_rx_set_region(struct fmdev *, u8);32u32 fm_rx_set_rfdepend_softmute(struct fmdev *, u8);33u32 fm_rx_set_deemphasis_mode(struct fmdev *, u16);34u32 fm_rx_set_af_switch(struct fmdev *, u8);3536void fm_rx_reset_rds_cache(struct fmdev *);37void fm_rx_reset_station_info(struct fmdev *);3839u32 fm_rx_seek(struct fmdev *, u32, u32, u32);4041u32 fm_rx_get_rds_mode(struct fmdev *, u8 *);42u32 fm_rx_get_rds_system(struct fmdev *, u8 *);43u32 fm_rx_get_mute_mode(struct fmdev *, u8 *);44u32 fm_rx_get_volume(struct fmdev *, u16 *);45u32 fm_rx_get_band_freq_range(struct fmdev *,46u32 *, u32 *);47u32 fm_rx_get_stereo_mono(struct fmdev *, u16 *);48u32 fm_rx_get_rssi_level(struct fmdev *, u16 *);49u32 fm_rx_get_rssi_threshold(struct fmdev *, short *);50u32 fm_rx_get_rfdepend_softmute(struct fmdev *, u8 *);51u32 fm_rx_get_deemph_mode(struct fmdev *, u16 *);52u32 fm_rx_get_af_switch(struct fmdev *, u8 *);53void fm_rx_get_region(struct fmdev *, u8 *);5455u32 fm_rx_set_chanl_spacing(struct fmdev *, u8);56u32 fm_rx_get_chanl_spacing(struct fmdev *, u8 *);57#endif58596061