Lines Matching refs:switches
48 * SYSFS interface for enabling/disabling keys and switches:
53 * switches [ro] - bitmap of switches (EV_SW) which can be
56 * disabled_switches [rw] - bitmap of switches currently disabled
62 * For example, if we have following switches set up as gpio-keys:
67 * This is read from switches:
262 ATTR_SHOW_FN(switches, EV_SW, false);
270 * /sys/devices/platform/gpio-keys/switches [ro]
273 static DEVICE_ATTR(switches, S_IRUGO, gpio_keys_show_switches, NULL);
506 dev_err(dev, "Unable to export keys/switches, error: %d\n",