Home
last modified time | relevance | path

Searched refs:adc_value (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/power/supply/ !
Drk817_charger.c112 #define ADC_TO_CURRENT(adc_value, res_div) \ argument
113 (adc_value * 172 / res_div)
121 #define ADC_TO_CHARGE_UAH(adc_value, res_div) \ argument
122 (adc_value / 3600 * 172 / res_div)
/linux-6.1.9/sound/soc/codecs/ !
Dnau8824.c876 int adc_value, event = 0, event_mask = 0; in nau8824_jdet_work() local
884 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()
/linux-6.1.9/include/linux/platform_data/ !
Dcros_ec_commands.h5455 int32_t adc_value; member