Searched refs:prox_en (Results 1 – 2 of 2) sorted by relevance
44 bool prox_en; member86 if (iqs621_als->prox_en) in iqs621_als_init()126 !iqs621_als->prox_en) { in iqs621_als_notifier()169 if (iqs621_als->prox_en && prox_new && !prox_old) in iqs621_als_notifier()175 else if (iqs621_als->prox_en && !prox_new && prox_old) in iqs621_als_notifier()258 ret = iqs621_als->prox_en; in iqs621_als_read_event_config()317 iqs621_als->prox_en = state; in iqs621_als_write_event_config()
119 int prox_en; member242 if (chip->prox_en) in apds990x_mode_on()506 if ((status & APDS990X_ST_PINT) && chip->prox_en) { in apds990x_irq()775 if (pm_runtime_suspended(dev) || !chip->prox_en) in apds990x_prox_show()799 return sprintf(buf, "%d\n", chip->prox_en); in apds990x_prox_enable_show()816 if (!chip->prox_en) in apds990x_prox_enable_store()820 chip->prox_en++; in apds990x_prox_enable_store()821 else if (chip->prox_en > 0) in apds990x_prox_enable_store()822 chip->prox_en--; in apds990x_prox_enable_store()