HomeSort by: relevance | last modified time | path
    Searched defs:brightness (Results 1 - 21 of 21) sorted by relevancy

  /src/sys/arch/hpcarm/dev/
j720lcd.c 92 int brightness, contrast; local in function:j720lcd_attach
97 /* LCD brightness hooks. */
120 /* Get default brightness/contrast values. */
121 config_hook_call(CONFIG_HOOK_GET, CONFIG_HOOK_BRIGHTNESS, &brightness);
124 aprint_normal(": brightness %d, contrast %d\n", brightness, contrast);
  /src/sys/arch/macppc/dev/
abtn.c 60 int brightness; /* backlight brightness */ member in struct:abtn_softc
98 sc->brightness = bright;
159 sc->brightness -= 8;
160 if (sc->brightness < 8)
161 sc->brightness = 8;
162 pm_set_brightness(sc->brightness);
163 pm_write_nvram(NVRAM_BRIGHTNESS, sc->brightness);
167 sc->brightness += 8;
168 if (sc->brightness > 0x78
    [all...]
  /src/sbin/wsconsctl/
display.c 51 static struct wsdisplay_param brightness; variable in typeref:struct:wsdisplay_param
64 { "brightness", &brightness.curval, FMT_UINT, FLG_MODIFY },
133 if (field_by_value(&brightness.curval)->flags & FLG_GET) {
134 brightness.param = WSDISPLAYIO_PARAM_BRIGHTNESS;
135 if (ioctl(fd, WSDISPLAYIO_GETPARAM, &brightness))
136 field_disable_by_value(&brightness.curval);
214 if (field_by_value(&brightness.curval)->flags & FLG_SET) {
215 brightness.param = WSDISPLAYIO_PARAM_BRIGHTNESS;
216 if (ioctl(fd, WSDISPLAYIO_SETPARAM, &brightness) < 0
    [all...]
  /src/sys/arch/hpcmips/dev/
teliosio.c 185 int brightness; local in function:teliosio_backlight
191 brightness = sc->sc_brightness;
193 sc->sc_brightness = brightness;
  /src/sys/arch/hpcmips/vr/
vrc4172pwm.c 247 * get platform related brightness paramerters
262 * Initialize PWM brightness parameters
284 int brightness; local in function:vrc4172pwm_light
291 brightness = sc->sc_brightness; /* save */
294 sc->sc_brightness = brightness; /* resume */
311 * set brightness
333 * get brightness
346 * PWM duty to brightness
367 * brightness to raw duty
401 DPRINTF(("vrc4172pwm:GET BRIGHTNESS: %d\n", *(int *)msg))
    [all...]
  /src/sys/dev/acpi/
fujbp_acpi.c 44 * The FUJ02B1 device is used to control the brightness level of the internal
52 * {G,S}BLL get/set the brightness level of the internal display
55 * RBLL brightness radix (number of brightness levels)
59 * (brightness, pointer) are released. However, these notifications seem to be
105 * ACPI Fujitsu brightness & pointer controller capabilities (methods).
117 * Software state of an ACPI Fujitsu brightness & pointer controller.
118 * Valid brightness levels range from 0 to (sc_brightness_nlevels - 1).
173 aprint_naive(": Fujitsu Brightness & Pointer\n");
174 aprint_normal(": Fujitsu Brightness & Pointer\n")
366 bool brightness, pointer; local in function:fujitsu_bp_sysctl_setup
    [all...]
acpi_display.c 38 * extensions to provide generic support for brightness control and display
41 * If brightness control methods are absent or non-functional, ACPI brightness
47 * - The BIOS should not automatically control the brightness levels.
49 * Brightness and BIOS switch policy can be adjusted from userland, via the
50 * sysctl variables acpivga<n>.policy and acpiout<n>.brightness under hw.acpi.
111 uint8_t brightness:1; member in struct:acpidisp_bios_policy_t::__anon3217d4180108
127 /* BIOS brightness switch policies (ACPI 4.0a, Sec. B.4.1). */
258 * Brightness control (ACPI 4.0a, Sec. B.6.2 to B.6.4). This structure
259 * contains the supported brightness levels (_BCL package) and the curren
    [all...]
  /src/sys/dev/scsipi/
scsi_scanner.h 81 u_int8_t brightness; member in struct:scsi_window_data
ss_mustek.h 151 u_int8_t brightness; member in struct:mustek_mode_select_data
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
nouveau_dispnv04_overlay.c 51 struct drm_property *brightness; member in struct:nouveau_plane::__anon8deb78930108
58 int brightness; member in struct:nouveau_plane
224 u32 luma = (plane->brightness - 512) << 16 | plane->contrast;
259 else if (property == nv_plane->props.brightness)
260 nv_plane->brightness = value;
314 plane->props.brightness = drm_property_create_range(
315 device, 0, "brightness", 0, 1024);
322 !plane->props.brightness ||
335 plane->brightness = 512;
337 plane->props.brightness, plane->brightness)
380 int brightness = (nv_plane->brightness - 512) * 62 \/ 512; local in function:nv04_update_plane
    [all...]
  /src/sys/arch/mac68k/dev/
aed.c 81 static int brightness = BRIGHTNESS_MAX; variable in typeref:typename:int
687 level = brightness;
688 if (level <= 4) /* logarithmic brightness curve. */
694 brightness = pm_set_brightness(level);
702 level = brightness;
703 if (level <= 4) /* logarithmic brightness curve. */
709 brightness = pm_set_brightness(level);
715 (void)pm_set_brightness(brightness);
  /src/sys/dev/i2c/
tps65217pmic.c 331 int isel, fdim, brightness; local in function:tps65217pmic_attach
349 prop_dictionary_get_int32(dict, "brightness", &brightness);
391 tps65217pmic_wled_init(sc, isel, fdim, brightness);
495 int brightness)
528 if (brightness > 100 ||
529 brightness < 0) {
531 "invalid brightness: between 0 and 100: %d\n", brightness);
543 (brightness - 1) & TPS65217PMIC_WLEDCTRL2_DUTY)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i2c/
ch7006_priv.h 95 int brightness; member in struct:ch7006_priv
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_overlay.c 208 u32 brightness, contrast, saturation; member in struct:intel_overlay
1189 iowrite32((overlay->contrast << 18) | (overlay->brightness & 0xff),
1257 attrs->brightness = overlay->brightness;
1270 if (attrs->brightness < -128 || attrs->brightness > 127)
1278 overlay->brightness = attrs->brightness;
1376 overlay->brightness = -19;
intel_sprite.c 791 int contrast, brightness, sh_scale, sh_sin, sh_cos; local in function:vlv_update_clrc
798 * Brightness is applied second and is used to remove the
802 brightness = -DIV_ROUND_CLOSEST(16 * 255, 235 - 16);
809 brightness = 0;
817 SP_CONTRAST(contrast) | SP_BRIGHTNESS(brightness));
intel_sdvo.c 161 struct drm_property *brightness; member in struct:intel_sdvo_connector
173 /* base.base: tv.saturation/contrast/hue/brightness */
1405 if (intel_sdvo_conn->brightness)
1406 UPDATE_PROPERTY(conn_state->tv.brightness, BRIGHTNESS);
2305 else if (property == intel_sdvo_connector->brightness)
2306 *val = state->tv.brightness;
2363 else if (property == intel_sdvo_connector->brightness)
2364 state->tv.brightness = val;
3108 ENHANCEMENT(&conn_state->tv, brightness, BRIGHTNESS)
    [all...]
intel_sdvo_regs.h 607 unsigned int brightness:1; member in struct:intel_sdvo_enhancements_reply
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_connector.h 509 * @brightness: brightness in percent
520 unsigned int brightness; member in struct:drm_tv_connector_state
  /src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
amdgpu_dm.c 2537 uint32_t brightness = bd->props.brightness; local in function:amdgpu_dm_backlight_update_status
2542 * The brightness input is in the range 0-255
2550 brightness =
2551 brightness
2558 brightness, 0))
2570 return bd->props.brightness;
2589 props.brightness = AMDGPU_MAX_BL_LEVEL;
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
dc_types.h 406 struct fixed31_32 brightness; member in struct:dc_csc_adjustments
732 * step size for smooth brightness feature
  /src/sys/external/bsd/drm2/dist/include/uapi/drm/
i915_drm.h 1468 __s32 brightness; member in struct:drm_intel_overlay_attrs

Completed in 38 milliseconds