Lines Matching defs:value
29 * voltage and then to ADC code value.
785 u32 chan, value, adc_channel, varr[2];
853 ret = of_property_read_u32(node, "qcom,hw-settle-time-us", &value);
855 ret = qcom_adc5_hw_settle_time_from_dt(value, adc_tm->data->hw_settle);
858 name, value);
872 ret = of_property_read_u32(node, "qcom,decimation", &value);
874 ret = qcom_adc5_decimation_from_dt(value, adc_tm->data->decimation);
876 dev_err(dev, "invalid decimation %d\n", value);
884 ret = of_property_read_u32(node, "qcom,avg-samples", &value);
886 ret = qcom_adc5_avg_samples_from_dt(value);
888 dev_err(dev, "invalid avg-samples %d\n", value);
945 u32 value;
964 ret = of_property_read_u32(node, "qcom,decimation", &value);
966 ret = qcom_adc5_decimation_from_dt(value, adc_tm->data->decimation);
968 dev_err(dev, "invalid decimation %d\n", value);
976 ret = of_property_read_u32(node, "qcom,avg-samples", &value);
978 ret = qcom_adc5_avg_samples_from_dt(value);
980 dev_err(dev, "invalid avg-samples %d\n", value);