Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dltr501.c172 static const struct ltr501_samp_table ltr501_als_samp_table[] = { variable
211 if (i < 0 || i >= ARRAY_SIZE(ltr501_als_samp_table)) in ltr501_als_read_samp_freq()
214 *val = ltr501_als_samp_table[i].freq_val / 1000000; in ltr501_als_read_samp_freq()
215 *val2 = ltr501_als_samp_table[i].freq_val % 1000000; in ltr501_als_read_samp_freq()
243 i = ltr501_match_samp_freq(ltr501_als_samp_table, in ltr501_als_write_samp_freq()
244 ARRAY_SIZE(ltr501_als_samp_table), in ltr501_als_write_samp_freq()
284 if (i < 0 || i >= ARRAY_SIZE(ltr501_als_samp_table)) in ltr501_als_read_samp_period()
287 *val = ltr501_als_samp_table[i].time_val; in ltr501_als_read_samp_period()