Home
last modified time | relevance | path

Searched refs:calc_data (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/hwmon/
Dda9055-hwmon.c59 unsigned short calc_data; in da9055_adc_manual_read() local
89 calc_data = (unsigned short)ret; in da9055_adc_manual_read()
90 data = calc_data << 2; in da9055_adc_manual_read()
96 calc_data = (unsigned short)(ret & DA9055_ADC_LSB_MASK); in da9055_adc_manual_read()
97 data |= calc_data; in da9055_adc_manual_read()
/Linux-v5.4/drivers/mfd/
Dda9052-core.c377 unsigned short calc_data; in da9052_adc_manual_read() local
408 calc_data = (unsigned short)ret; in da9052_adc_manual_read()
409 data = calc_data << 2; in da9052_adc_manual_read()
415 calc_data = (unsigned short)(ret & DA9052_ADC_RES_LSB); in da9052_adc_manual_read()
416 data |= calc_data; in da9052_adc_manual_read()