Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/
H A Dapds990x.c145 u32 prox_thres; member
327 if (data < chip->prox_thres) { in apds990x_refresh_pthres()
329 hi = chip->prox_thres; in apds990x_refresh_pthres()
331 lo = chip->prox_thres - APDS_PROX_HYSTERESIS; in apds990x_refresh_pthres()
333 hi = chip->prox_thres; in apds990x_refresh_pthres()
524 if (chip->prox_data < chip->prox_thres) in apds990x_irq()
952 return sprintf(buf, "%d\n", chip->prox_thres); in apds990x_prox_threshold_show()
972 chip->prox_thres = value; in apds990x_prox_threshold_store()
1106 chip->prox_thres = APDS_PROX_DEF_THRES; in apds990x_probe()