Searched refs:prox_coef (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/misc/
H A Dbh1770glc.c159 u16 prox_coef; member in struct:bh1770_chip
263 adjusted = (u16)(((u32)(psraw + chip->prox_const) * chip->prox_coef) / bh1770_psraw_to_adjusted()
274 raw = (((u32)ps * BH1770_COEF_SCALER) / chip->prox_coef); bh1770_psadjusted_to_raw()
539 chip->prox_coef = BH1770_COEF_SCALER; bh1770_detect()
553 chip->prox_coef = 819; /* 0.8 * BH1770_COEF_SCALER */ bh1770_detect()

Completed in 56 milliseconds