Searched refs:vcnl4040_ps_persistence (Results 1 – 1 of 1) sorted by relevance
174 static const int vcnl4040_ps_persistence[] = {1, 2, 3, 4}; variable735 if (ret_pers >= ARRAY_SIZE(vcnl4040_ps_persistence)) in vcnl4040_read_ps_period()744 vcnl4040_ps_persistence[ret_pers]; in vcnl4040_read_ps_period()763 i = ARRAY_SIZE(vcnl4040_ps_persistence) - 1; in vcnl4040_write_ps_period()765 for (i = 0; i < ARRAY_SIZE(vcnl4040_ps_persistence) - 1; i++) { in vcnl4040_write_ps_period()766 if (val2 <= vcnl4040_ps_persistence[i] * in vcnl4040_write_ps_period()