Lines Matching refs:upper_limit
23 int upper_limit; member
50 *state = d->upper_limit - d->lower_limit; in int3406_thermal_get_max_state()
61 if (state > d->upper_limit - d->lower_limit) in int3406_thermal_set_cur_state()
64 acpi_level = d->br->levels[d->upper_limit - state]; in int3406_thermal_set_cur_state()
86 for (index = d->lower_limit; index < d->upper_limit; index++) { in int3406_thermal_get_cur_state()
91 *state = d->upper_limit - index; in int3406_thermal_get_cur_state()
115 unsigned long long lower_limit, upper_limit; in int3406_thermal_get_limit() local
122 status = acpi_evaluate_integer(d->handle, "DDPC", NULL, &upper_limit); in int3406_thermal_get_limit()
124 d->upper_limit = int3406_thermal_get_index(d->br->levels, in int3406_thermal_get_limit()
125 d->br->count, upper_limit); in int3406_thermal_get_limit()
129 d->upper_limit = d->upper_limit > 0 ? d->upper_limit : d->br->count - 1; in int3406_thermal_get_limit()