Searched refs:backlight_dev (Results 1 – 4 of 4) sorted by relevance
166 struct backlight_device *backlight_dev; member1353 if (!dev->backlight_dev) in lcd_proc_show()1356 levels = dev->backlight_dev->props.max_brightness + 1; in lcd_proc_show()1357 value = get_lcd_brightness(dev->backlight_dev); in lcd_proc_show()1418 levels = dev->backlight_dev->props.max_brightness + 1; in lcd_proc_write()1678 if (dev->backlight_dev) in create_toshiba_proc_entries()1696 if (dev->backlight_dev) in remove_toshiba_proc_entries()2903 dev->backlight_dev = backlight_device_register("toshiba", in toshiba_acpi_setup_backlight()2908 if (IS_ERR(dev->backlight_dev)) { in toshiba_acpi_setup_backlight()2909 ret = PTR_ERR(dev->backlight_dev); in toshiba_acpi_setup_backlight()[all …]
452 struct backlight_device *backlight_dev[AMDGPU_DM_MAX_NUM_EDP]; member
4029 if (bd == dm->backlight_dev[i]) in amdgpu_dm_backlight_update_status()4071 if (bd == dm->backlight_dev[i]) in amdgpu_dm_backlight_get_brightness()4101 dm->backlight_dev[dm->num_of_edps] = backlight_device_register(bl_name, in amdgpu_dm_register_backlight_device()4107 if (IS_ERR(dm->backlight_dev[dm->num_of_edps])) in amdgpu_dm_register_backlight_device()4168 if (!dm->backlight_dev[dm->num_of_edps]) in register_backlight_device()4171 if (dm->backlight_dev[dm->num_of_edps]) { in register_backlight_device()6735 if ((link == dm->backlight_link[i]) && dm->backlight_dev[i]) { in amdgpu_dm_connector_destroy()6736 backlight_device_unregister(dm->backlight_dev[i]); in amdgpu_dm_connector_destroy()6737 dm->backlight_dev[i] = NULL; in amdgpu_dm_connector_destroy()9937 if (dm->backlight_dev[i] && in amdgpu_dm_atomic_commit_tail()
857 if (dm->backlight_dev[0]) in amdgpu_acpi_init()858 atif->bd = dm->backlight_dev[0]; in amdgpu_acpi_init()