Searched refs:bl_max (Results 1 – 2 of 2) sorted by relevance
307 sc->bl_max = (apple_bl_read(sc, hw->max_reg.offset) & in apple_bl_mmio_init()309 if (sc->bl_max == 0) in apple_bl_mmio_init()310 sc->bl_max = hw->max; in apple_bl_mmio_init()312 sc->bl_max = hw->max; in apple_bl_mmio_init()323 if (sc->bl_max > 0) in apple_bl_mmio_init()324 sc->bl_brightness = apple_bl_hw_get(sc) * 100 / sc->bl_max; in apple_bl_mmio_init()557 sc->bl_max = (raw_max > 0) ? raw_max : GMUX_BRIGHTNESS_MASK; in acpi_apple_backlight_attach_gmux()559 if (sc->bl_max > 0) in acpi_apple_backlight_attach_gmux()560 sc->bl_brightness = apple_bl_hw_get(sc) * 100 / sc->bl_max; in acpi_apple_backlight_attach_gmux()571 apple_bl_hw_get(sc), sc->bl_max); in acpi_apple_backlight_attach_gmux()[all …]
131 uint32_t bl_max; member