Searched refs:prox_const (Results 1 – 1 of 1) sorted by relevance
160 u16 prox_const; member263 adjusted = (u16)(((u32)(psraw + chip->prox_const) * chip->prox_coef) / in bh1770_psraw_to_adjusted()275 if (raw > chip->prox_const) in bh1770_psadjusted_to_raw()276 raw = raw - chip->prox_const; in bh1770_psadjusted_to_raw()540 chip->prox_const = 0; in bh1770_detect()554 chip->prox_const = 40; in bh1770_detect()