summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2020-02-24 04:10:54 (GMT)
committerHyotaek Shim <hyotaek.shim@samsung.com>2020-02-25 02:11:35 (GMT)
commit8e69d4788634bd1a0fe1e6f873217ed6627eda0d (patch)
tree6b03812b3b25b639058bd1be4378ae36150d84e3
parent22e1dd090a493b1a2f9f3ef4d95efd786428c55f (diff)
downloadlibdevice-node-8e69d4788634bd1a0fe1e6f873217ed6627eda0d.zip
libdevice-node-8e69d4788634bd1a0fe1e6f873217ed6627eda0d.tar.gz
libdevice-node-8e69d4788634bd1a0fe1e6f873217ed6627eda0d.tar.bz2
Change-Id: I6eb441abc0ea10e96d14bb3b4d7f114e0689efe3 Signed-off-by: Youngjae Cho <y0.cho@samsung.com> (cherry picked from commit f66ad5ff8275412eab4c0bc4279764033ee81ad8)
-rw-r--r--hw/bezel.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/bezel.h b/hw/bezel.h
index a908702..93a2ba6 100644
--- a/hw/bezel.h
+++ b/hw/bezel.h
@@ -37,9 +37,16 @@ enum bezel_state {
struct bezel_device {
struct hw_common common;
- /* Control display state */
+ /* Control hardware bezel or software bezel.
+ * They are mutually exclusive. If a pair of get/set function exists,
+ * the other pair must not. */
+
+ /* Control hardware bezel state */
int (*get_state)(enum bezel_state *state);
int (*set_state)(enum bezel_state state);
+ /* Control software bezel state */
+ int (*get_sw_state)(enum bezel_state *state);
+ int (*set_sw_state)(enum bezel_state state);
};
#endif