Searched refs:nlevels (Results 1 – 2 of 2) sorted by relevance
385 unsigned int nlevels = data->max_brightness + 1; in pwm_backlight_is_linear() local387 unsigned int max_val = data->levels[nlevels - 1]; in pwm_backlight_is_linear()393 unsigned int slope = (128 * (max_val - min_val)) / nlevels; in pwm_backlight_is_linear()397 for (i = 1; i < nlevels; i++) { in pwm_backlight_is_linear()
1415 unsigned nlevels = llevel - blevel + 1; in r600_texture_size() local1423 for(i = 0, offset = 0, level = blevel; i < nlevels; i++, level++) { in r600_texture_size()