Lines Matching full:scheme
225 static int isl29018_read_proximity_ir(struct isl29018_chip *chip, int scheme, in isl29018_read_proximity_ir() argument
233 /* Do proximity sensing with required scheme */ in isl29018_read_proximity_ir()
236 scheme << ISL29018_CMD2_SCHEME_SHIFT); in isl29018_read_proximity_ir()
247 if (scheme == 1) { in isl29018_read_proximity_ir()
308 * Proximity Sensing Scheme: Bit 7. This bit programs the function
309 * of the proximity detection. Logic 0 of this bit, Scheme 0, makes
311 * of Scheme 0 proximity count is from 0 to 2^n. Logic 1 of this bit,
312 * Scheme 1, makes n-1 (3, 7, 11, 15) bits (2's complementary)
313 * proximity_less_ambient detection. The range of Scheme 1
315 * for resolutions less than 16. While Scheme 0 has wider dynamic
316 * range, Scheme 1 proximity detection is less affected by the
330 * Return the "proximity scheme" i.e. if the chip does on chip in proximity_on_chip_ambient_infrared_suppression_show()
350 * Get the "proximity scheme" i.e. if the chip does on chip in proximity_on_chip_ambient_infrared_suppression_store()