Searched refs:prox_coef (Results 1 – 1 of 1) sorted by relevance
159 u16 prox_coef; member263 adjusted = (u16)(((u32)(psraw + chip->prox_const) * chip->prox_coef) / in bh1770_psraw_to_adjusted()274 raw = (((u32)ps * BH1770_COEF_SCALER) / chip->prox_coef); in bh1770_psadjusted_to_raw()539 chip->prox_coef = BH1770_COEF_SCALER; in bh1770_detect()553 chip->prox_coef = 819; /* 0.8 * BH1770_COEF_SCALER */ in bh1770_detect()