Home
last modified time | relevance | path

Searched refs:adt7470_freq_map (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dadt7470.c698 static const int adt7470_freq_map[] = { variable
718 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()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dadt7470.c724 static const int adt7470_freq_map[] = { variable
747 if (index >= ARRAY_SIZE(adt7470_freq_map)) in pwm1_freq_get()
748 index = ARRAY_SIZE(adt7470_freq_map) - 1; in pwm1_freq_get()
750 return adt7470_freq_map[index]; in pwm1_freq_get()
789 index = find_closest(freq, adt7470_freq_map, in pwm1_freq_set()
790 ARRAY_SIZE(adt7470_freq_map)); in pwm1_freq_set()

Completed in 5 milliseconds