Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | #ifndef _M_ADC_PROC_H |
| 15 | #define _M_ADC_PROC_H |
| 16 | |
| 17 | #include <linux/msm_adc.h> |
| 18 | int32_t tdkntcgtherm(int32_t adc_code, const struct adc_properties *, |
| 19 | const struct chan_properties *, struct adc_chan_result *); |
| 20 | int32_t scale_default(int32_t adc_code, const struct adc_properties *, |
| 21 | const struct chan_properties *, struct adc_chan_result *); |
| 22 | int32_t scale_msm_therm(int32_t adc_code, const struct adc_properties *, |
| 23 | const struct chan_properties *, struct adc_chan_result *); |
| 24 | int32_t scale_batt_therm(int32_t adc_code, const struct adc_properties *, |
| 25 | const struct chan_properties *, struct adc_chan_result *); |
| 26 | int32_t scale_pmic_therm(int32_t adc_code, const struct adc_properties *, |
| 27 | const struct chan_properties *, struct adc_chan_result *); |
| 28 | int32_t scale_xtern_chgr_cur(int32_t adc_code, const struct adc_properties *, |
| 29 | const struct chan_properties *, struct adc_chan_result *); |
| 30 | #endif /* _M_ADC_PROC_H */ |