Lines Matching defs:value
377 * Table must be sorted, find the interval of 'y' which contains value
378 * 'input' and map it to proper 'x' value
514 * for the cases where the code represents a value below 0V
725 int qcom_adc5_hw_settle_time_from_dt(u32 value,
731 if (value == hw_settle[i])
739 int qcom_adc5_avg_samples_from_dt(u32 value)
741 if (!is_power_of_2(value) || value > ADC5_AVG_SAMPLES_MAX)
744 return __ffs(value);
748 int qcom_adc5_decimation_from_dt(u32 value, const unsigned int *decimation)
753 if (value == decimation[i])
761 int qcom_vadc_decimation_from_dt(u32 value)
763 if (!is_power_of_2(value) || value < VADC_DECIMATION_MIN ||
764 value > VADC_DECIMATION_MAX)
767 return __ffs64(value / VADC_DECIMATION_MIN);