Searched refs:adcdelay_range (Results 1 – 1 of 1) sorted by relevance
76 static const struct linear_range adcdelay_range = LINEAR_RANGE_INIT(5000, 4000, 0U, 255U); variable211 ret = linear_range_get_value(&adcdelay_range, data->vbat_delay, in npm2100_vbat_sample_fetch()304 int ret = linear_range_get_value(&adcdelay_range, data->vbat_delay, &val_usec); in npm2100_vbat_attr_get()377 ret = linear_range_get_index(&adcdelay_range, val_usec, &delay); in npm2100_vbat_attr_set()