diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
commit | c6da2cfeb05178a11c6d062a06f8078150ee492f (patch) | |
tree | f3b4021d252c52d6463a9b3c1bb7245e399b009c /include/linux/si4705_pdata.h | |
parent | c6d7c4dbff353eac7919342ae6b3299a378160a6 (diff) | |
download | kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.gz kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.bz2 kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.zip |
samsung update 1
Diffstat (limited to 'include/linux/si4705_pdata.h')
-rw-r--r-- | include/linux/si4705_pdata.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/linux/si4705_pdata.h b/include/linux/si4705_pdata.h new file mode 100644 index 00000000000..14ad7f508ee --- /dev/null +++ b/include/linux/si4705_pdata.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2012 Samsung Electronics, Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef _LINUX_SI4705_PDATA_H +#define _LINUX_SI4705_PDATA_H + +#include <linux/types.h> + +#ifdef __KERNEL__ + +#define SI4705_PDATA_BIT_VOL_STEPS (1 << 0) +#define SI4705_PDATA_BIT_VOL_TABLE (1 << 1) +#define SI4705_PDATA_BIT_RSSI_THRESHOLD (1 << 2) +#define SI4705_PDATA_BIT_SNR_THRESHOLD (1 << 3) + +struct si4705_pdata { + void (*reset)(int enable); + u16 pdata_values; + int rx_vol_steps; + u16 rx_vol_table[16]; + u16 rx_seek_tune_rssi_threshold; + u16 rx_seek_tune_snr_threshold; +}; + +#endif + +#endif |