Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/platform/x86/
Dthinkpad_acpi.c9853 static struct drm_privacy_screen *lcdshadow_dev; variable
9903 lcdshadow_dev = drm_privacy_screen_register(&tpacpi_pdev->dev, in tpacpi_lcdshadow_init()
9905 if (IS_ERR(lcdshadow_dev)) in tpacpi_lcdshadow_init()
9906 return PTR_ERR(lcdshadow_dev); in tpacpi_lcdshadow_init()
9913 drm_privacy_screen_unregister(lcdshadow_dev); in lcdshadow_exit()
9918 if (!lcdshadow_dev) in lcdshadow_resume()
9921 mutex_lock(&lcdshadow_dev->lock); in lcdshadow_resume()
9922 lcdshadow_set_sw_state(lcdshadow_dev, lcdshadow_dev->sw_state); in lcdshadow_resume()
9923 mutex_unlock(&lcdshadow_dev->lock); in lcdshadow_resume()
9928 if (!lcdshadow_dev) { in lcdshadow_read()
[all …]