Lines Matching full:scheme
231 static int isl29018_read_proximity_ir(struct isl29018_chip *chip, int scheme, in isl29018_read_proximity_ir() argument
239 /* Do proximity sensing with required scheme */ in isl29018_read_proximity_ir()
242 scheme << ISL29018_CMD2_SCHEME_SHIFT); in isl29018_read_proximity_ir()
253 if (scheme == 1) { in isl29018_read_proximity_ir()
314 * Proximity Sensing Scheme: Bit 7. This bit programs the function
315 * of the proximity detection. Logic 0 of this bit, Scheme 0, makes
317 * of Scheme 0 proximity count is from 0 to 2^n. Logic 1 of this bit,
318 * Scheme 1, makes n-1 (3, 7, 11, 15) bits (2's complementary)
319 * proximity_less_ambient detection. The range of Scheme 1
321 * for resolutions less than 16. While Scheme 0 has wider dynamic
322 * range, Scheme 1 proximity detection is less affected by the
336 * Return the "proximity scheme" i.e. if the chip does on chip in proximity_on_chip_ambient_infrared_suppression_show()
356 * Get the "proximity scheme" i.e. if the chip does on chip in proximity_on_chip_ambient_infrared_suppression_store()