Searched refs:prox_const (Results 1 – 1 of 1) sorted by relevance
146 u16 prox_const; member246 adjusted = (u16)(((u32)(psraw + chip->prox_const) * chip->prox_coef) / in bh1770_psraw_to_adjusted()258 if (raw > chip->prox_const) in bh1770_psadjusted_to_raw()259 raw = raw - chip->prox_const; in bh1770_psadjusted_to_raw()523 chip->prox_const = 0; in bh1770_detect()537 chip->prox_const = 40; in bh1770_detect()