Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hid/
H A Dhid-gt683r.c82 u8 sysfs_mode; in mode_show() local
87 sysfs_mode = 0; in mode_show()
89 sysfs_mode = 1; in mode_show()
91 sysfs_mode = 2; in mode_show()
93 return scnprintf(buf, PAGE_SIZE, "%u\n", sysfs_mode); in mode_show()
100 u8 sysfs_mode; in mode_store() local
105 if (kstrtou8(buf, 10, &sysfs_mode) || sysfs_mode > 2) in mode_store()
110 if (sysfs_mode == 0) in mode_store()
112 else if (sysfs_mode == 1) in mode_store()