adc_code 439 drivers/iio/adc/qcom-pm8xxx-xoadc.c u8 rsv, u16 *adc_code, adc_code 553 drivers/iio/adc/qcom-pm8xxx-xoadc.c *adc_code = (msb << 8) | lsb; adc_code 570 drivers/iio/adc/qcom-pm8xxx-xoadc.c u16 *adc_code) adc_code 577 drivers/iio/adc/qcom-pm8xxx-xoadc.c return pm8xxx_read_channel_rsv(adc, ch, 0xff, adc_code, false); adc_code 653 drivers/iio/adc/qcom-pm8xxx-xoadc.c u16 adc_code; adc_code 664 drivers/iio/adc/qcom-pm8xxx-xoadc.c ret = pm8xxx_read_channel(adc, ch, &adc_code); adc_code 672 drivers/iio/adc/qcom-pm8xxx-xoadc.c adc_code, val); adc_code 684 drivers/iio/adc/qcom-pm8xxx-xoadc.c ret = pm8xxx_read_channel(adc, ch, &adc_code); adc_code 688 drivers/iio/adc/qcom-pm8xxx-xoadc.c *val = (int)adc_code; adc_code 450 drivers/iio/adc/qcom-spmi-vadc.c u16 adc_code; adc_code 456 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_do_conversion(vadc, prop, &adc_code); adc_code 464 drivers/iio/adc/qcom-spmi-vadc.c adc_code, val); adc_code 471 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_do_conversion(vadc, prop, &adc_code); adc_code 475 drivers/iio/adc/qcom-spmi-vadc.c *val = (int)adc_code; adc_code 94 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_uv); adc_code 98 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec); adc_code 102 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec); adc_code 106 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec); adc_code 110 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec); adc_code 167 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, adc_code 171 drivers/iio/adc/qcom-vadc-common.c *scale_voltage = (adc_code - calib_graph->gnd); adc_code 183 drivers/iio/adc/qcom-vadc-common.c bool absolute, u16 adc_code, adc_code 188 drivers/iio/adc/qcom-vadc-common.c qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); adc_code 199 drivers/iio/adc/qcom-vadc-common.c bool absolute, u16 adc_code, adc_code 205 drivers/iio/adc/qcom-vadc-common.c qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); adc_code 224 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec) adc_code 229 drivers/iio/adc/qcom-vadc-common.c qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); adc_code 248 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec) adc_code 252 drivers/iio/adc/qcom-vadc-common.c qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); adc_code 264 drivers/iio/adc/qcom-vadc-common.c static int qcom_vadc_scale_code_voltage_factor(u16 adc_code, adc_code 277 drivers/iio/adc/qcom-vadc-common.c if (adc_code > VADC5_MAX_CODE) adc_code 278 drivers/iio/adc/qcom-vadc-common.c adc_code = 0; adc_code 281 drivers/iio/adc/qcom-vadc-common.c voltage = (s64) adc_code * adc_vdd_ref_mv * 1000; adc_code 297 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_uv) adc_code 299 drivers/iio/adc/qcom-vadc-common.c *result_uv = qcom_vadc_scale_code_voltage_factor(adc_code, adc_code 308 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec) adc_code 312 drivers/iio/adc/qcom-vadc-common.c voltage = qcom_vadc_scale_code_voltage_factor(adc_code, adc_code 324 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec) adc_code 326 drivers/iio/adc/qcom-vadc-common.c *result_mdec = qcom_vadc_scale_code_voltage_factor(adc_code, adc_code 336 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec) adc_code 338 drivers/iio/adc/qcom-vadc-common.c *result_mdec = qcom_vadc_scale_code_voltage_factor(adc_code * 100, adc_code 348 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result_mdec) adc_code 350 drivers/iio/adc/qcom-vadc-common.c *result_mdec = qcom_vadc_scale_code_voltage_factor(adc_code, adc_code 361 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result) adc_code 366 drivers/iio/adc/qcom-vadc-common.c absolute, adc_code, adc_code 371 drivers/iio/adc/qcom-vadc-common.c absolute, adc_code, adc_code 375 drivers/iio/adc/qcom-vadc-common.c absolute, adc_code, adc_code 379 drivers/iio/adc/qcom-vadc-common.c absolute, adc_code, adc_code 390 drivers/iio/adc/qcom-vadc-common.c u16 adc_code, int *result) adc_code 399 drivers/iio/adc/qcom-vadc-common.c adc_code, result); adc_code 149 drivers/iio/adc/qcom-vadc-common.h u16 adc_code, int *result_mdec); adc_code 153 drivers/iio/adc/qcom-vadc-common.h const struct adc5_data *data, u16 adc_code, int *result); adc_code 159 drivers/iio/adc/qcom-vadc-common.h u16 adc_code, int *result_mdec); adc_code 238 drivers/thermal/qcom/tsens-8960.c static inline int code_to_mdegC(u32 adc_code, const struct tsens_sensor *s) adc_code 245 drivers/thermal/qcom/tsens-8960.c return adc_code * slope + offset; adc_code 67 drivers/thermal/qcom/tsens-common.c static inline int code_to_degc(u32 adc_code, const struct tsens_sensor *s) adc_code 71 drivers/thermal/qcom/tsens-common.c num = (adc_code * SLOPE_FACTOR) - s->offset;