Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/light/
Dvcnl4000.c93 static const int vcnl4010_prox_sampling_frequency[][2] = { variable
390 if (ret >= ARRAY_SIZE(vcnl4010_prox_sampling_frequency)) in vcnl4010_read_proxy_samp_freq()
393 *val = vcnl4010_prox_sampling_frequency[ret][0]; in vcnl4010_read_proxy_samp_freq()
394 *val2 = vcnl4010_prox_sampling_frequency[ret][1]; in vcnl4010_read_proxy_samp_freq()
512 *vals = (int *)vcnl4010_prox_sampling_frequency; in vcnl4010_read_avail()
514 *length = 2 * ARRAY_SIZE(vcnl4010_prox_sampling_frequency); in vcnl4010_read_avail()
527 for (i = 0; i < ARRAY_SIZE(vcnl4010_prox_sampling_frequency); i++) { in vcnl4010_write_proxy_samp_freq()
528 if (val == vcnl4010_prox_sampling_frequency[i][0] && in vcnl4010_write_proxy_samp_freq()
529 val2 == vcnl4010_prox_sampling_frequency[i][1]) { in vcnl4010_write_proxy_samp_freq()