Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dltr501.c171 static const struct ltr501_samp_table ltr501_als_samp_table[] = { variable
210 if (i < 0 || i >= ARRAY_SIZE(ltr501_als_samp_table)) in ltr501_als_read_samp_freq()
213 *val = ltr501_als_samp_table[i].freq_val / 1000000; in ltr501_als_read_samp_freq()
214 *val2 = ltr501_als_samp_table[i].freq_val % 1000000; in ltr501_als_read_samp_freq()
242 i = ltr501_match_samp_freq(ltr501_als_samp_table, in ltr501_als_write_samp_freq()
243 ARRAY_SIZE(ltr501_als_samp_table), in ltr501_als_write_samp_freq()
283 if (i < 0 || i >= ARRAY_SIZE(ltr501_als_samp_table)) in ltr501_als_read_samp_period()
286 *val = ltr501_als_samp_table[i].time_val; in ltr501_als_read_samp_period()