Lines Matching refs:buttons
44 * @bs_idev: The input device for non-matrix buttons and switches (or NULL).
216 * cros_ec_keyb_report_bs - Report non-matrixed buttons or switches
218 * This takes a bitmap of buttons or switches from the EC and reports events,
223 * @mask: A bitmap of buttons from the EC.
289 &ckdev->ec->event_data.data.buttons);
397 * kernel. Note that we don't query for buttons because they are more
442 * cros_ec_keyb_register_bs - Register non-matrix buttons/switches
444 * Handles all the bits of the keyboard driver related to non-matrix buttons
448 * If this device has no support for buttons and switches we'll return no error
465 u32 buttons;
472 sizeof(event_data.buttons));
475 buttons = get_unaligned_le32(&event_data.buttons);
484 if (!buttons && !switches)
488 * We call the non-matrix buttons/switches 'input1', if present.
515 if ((map->ev_type == EV_KEY && (buttons & BIT(map->bit))) ||