Searched refs:adt7470_freq_map (Results 1 – 1 of 1) sorted by relevance
698 static const int adt7470_freq_map[] = { variable718 if (index >= ARRAY_SIZE(adt7470_freq_map)) in pwm1_freq_show()719 index = ARRAY_SIZE(adt7470_freq_map) - 1; in pwm1_freq_show()721 return scnprintf(buf, PAGE_SIZE, "%d\n", adt7470_freq_map[index]); in pwm1_freq_show()739 index = find_closest(freq, adt7470_freq_map, in pwm1_freq_store()740 ARRAY_SIZE(adt7470_freq_map)); in pwm1_freq_store()