Searched refs:vcnl4040_ps_persistence (Results 1 – 1 of 1) sorted by relevance
182 static const int vcnl4040_ps_persistence[] = {1, 2, 3, 4}; variable768 if (ret_pers >= ARRAY_SIZE(vcnl4040_ps_persistence)) in vcnl4040_read_ps_period()777 vcnl4040_ps_persistence[ret_pers]; in vcnl4040_read_ps_period()796 i = ARRAY_SIZE(vcnl4040_ps_persistence) - 1; in vcnl4040_write_ps_period()798 for (i = 0; i < ARRAY_SIZE(vcnl4040_ps_persistence) - 1; i++) { in vcnl4040_write_ps_period()799 if (val2 <= vcnl4040_ps_persistence[i] * in vcnl4040_write_ps_period()