Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.h458 struct backlight_device *backlight_dev[AMDGPU_DM_MAX_NUM_EDP]; member
Damdgpu_dm.c4022 if (bd == dm->backlight_dev[i]) in amdgpu_dm_backlight_update_status()
4064 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()
4164 if (!dm->backlight_dev[dm->num_of_edps]) in register_backlight_device()
4167 if (dm->backlight_dev[dm->num_of_edps]) { in register_backlight_device()
6029 if ((link == dm->backlight_link[i]) && dm->backlight_dev[i]) { in amdgpu_dm_connector_destroy()
6030 backlight_device_unregister(dm->backlight_dev[i]); in amdgpu_dm_connector_destroy()
6031 dm->backlight_dev[i] = NULL; in amdgpu_dm_connector_destroy()
8387 if (dm->backlight_dev[i] && in amdgpu_dm_atomic_commit_tail()
/linux-6.1.9/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()