Quellcode-Bibliothek chromeos_privacy_screen.c
Sprache: C
// SPDX-License-Identifier: GPL-2.0
/* * ChromeOS Privacy Screen support * * Copyright (C) 2022 Google LLC * * This is the Chromeos privacy screen provider, present on certain chromebooks, * represented by a GOOG0010 device in the ACPI. This ACPI device, if present, * will cause the i915 drm driver to probe defer until this driver registers * the privacy-screen.
*/
/* * The DSM (Device Specific Method) constants below are the agreed API with * the firmware team, on how to control privacy screen using ACPI methods.
*/ #define PRIV_SCRN_DSM_REVID 1 /* DSM version */ #define PRIV_SCRN_DSM_FN_GET_STATUS 1 /* Get privacy screen status */ #define PRIV_SCRN_DSM_FN_ENABLE 2 /* Enable privacy screen */ #define PRIV_SCRN_DSM_FN_DISABLE 3 /* Disable privacy screen */
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.11Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.