Searched refs:rpm_range (Results 1 – 2 of 2) sorted by relevance
70 #define FAN_FROM_REG(val, rpm_range) ((val) == 0 || (val) == 255 ? \ argument71 0 : (rpm_ranges[rpm_range] * 30) / (val))83 u8 rpm_range[MAX6639_NUM_CHANNELS]; /* Index in above rpm_ranges table */ member219 *fan_val = FAN_FROM_REG(val, data->rpm_range[channel]); in max6639_read_fan()540 int rpm_range = 1; /* default: 4000 RPM */ in max6639_init_client() local559 rpm_range = rpm_range_to_reg(max6639_info->rpm_range); in max6639_init_client()560 data->rpm_range[0] = rpm_range; in max6639_init_client()561 data->rpm_range[1] = rpm_range; in max6639_init_client()571 MAX6639_FAN_CONFIG1_PWM | data->rpm_range[i]); in max6639_init_client()
12 int rpm_range; /* 2000, 4000 (default), 8000 or 16000 */ member