Lines Matching refs:bright_maxlvl
403 static unsigned int bright_maxlvl; /* 0 = unknown */ variable
2423 else if (newn->brightness_level >= bright_maxlvl in hotkey_compare_and_issue_event()
6544 lnvram &= bright_maxlvl; in tpacpi_brightness_nvram_get()
6656 if (value > bright_maxlvl) in brightness_set()
6839 bright_maxlvl = 15; in tpacpi_detect_brightness_capabilities()
6843 bright_maxlvl = 7; in tpacpi_detect_brightness_capabilities()
6847 bright_maxlvl = b - 1; in tpacpi_detect_brightness_capabilities()
6849 pr_debug("detected %u brightness levels\n", bright_maxlvl + 1); in tpacpi_detect_brightness_capabilities()
6924 props.max_brightness = bright_maxlvl; in brightness_init()
6992 bright_maxlvl); in brightness_read()
7010 if (level < bright_maxlvl) in brightness_write()
7016 level >= 0 && level <= bright_maxlvl) { in brightness_write()