From: Youngjae Cho Date: Mon, 24 Feb 2020 04:10:54 +0000 (+0900) Subject: Add software bezel control X-Git-Tag: submit/tizen_5.5/20200226.105102^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e69d4788634bd1a0fe1e6f873217ed6627eda0d;p=platform%2Fcore%2Fsystem%2Flibdevice-node.git Add software bezel control Change-Id: I6eb441abc0ea10e96d14bb3b4d7f114e0689efe3 Signed-off-by: Youngjae Cho (cherry picked from commit f66ad5ff8275412eab4c0bc4279764033ee81ad8) --- 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