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

/linux-4.4.14/drivers/hwmon/
H A Dda9055-hwmon.c64 unsigned short calc_data; da9055_adc_manual_read() local
94 calc_data = (unsigned short)ret; da9055_adc_manual_read()
95 data = calc_data << 2; da9055_adc_manual_read()
101 calc_data = (unsigned short)(ret & DA9055_ADC_LSB_MASK); da9055_adc_manual_read()
102 data |= calc_data; da9055_adc_manual_read()
/linux-4.4.14/drivers/mfd/
H A Dda9052-core.c379 unsigned short calc_data; da9052_adc_manual_read() local
408 calc_data = (unsigned short)ret; da9052_adc_manual_read()
409 data = calc_data << 2; da9052_adc_manual_read()
415 calc_data = (unsigned short)(ret & DA9052_ADC_RES_LSB); da9052_adc_manual_read()
416 data |= calc_data; da9052_adc_manual_read()

Completed in 136 milliseconds