Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/proximity/
H A Dsx9310.c178 } sx9310_samp_freq_table[] = { variable
324 *val = sx9310_samp_freq_table[regval].val; in sx9310_read_samp_freq()
325 *val2 = sx9310_samp_freq_table[regval].val2; in sx9310_read_samp_freq()
382 *length = ARRAY_SIZE(sx9310_samp_freq_table) * 2; in sx9310_read_avail()
383 *vals = (int *)sx9310_samp_freq_table; in sx9310_read_avail()
658 for (i = 0; i < ARRAY_SIZE(sx9310_samp_freq_table); i++) in sx9310_set_samp_freq()
659 if (val == sx9310_samp_freq_table[i].val && in sx9310_set_samp_freq()
660 val2 == sx9310_samp_freq_table[i].val2) in sx9310_set_samp_freq()
663 if (i == ARRAY_SIZE(sx9310_samp_freq_table)) in sx9310_set_samp_freq()