Home
last modified time | relevance | path

Searched refs:full_scale_code_volt (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/iio/adc/
H A Dqcom-vadc-common.h127 const u32 full_scale_code_volt; member
153 u32 full_scale_code_volt, int temp);
/openbmc/linux/drivers/iio/adc/
H A Dqcom-vadc-common.c491 const u32 full_scale_code_volt, in qcom_vadc_scale_voltage_code() argument
497 volt *= prescale->numerator * factor * full_scale_code_volt; in qcom_vadc_scale_voltage_code()
521 voltage = div64_s64(voltage, data->full_scale_code_volt); in qcom_vadc_scale_code_voltage_factor()
668 u32 full_scale_code_volt, int temp) in qcom_adc_tm5_temp_volt_scale() argument
676 return qcom_vadc_scale_voltage_code(voltage, prescale, full_scale_code_volt, 1000); in qcom_adc_tm5_temp_volt_scale()
H A Dqcom-spmi-adc5.c765 .full_scale_code_volt = 0x70e4,
780 .full_scale_code_volt = 0x70e4,
792 .full_scale_code_volt = 0x4000,
/openbmc/linux/drivers/thermal/qcom/
H A Dqcom-spmi-adc-tm5.c166 const u32 full_scale_code_volt; member
528 chip->data->full_scale_code_volt, high); in adc_tm5_configure()
539 chip->data->full_scale_code_volt, low); in adc_tm5_configure()
901 .full_scale_code_volt = 0x70e4,
915 .full_scale_code_volt = 0x70e4,
928 .full_scale_code_volt = 0x70e4,