fmdrv_rx.h (1537B)
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * FM Driver for Connectivity chip of Texas Instruments. 4 * FM RX module header. 5 * 6 * Copyright (C) 2011 Texas Instruments 7 */ 8 9#ifndef _FMDRV_RX_H 10#define _FMDRV_RX_H 11 12int fm_rx_set_freq(struct fmdev *, u32); 13int fm_rx_set_mute_mode(struct fmdev *, u8); 14int fm_rx_set_stereo_mono(struct fmdev *, u16); 15int fm_rx_set_rds_mode(struct fmdev *, u8); 16int fm_rx_set_rds_system(struct fmdev *, u8); 17int fm_rx_set_volume(struct fmdev *, u16); 18int fm_rx_set_rssi_threshold(struct fmdev *, short); 19int fm_rx_set_region(struct fmdev *, u8); 20int fm_rx_set_rfdepend_softmute(struct fmdev *, u8); 21int fm_rx_set_deemphasis_mode(struct fmdev *, u16); 22int fm_rx_set_af_switch(struct fmdev *, u8); 23 24void fm_rx_reset_rds_cache(struct fmdev *); 25void fm_rx_reset_station_info(struct fmdev *); 26 27int fm_rx_seek(struct fmdev *, u32, u32, u32); 28 29int fm_rx_get_rds_mode(struct fmdev *, u8 *); 30int fm_rx_get_mute_mode(struct fmdev *, u8 *); 31int fm_rx_get_volume(struct fmdev *, u16 *); 32int fm_rx_get_band_freq_range(struct fmdev *, 33 u32 *, u32 *); 34int fm_rx_get_stereo_mono(struct fmdev *, u16 *); 35int fm_rx_get_rssi_level(struct fmdev *, u16 *); 36int fm_rx_get_rssi_threshold(struct fmdev *, short *); 37int fm_rx_get_rfdepend_softmute(struct fmdev *, u8 *); 38int fm_rx_get_deemph_mode(struct fmdev *, u16 *); 39int fm_rx_get_af_switch(struct fmdev *, u8 *); 40void fm_rx_get_region(struct fmdev *, u8 *); 41 42int fm_rx_set_chanl_spacing(struct fmdev *, u8); 43int fm_rx_get_chanl_spacing(struct fmdev *, u8 *); 44#endif 45