Home
last modified time | relevance | path

Searched refs:backlight_dev (Results 1 – 4 of 4) sorted by relevance

/drivers/platform/x86/
Dtoshiba_acpi.c176 struct backlight_device *backlight_dev; member
1426 if (!dev->backlight_dev) in lcd_proc_show()
1429 levels = dev->backlight_dev->props.max_brightness + 1; in lcd_proc_show()
1430 value = get_lcd_brightness(dev->backlight_dev); in lcd_proc_show()
1491 levels = dev->backlight_dev->props.max_brightness + 1; in lcd_proc_write()
1774 if (dev->backlight_dev) in create_toshiba_proc_entries()
1792 if (dev->backlight_dev) in remove_toshiba_proc_entries()
2992 dev->backlight_dev = backlight_device_register("toshiba", in toshiba_acpi_setup_backlight()
2997 if (IS_ERR(dev->backlight_dev)) { in toshiba_acpi_setup_backlight()
2998 ret = PTR_ERR(dev->backlight_dev); in toshiba_acpi_setup_backlight()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c854 if (dm->backlight_dev[0]) in amdgpu_acpi_init()
855 atif->bd = dm->backlight_dev[0]; in amdgpu_acpi_init()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.h466 struct backlight_device *backlight_dev[AMDGPU_DM_MAX_NUM_EDP]; member
Damdgpu_dm.c4173 if (bd == dm->backlight_dev[i]) in amdgpu_dm_backlight_update_status()
4215 if (bd == dm->backlight_dev[i]) in amdgpu_dm_backlight_get_brightness()
4252 dm->backlight_dev[dm->num_of_edps] = backlight_device_register(bl_name, in amdgpu_dm_register_backlight_device()
4258 if (IS_ERR(dm->backlight_dev[dm->num_of_edps])) in amdgpu_dm_register_backlight_device()
4315 if (!dm->backlight_dev[dm->num_of_edps]) in register_backlight_device()
4318 if (dm->backlight_dev[dm->num_of_edps]) { in register_backlight_device()
6236 if ((link == dm->backlight_link[i]) && dm->backlight_dev[i]) { in amdgpu_dm_connector_destroy()
6237 backlight_device_unregister(dm->backlight_dev[i]); in amdgpu_dm_connector_destroy()
6238 dm->backlight_dev[i] = NULL; in amdgpu_dm_connector_destroy()
8744 if (dm->backlight_dev[i] && in amdgpu_dm_atomic_commit_tail()