Searched refs:LM3532_NUM_RAMP_VALS (Results 1 – 1 of 1) sorted by relevance
89 #define LM3532_NUM_RAMP_VALS 8 macro282 static const int ramp_table[LM3532_NUM_RAMP_VALS] = { 8, 1024, 2048, 4096, 8192,289 if (ramp_time > ramp_table[LM3532_NUM_RAMP_VALS - 1]) in lm3532_get_ramp_index()290 return LM3532_NUM_RAMP_VALS - 1; in lm3532_get_ramp_index()292 return lm3532_get_index(&ramp_table[0], LM3532_NUM_RAMP_VALS, in lm3532_get_ramp_index()