Searched refs:KE_SW (Results 1 - 6 of 6) sorted by relevance

/linux-master/include/linux/input/
H A Dsparse-keymap.h11 #define KE_SW 2 /* Switch (predetermined value) */ macro
18 * @type: Type of the key entry (KE_KEY, KE_SW, KE_VSW, KE_END);
23 * @sw: struct with code/value used by KE_SW and KE_VSW
25 * @sw.value: Value that should be sent in an input even when KE_SW
38 struct { /* For KE_SW, KE_VSW */
40 u8 value; /* For KE_SW, ignored by KE_VSW */
/linux-master/drivers/platform/x86/
H A Dlenovo-ymc.c82 { KE_SW, 0x01, { .sw = { SW_TABLET_MODE, 0 } } },
84 { KE_SW, 0x02, { .sw = { SW_TABLET_MODE, 1 } } },
86 { KE_SW, 0x03, { .sw = { SW_TABLET_MODE, 1 } } },
88 { KE_SW, 0x04, { .sw = { SW_TABLET_MODE, 1 } } },
/linux-master/drivers/input/
H A Dsparse-keymap.c199 case KE_SW:
226 * @value: Value that should be reported (ignored by %KE_SW entries)
248 case KE_SW:
264 * @value: Value that should be reported (ignored by %KE_SW entries)
/linux-master/drivers/platform/x86/intel/
H A Dvbtn.c62 { KE_SW, 0xCC, { .sw = { SW_TABLET_MODE, 1 } } }, /* Tablet */
63 { KE_SW, 0xCD, { .sw = { SW_TABLET_MODE, 0 } } }, /* Laptop */
/linux-master/drivers/platform/loongarch/
H A Dloongson-laptop.c231 ke.type = KE_SW;
479 if (type == KE_SW) {
/linux-master/drivers/input/misc/
H A Dwistron_btns.c388 { KE_SW, 0x4a, {.sw = {SW_LID, 1}} }, /* lid close */
389 { KE_SW, 0x4b, {.sw = {SW_LID, 0}} }, /* lid open */
589 { KE_SW, 0x4a, {.sw = {SW_LID, 1}} }, /* lid close */
590 { KE_SW, 0x4b, {.sw = {SW_LID, 0}} }, /* lid open */

Completed in 265 milliseconds