Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/ !
H A Dhi8435.c48 unsigned threshold_lo[2]; /* GND-Open and Supply-Open thresholds */ member
216 if (val == priv->threshold_lo[mode]) in hi8435_write_event_value()
219 priv->threshold_lo[mode] = val; in hi8435_write_event_value()
222 if ((priv->threshold_hi[mode] - priv->threshold_lo[mode]) % 2) in hi8435_write_event_value()
226 if (val < 3 || val > 22 || val < (priv->threshold_lo[mode] + 2)) in hi8435_write_event_value()
235 if ((priv->threshold_hi[mode] - priv->threshold_lo[mode]) % 2) in hi8435_write_event_value()
236 priv->threshold_lo[mode]++; in hi8435_write_event_value()
250 reg = priv->threshold_hi[mode] - priv->threshold_lo[mode]; in hi8435_write_event_value()
253 reg |= (priv->threshold_hi[mode] + priv->threshold_lo[mode]); in hi8435_write_event_value()
505 priv->threshold_lo[ in hi8435_probe()
[all...]
/linux/drivers/misc/ !
H A Dbh1770glc.c301 u16 threshold_hi, u16 threshold_lo) in bh1770_lux_update_thresholds() argument
318 if (threshold_lo != BH1770_LUX_RANGE && threshold_lo != 0) in bh1770_lux_update_thresholds()
319 threshold_lo = bh1770_lux_adjusted_to_raw(chip, threshold_lo); in bh1770_lux_update_thresholds()
322 chip->lux_thres_lo_onchip == threshold_lo) in bh1770_lux_update_thresholds()
326 chip->lux_thres_lo_onchip = threshold_lo; in bh1770_lux_update_thresholds()
330 data[2] = threshold_lo; in bh1770_lux_update_thresholds()
331 data[3] = threshold_lo >> 8; in bh1770_lux_update_thresholds()
/linux/include/uapi/linux/media/raspberrypi/ !
H A Dpisp_be_config.h240 * @threshold_lo: Low threshold value
250 __u16 threshold_lo; member