Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/light/
Disl29018.c228 int prox_data = -1; in isl29018_read_proximity_ir() local
241 prox_data = isl29018_read_sensor_input(chip, in isl29018_read_proximity_ir()
243 if (prox_data < 0) in isl29018_read_proximity_ir()
244 return prox_data; in isl29018_read_proximity_ir()
247 *near_ir = prox_data; in isl29018_read_proximity_ir()
256 if (prox_data >= ir_data) in isl29018_read_proximity_ir()
257 *near_ir = prox_data - ir_data; in isl29018_read_proximity_ir()
Dtsl2772.c171 u16 prox_data; member
542 chip->prox_data = ret; in tsl2772_get_prox()
885 prox_history[i] = chip->prox_data; in tsl2772_prox_cal()
1263 *val = chip->prox_data; in tsl2772_read_raw()
/kernel/linux/linux-5.10/drivers/misc/
Dapds990x.c146 u16 prox_data; member
517 chip->prox_data = 0; in apds990x_irq()
521 &chip->prox_data); in apds990x_irq()
523 apds990x_refresh_pthres(chip, chip->prox_data); in apds990x_irq()
524 if (chip->prox_data < chip->prox_thres) in apds990x_irq()
525 chip->prox_data = 0; in apds990x_irq()
527 chip->prox_data = APDS_PROX_RANGE; in apds990x_irq()
608 chip->prox_data = 0; in apds990x_chip_on()
779 ret = sprintf(buf, "%d\n", chip->prox_data); in apds990x_prox_show()
817 chip->prox_data = 0; in apds990x_prox_enable_store()
Dbh1770glc.c151 u8 prox_data; member
402 chip->prox_data = 0; in bh1770_chip_on()
438 chip->prox_data = 0; in bh1770_prox_mode_control()
471 chip->prox_data = bh1770_psraw_to_adjusted(chip, ret); in bh1770_prox_read_result()
474 if (chip->prox_data >= chip->prox_abs_thres || in bh1770_prox_read_result()
492 chip->prox_data = 0; in bh1770_prox_read_result()
722 chip->prox_data = 0; in bh1770_prox_enable_store()
759 ret = sprintf(buf, "%d\n", chip->prox_data); in bh1770_prox_result_show()
1204 chip->prox_data = 0; in bh1770_probe()