Lines Matching defs:mode
24 #define BH1770_ALS_CONTROL 0x80 /* ALS operation mode control */
25 #define BH1770_PS_CONTROL 0x81 /* PS operation mode control */
28 #define BH1770_ALS_PS_MEAS 0x84 /* Forced mode trigger */
29 #define BH1770_PS_MEAS_RATE 0x85 /* PS meas. rate at stand alone mode */
30 #define BH1770_ALS_MEAS_RATE 0x86 /* ALS meas. rate at stand alone mode */
214 static int bh1770_prox_rate(struct bh1770_chip *chip, int mode)
218 rate = (mode == PROX_ABOVE_THRESHOLD) ?
452 u8 mode;
473 /* Strong proximity level or force mode requires immediate response */
486 mode = PROX_ABOVE_THRESHOLD;
491 mode = PROX_BELOW_THRESHOLD;
498 bh1770_prox_rate(chip, mode);