Lines Matching defs:newlevel
82 static int atibl_setlevel(struct atibl_softc *sc, int newlevel);
212 atibl_setlevel(struct atibl_softc *sc, int newlevel)
219 if (newlevel > 100)
220 newlevel = 100;
222 if (newlevel < 0)
223 newlevel = 0;
227 if (newlevel > 0) {
228 newlevel = (newlevel * 5) / 2 + 5;
243 lvds_gen_cntl |= (newlevel << RADEON_LVDS_BL_MOD_LEVEL_SHIFT) &
311 int newlevel, error;
315 newlevel = atibl_getlevel(sc);
317 error = sysctl_handle_int(oidp, &newlevel, 0, req);
322 return (atibl_setlevel(sc, newlevel));