Searched refs:vcnl3020_prox_sampling_frequency (Results 1 – 1 of 1) sorted by relevance
57 static const int vcnl3020_prox_sampling_frequency[][2] = { variable225 if (prox_rate >= ARRAY_SIZE(vcnl3020_prox_sampling_frequency)) in vcnl3020_read_proxy_samp_freq()228 *val = vcnl3020_prox_sampling_frequency[prox_rate][0]; in vcnl3020_read_proxy_samp_freq()229 *val2 = vcnl3020_prox_sampling_frequency[prox_rate][1]; in vcnl3020_read_proxy_samp_freq()249 for (i = 0; i < ARRAY_SIZE(vcnl3020_prox_sampling_frequency); i++) { in vcnl3020_write_proxy_samp_freq()250 if (val == vcnl3020_prox_sampling_frequency[i][0] && in vcnl3020_write_proxy_samp_freq()251 val2 == vcnl3020_prox_sampling_frequency[i][1]) { in vcnl3020_write_proxy_samp_freq()548 *vals = (int *)vcnl3020_prox_sampling_frequency; in vcnl3020_read_avail()550 *length = 2 * ARRAY_SIZE(vcnl3020_prox_sampling_frequency); in vcnl3020_read_avail()