Searched refs:repeat_rate_idx (Results 1 – 1 of 1) sorted by relevance
470 int ret, delay, intg_time, intg_time_idx, repeat_rate_idx, int_src; in apds9306_read_data() local482 ret = regmap_field_read(rf->repeat_rate, &repeat_rate_idx); in apds9306_read_data()495 delay = max(intg_time, apds9306_repeat_rate_period[repeat_rate_idx]); in apds9306_read_data()632 int ret, repeat_rate_idx; in apds9306_sampling_freq_get() local634 ret = regmap_field_read(rf->repeat_rate, &repeat_rate_idx); in apds9306_sampling_freq_get()638 if (repeat_rate_idx >= ARRAY_SIZE(apds9306_repeat_rate_freq)) in apds9306_sampling_freq_get()641 *val = apds9306_repeat_rate_freq[repeat_rate_idx][0]; in apds9306_sampling_freq_get()642 *val2 = apds9306_repeat_rate_freq[repeat_rate_idx][1]; in apds9306_sampling_freq_get()