Lines Matching defs:props
2040 if ((asus->driver->brightness < bd->props.brightness) ||
2041 bd->props.brightness == bd->props.max_brightness)
2043 else if ((asus->driver->brightness > bd->props.brightness) ||
2044 bd->props.brightness == 0)
2047 asus->driver->brightness = bd->props.brightness;
2059 if (power != -ENODEV && bd->props.power != power) {
2060 ctrl_param = !!(bd->props.power == FB_BLANK_UNBLANK);
2064 asus->driver->panel_power = bd->props.power;
2075 ctrl_param = bd->props.brightness;
2091 int old = bd->props.brightness;
2099 bd->props.brightness = new;
2109 struct backlight_properties props;
2123 memset(&props, 0, sizeof(struct backlight_properties));
2124 props.type = BACKLIGHT_PLATFORM;
2125 props.max_brightness = max;
2128 &asus_wmi_bl_ops, &props);
2139 bd->props.brightness = read_brightness(bd);
2140 bd->props.power = power;
2143 asus->driver->brightness = bd->props.brightness;