Searched refs:val_usec (Results 1 – 1 of 1) sorted by relevance
293 int32_t val_usec; in npm2100_vbat_attr_get() local304 int ret = linear_range_get_value(&adcdelay_range, data->vbat_delay, &val_usec); in npm2100_vbat_attr_get()310 return sensor_value_from_micro(val, val_usec); in npm2100_vbat_attr_get()367 int32_t val_usec = sensor_value_to_micro(val); in npm2100_vbat_attr_set() local374 if (val_usec == 0) { in npm2100_vbat_attr_set()377 ret = linear_range_get_index(&adcdelay_range, val_usec, &delay); in npm2100_vbat_attr_set()