Lines Matching refs:bright_maxlvl
426 static unsigned int bright_maxlvl; /* 0 = unknown */ variable
2464 else if (newn->brightness_level >= bright_maxlvl in hotkey_compare_and_issue_event()
6446 lnvram &= bright_maxlvl; in tpacpi_brightness_nvram_get()
6558 if (value > bright_maxlvl) in brightness_set()
6741 bright_maxlvl = 15; in tpacpi_detect_brightness_capabilities()
6745 bright_maxlvl = 7; in tpacpi_detect_brightness_capabilities()
6749 bright_maxlvl = b - 1; in tpacpi_detect_brightness_capabilities()
6751 pr_debug("detected %u brightness levels\n", bright_maxlvl + 1); in tpacpi_detect_brightness_capabilities()
6826 props.max_brightness = bright_maxlvl; in brightness_init()
6894 bright_maxlvl); in brightness_read()
6912 if (level < bright_maxlvl) in brightness_write()
6918 level >= 0 && level <= bright_maxlvl) { in brightness_write()