Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/proximity/
Dvcnl3020.c219 unsigned int prox_rate; in vcnl3020_read_proxy_samp_freq() local
221 rc = regmap_read(data->regmap, VCNL_PROXIMITY_RATE, &prox_rate); in vcnl3020_read_proxy_samp_freq()
225 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()
/linux-6.1.9/drivers/misc/
Dbh1770glc.c147 int prox_rate; member
219 chip->prox_rate_threshold : chip->prox_rate; in bh1770_prox_rate()
794 return sprintf(buf, "%d\n", prox_rates_hz[chip->prox_rate]); in bh1770_get_prox_rate_below()
838 chip->prox_rate = bh1770_prox_rate_validate(value); in bh1770_set_prox_rate_below()
1203 chip->prox_rate = BH1770_PROX_DEFAULT_RATE; in bh1770_probe()