Home
last modified time | relevance | path

Searched refs:apds9306_repeat_rate_freq (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/iio/light/
Dapds9306.c119 static const int apds9306_repeat_rate_freq[APDS9306_NUM_REPEAT_RATES][2] = { variable
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()
653 for (i = 0; i < ARRAY_SIZE(apds9306_repeat_rate_freq); i++) { in apds9306_sampling_freq_set()
654 if (apds9306_repeat_rate_freq[i][0] == val && in apds9306_sampling_freq_set()
655 apds9306_repeat_rate_freq[i][1] == val2) in apds9306_sampling_freq_set()
880 *length = ARRAY_SIZE(apds9306_repeat_rate_freq) * 2; in apds9306_read_avail()
881 *vals = (const int *)apds9306_repeat_rate_freq; in apds9306_read_avail()