Lines Matching full:buttons
45 * @bs_idev: The input device for non-matrix buttons and switches (or NULL).
87 /* Buttons */
218 * cros_ec_keyb_report_bs - Report non-matrixed buttons or switches
220 * This takes a bitmap of buttons or switches from the EC and reports events,
225 * @mask: A bitmap of buttons from the EC.
291 &ckdev->ec->event_data.data.buttons); in cros_ec_keyb_work()
399 * kernel. Note that we don't query for buttons because they are more
444 * cros_ec_keyb_register_bs - Register non-matrix buttons/switches
446 * Handles all the bits of the keyboard driver related to non-matrix buttons
450 * If this device has no support for buttons and switches we'll return no error
467 u32 buttons; in cros_ec_keyb_register_bs() local
474 sizeof(event_data.buttons)); in cros_ec_keyb_register_bs()
477 buttons = get_unaligned_le32(&event_data.buttons); in cros_ec_keyb_register_bs()
486 if (!buttons && !switches) in cros_ec_keyb_register_bs()
490 * We call the non-matrix buttons/switches 'input1', if present. in cros_ec_keyb_register_bs()
517 if ((map->ev_type == EV_KEY && (buttons & BIT(map->bit))) || in cros_ec_keyb_register_bs()