162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci *  FM Driver for Connectivity chip of Texas Instruments.
462306a36Sopenharmony_ci *  FM RX module header.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci *  Copyright (C) 2011 Texas Instruments
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#ifndef _FMDRV_RX_H
1062306a36Sopenharmony_ci#define _FMDRV_RX_H
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciint fm_rx_set_freq(struct fmdev *, u32);
1362306a36Sopenharmony_ciint fm_rx_set_mute_mode(struct fmdev *, u8);
1462306a36Sopenharmony_ciint fm_rx_set_stereo_mono(struct fmdev *, u16);
1562306a36Sopenharmony_ciint fm_rx_set_rds_mode(struct fmdev *, u8);
1662306a36Sopenharmony_ciint fm_rx_set_rds_system(struct fmdev *, u8);
1762306a36Sopenharmony_ciint fm_rx_set_volume(struct fmdev *, u16);
1862306a36Sopenharmony_ciint fm_rx_set_rssi_threshold(struct fmdev *, short);
1962306a36Sopenharmony_ciint fm_rx_set_region(struct fmdev *, u8);
2062306a36Sopenharmony_ciint fm_rx_set_rfdepend_softmute(struct fmdev *, u8);
2162306a36Sopenharmony_ciint fm_rx_set_deemphasis_mode(struct fmdev *, u16);
2262306a36Sopenharmony_ciint fm_rx_set_af_switch(struct fmdev *, u8);
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_civoid fm_rx_reset_rds_cache(struct fmdev *);
2562306a36Sopenharmony_civoid fm_rx_reset_station_info(struct fmdev *);
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciint fm_rx_seek(struct fmdev *, u32, u32, u32);
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciint fm_rx_get_rds_mode(struct fmdev *, u8 *);
3062306a36Sopenharmony_ciint fm_rx_get_mute_mode(struct fmdev *, u8 *);
3162306a36Sopenharmony_ciint fm_rx_get_volume(struct fmdev *, u16 *);
3262306a36Sopenharmony_ciint fm_rx_get_band_freq_range(struct fmdev *,
3362306a36Sopenharmony_ci					u32 *, u32 *);
3462306a36Sopenharmony_ciint fm_rx_get_stereo_mono(struct fmdev *, u16 *);
3562306a36Sopenharmony_ciint fm_rx_get_rssi_level(struct fmdev *, u16 *);
3662306a36Sopenharmony_ciint fm_rx_get_rssi_threshold(struct fmdev *, short *);
3762306a36Sopenharmony_ciint fm_rx_get_rfdepend_softmute(struct fmdev *, u8 *);
3862306a36Sopenharmony_ciint fm_rx_get_deemph_mode(struct fmdev *, u16 *);
3962306a36Sopenharmony_ciint fm_rx_get_af_switch(struct fmdev *, u8 *);
4062306a36Sopenharmony_civoid fm_rx_get_region(struct fmdev *, u8 *);
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciint fm_rx_set_chanl_spacing(struct fmdev *, u8);
4362306a36Sopenharmony_ciint fm_rx_get_chanl_spacing(struct fmdev *, u8 *);
4462306a36Sopenharmony_ci#endif
4562306a36Sopenharmony_ci
46