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