Searched refs:adc_value (Results 1 – 3 of 3) sorted by relevance
112 #define ADC_TO_CURRENT(adc_value, res_div) \ argument113 (adc_value * 172 / res_div)121 #define ADC_TO_CHARGE_UAH(adc_value, res_div) \ argument122 (adc_value / 3600 * 172 / res_div)
876 int adc_value, event = 0, event_mask = 0; in nau8824_jdet_work() local884 regmap_read(regmap, NAU8824_REG_SAR_ADC_DATA_OUT, &adc_value); in nau8824_jdet_work()885 adc_value = adc_value & NAU8824_SAR_ADC_DATA_MASK; in nau8824_jdet_work()886 dev_dbg(nau8824->dev, "SAR ADC data 0x%02x\n", adc_value); in nau8824_jdet_work()887 if (adc_value < HEADSET_SARADC_THD) { in nau8824_jdet_work()
5455 int32_t adc_value; member