Home
last modified time | relevance | path

Searched refs:rpm_range (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/hwmon/
Dmax6639.c62 #define FAN_FROM_REG(val, rpm_range) ((val) == 0 || (val) == 255 ? \ argument
63 0 : (rpm_ranges[rpm_range] * 30) / (val))
89 u8 rpm_range; /* Index in above rpm_ranges table */ member
319 data->rpm_range)); in fan_input_show()
407 int rpm_range = 1; /* default: 4000 RPM */ in max6639_init_client() local
425 rpm_range = rpm_range_to_reg(max6639_info->rpm_range); in max6639_init_client()
426 data->rpm_range = rpm_range; in max6639_init_client()
440 MAX6639_FAN_CONFIG1_PWM | rpm_range); in max6639_init_client()
/Linux-v5.10/include/linux/platform_data/
Dmax6639.h12 int rpm_range; /* 2000, 4000 (default), 8000 or 16000 */ member