Lines Matching refs:props
1481 if ((asus->driver->brightness < bd->props.brightness) || in get_scalar_command()
1482 bd->props.brightness == bd->props.max_brightness) in get_scalar_command()
1484 else if ((asus->driver->brightness > bd->props.brightness) || in get_scalar_command()
1485 bd->props.brightness == 0) in get_scalar_command()
1488 asus->driver->brightness = bd->props.brightness; in get_scalar_command()
1500 if (power != -ENODEV && bd->props.power != power) { in update_bl_status()
1501 ctrl_param = !!(bd->props.power == FB_BLANK_UNBLANK); in update_bl_status()
1505 asus->driver->panel_power = bd->props.power; in update_bl_status()
1516 ctrl_param = bd->props.brightness; in update_bl_status()
1532 int old = bd->props.brightness; in asus_wmi_backlight_notify()
1540 bd->props.brightness = new; in asus_wmi_backlight_notify()
1550 struct backlight_properties props; in asus_wmi_backlight_init() local
1565 memset(&props, 0, sizeof(struct backlight_properties)); in asus_wmi_backlight_init()
1566 props.type = BACKLIGHT_PLATFORM; in asus_wmi_backlight_init()
1567 props.max_brightness = max; in asus_wmi_backlight_init()
1570 &asus_wmi_bl_ops, &props); in asus_wmi_backlight_init()
1581 bd->props.brightness = read_brightness(bd); in asus_wmi_backlight_init()
1582 bd->props.power = power; in asus_wmi_backlight_init()
1585 asus->driver->brightness = bd->props.brightness; in asus_wmi_backlight_init()