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