Lines Matching defs:props
3652 if ((asus->driver->brightness < bd->props.brightness) ||
3653 bd->props.brightness == bd->props.max_brightness)
3655 else if ((asus->driver->brightness > bd->props.brightness) ||
3656 bd->props.brightness == 0)
3659 asus->driver->brightness = bd->props.brightness;
3671 if (power != -ENODEV && bd->props.power != power) {
3672 ctrl_param = !!(bd->props.power == FB_BLANK_UNBLANK);
3676 asus->driver->panel_power = bd->props.power;
3687 ctrl_param = bd->props.brightness;
3703 int old = bd->props.brightness;
3711 bd->props.brightness = new;
3721 struct backlight_properties props;
3735 memset(&props, 0, sizeof(struct backlight_properties));
3736 props.type = BACKLIGHT_PLATFORM;
3737 props.max_brightness = max;
3740 &asus_wmi_bl_ops, &props);
3751 bd->props.brightness = read_brightness(bd);
3752 bd->props.power = power;
3755 asus->driver->brightness = bd->props.brightness;