Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/light/
Dvcnl4000.c175 static const int vcnl4040_ps_oversampling_ratio[] = {1, 2, 4, 8}; variable
797 if (ret >= ARRAY_SIZE(vcnl4040_ps_oversampling_ratio)) in vcnl4040_read_ps_oversampling_ratio()
800 *val = vcnl4040_ps_oversampling_ratio[ret]; in vcnl4040_read_ps_oversampling_ratio()
811 for (i = 0; i < ARRAY_SIZE(vcnl4040_ps_oversampling_ratio); i++) { in vcnl4040_write_ps_oversampling_ratio()
812 if (val == vcnl4040_ps_oversampling_ratio[i]) in vcnl4040_write_ps_oversampling_ratio()
816 if (i >= ARRAY_SIZE(vcnl4040_ps_oversampling_ratio)) in vcnl4040_write_ps_oversampling_ratio()
1021 *vals = (int *)vcnl4040_ps_oversampling_ratio; in vcnl4040_read_avail()
1022 *length = ARRAY_SIZE(vcnl4040_ps_oversampling_ratio); in vcnl4040_read_avail()