Lines Matching full:intensity
50 static void intel_chipset_set_brightness(int intensity) in intel_chipset_set_brightness() argument
52 outb(0x04 | (intensity << 4), 0xb3); in intel_chipset_set_brightness()
58 int intensity = bd->props.brightness; in intel_chipset_send_intensity() local
61 pr_debug("setting brightness to %d\n", intensity); in intel_chipset_send_intensity()
63 intel_chipset_set_brightness(intensity); in intel_chipset_send_intensity()
69 int intensity; in intel_chipset_get_intensity() local
73 intensity = inb(0xb3) >> 4; in intel_chipset_get_intensity()
76 pr_debug("read brightness of %d\n", intensity); in intel_chipset_get_intensity()
78 return intensity; in intel_chipset_get_intensity()
95 static void nvidia_chipset_set_brightness(int intensity) in nvidia_chipset_set_brightness() argument
97 outb(0x04 | (intensity << 4), 0x52f); in nvidia_chipset_set_brightness()
103 int intensity = bd->props.brightness; in nvidia_chipset_send_intensity() local
106 pr_debug("setting brightness to %d\n", intensity); in nvidia_chipset_send_intensity()
108 nvidia_chipset_set_brightness(intensity); in nvidia_chipset_send_intensity()
114 int intensity; in nvidia_chipset_get_intensity() local
118 intensity = inb(0x52f) >> 4; in nvidia_chipset_get_intensity()
121 pr_debug("read brightness of %d\n", intensity); in nvidia_chipset_get_intensity()
123 return intensity; in nvidia_chipset_get_intensity()
141 int intensity; in apple_bl_add() local
164 intensity = hw_data->backlight_ops.get_brightness(NULL); in apple_bl_add()
166 if (!intensity) { in apple_bl_add()