18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * FM Driver for Connectivity chip of Texas Instruments. 48c2ecf20Sopenharmony_ci * FM RX module header. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 2011 Texas Instruments 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef _FMDRV_RX_H 108c2ecf20Sopenharmony_ci#define _FMDRV_RX_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciint fm_rx_set_freq(struct fmdev *, u32); 138c2ecf20Sopenharmony_ciint fm_rx_set_mute_mode(struct fmdev *, u8); 148c2ecf20Sopenharmony_ciint fm_rx_set_stereo_mono(struct fmdev *, u16); 158c2ecf20Sopenharmony_ciint fm_rx_set_rds_mode(struct fmdev *, u8); 168c2ecf20Sopenharmony_ciint fm_rx_set_rds_system(struct fmdev *, u8); 178c2ecf20Sopenharmony_ciint fm_rx_set_volume(struct fmdev *, u16); 188c2ecf20Sopenharmony_ciint fm_rx_set_rssi_threshold(struct fmdev *, short); 198c2ecf20Sopenharmony_ciint fm_rx_set_region(struct fmdev *, u8); 208c2ecf20Sopenharmony_ciint fm_rx_set_rfdepend_softmute(struct fmdev *, u8); 218c2ecf20Sopenharmony_ciint fm_rx_set_deemphasis_mode(struct fmdev *, u16); 228c2ecf20Sopenharmony_ciint fm_rx_set_af_switch(struct fmdev *, u8); 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_civoid fm_rx_reset_rds_cache(struct fmdev *); 258c2ecf20Sopenharmony_civoid fm_rx_reset_station_info(struct fmdev *); 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciint fm_rx_seek(struct fmdev *, u32, u32, u32); 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciint fm_rx_get_rds_mode(struct fmdev *, u8 *); 308c2ecf20Sopenharmony_ciint fm_rx_get_mute_mode(struct fmdev *, u8 *); 318c2ecf20Sopenharmony_ciint fm_rx_get_volume(struct fmdev *, u16 *); 328c2ecf20Sopenharmony_ciint fm_rx_get_band_freq_range(struct fmdev *, 338c2ecf20Sopenharmony_ci u32 *, u32 *); 348c2ecf20Sopenharmony_ciint fm_rx_get_stereo_mono(struct fmdev *, u16 *); 358c2ecf20Sopenharmony_ciint fm_rx_get_rssi_level(struct fmdev *, u16 *); 368c2ecf20Sopenharmony_ciint fm_rx_get_rssi_threshold(struct fmdev *, short *); 378c2ecf20Sopenharmony_ciint fm_rx_get_rfdepend_softmute(struct fmdev *, u8 *); 388c2ecf20Sopenharmony_ciint fm_rx_get_deemph_mode(struct fmdev *, u16 *); 398c2ecf20Sopenharmony_ciint fm_rx_get_af_switch(struct fmdev *, u8 *); 408c2ecf20Sopenharmony_civoid fm_rx_get_region(struct fmdev *, u8 *); 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ciint fm_rx_set_chanl_spacing(struct fmdev *, u8); 438c2ecf20Sopenharmony_ciint fm_rx_get_chanl_spacing(struct fmdev *, u8 *); 448c2ecf20Sopenharmony_ci#endif 458c2ecf20Sopenharmony_ci 46